Operations needs to retain Cloud VPN log events for one year. How to configure logging to save those logs?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a Cloud Logging filter and export the matching logs to a Cloud Storage bucket..
Why this is the answer
To retain Cloud VPN log events for one year, you should create a Cloud Logging filter to isolate the relevant logs and then export them to a Cloud Storage bucket. Cloud Storage is a cost-effective, durable, and scalable solution for long-term data archival, making it ideal for meeting retention requirements. Enabling the Compute Engine API and logging on firewall rules is incorrect because Cloud VPN logs are distinct from firewall logs and are managed by Cloud Logging, not directly by Compute Engine firewall rules. Creating a Cloud Logging dashboard only visualizes logs; it does not store them for long-term retention. Exporting to a Pub/Sub topic is incorrect because Pub/Sub is a messaging service for real-time data ingestion and processing, not a long-term storage solution for log retention.
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