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?
Choose an answer
Tap an option to check your answer.
Correct answer: Set up a filter in Cloud Logging and a Cloud Storage bucket as an export target for the logs you want to save..
Why this is the answer
To save Cloud VPN log events for one year, you should set up a filter in Cloud Logging and configure a Cloud Storage bucket as an export target. Cloud Logging allows you to define specific log entries to export using filters. Cloud Storage is a durable and cost-effective solution for long-term storage of large volumes of data, making it ideal for archiving logs for a year or more. Enabling the Compute Engine API and logging on firewall rules is incorrect because Cloud VPN logs are distinct from firewall logs and are managed directly within Cloud Logging. Setting up a Cloud Logging Dashboard with a chart is for monitoring and visualization, not for long-term storage of raw log data. Using Pub/Sub publishes logs for real-time processing, but it does not store them for a year; Pub/Sub messages have a limited retention period.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed