Google Cloud Professional Cloud Architect — Question 168

The operations team in your company wants to save Cloud VPN log events for one year. You need to configure the cloud infrastructure to save the logs. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because setting up a filter in Cloud Logging and directing the logs to a Cloud Storage bucket allows for long-term retention of the logs for a specified duration, such as one year. Option B only addresses firewall logging, which does not cover the entirety of Cloud VPN logs. Option C focuses on visualizing metrics rather than saving logs, and option D does not provide a long-term storage solution since Pub/Sub is for real-time messaging rather than log retention.