GCP PCA · Question 42 · Technical Processes
Your company generates massive amounts of application logs across hundreds of Compute Engine VMs. The security team needs to retain all logs for 7 years for compliance. The operations team needs to query the last 30 days of logs in real-time to troubleshoot production issues. How should you configure Cloud Logging to meet BOTH requirements cost-effectively? (Select TWO)
Your company generates massive amounts of application logs across hundreds of Compute Engine VMs. The security team needs to retain all logs for 7 years for compliance. The operations team needs to query the last 30 days of logs in real-time to troubleshoot production issues. How should you configure Cloud Logging to meet BOTH requirements cost-effectively? (Select TWO)
Answer options:
Set the default Cloud Logging bucket retention period to 7 years.
Create a Log Sink to export all logs to a Cloud Storage bucket with an Archive storage class.
Create a Log Sink to export all logs to a BigQuery dataset.
Retain the default 30-day retention policy on the _Default Cloud Logging bucket.
Install a third-party SIEM agent on all VMs to bypass Cloud Logging entirely.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Professional Cloud Architect Practice Exam 7
50 questions · hints · full answers · grading
Expert