PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #78
Your company operates in a highly regulated domain that requires you to store all organization logs for seven years. You want to minimize logging infrastructure complexity by using managed services…
The correct answer is B. Use Cloud Logging to configure an aggregated sink at the organization level to export all logs into. To centrally store all organization logs for seven years using managed services and avoid loss, configure an aggregated Cloud Logging sink at the organization level to export logs to a Cloud Logging logs bucket with a 7-year retention policy.
Question
Options
- AUse Cloud Logging to configure an aggregated sink at the organization level to export all logs into
- BUse Cloud Logging to configure an aggregated sink at the organization level to export all logs into
- CUse Cloud Logging to configure an export sink at each project level to export all logs into a
- DUse Cloud Logging to configure an export sink at each project level to export all logs into Cloud
How the community answered
(33 responses)- A3% (1)
- B82% (27)
- C9% (3)
- D6% (2)
Why each option
To centrally store all organization logs for seven years using managed services and avoid loss, configure an aggregated Cloud Logging sink at the organization level to export logs to a Cloud Logging logs bucket with a 7-year retention policy.
While Cloud Storage can store logs, a dedicated Cloud Logging logs bucket provides more integrated management, immutability, and compliance features specifically for logs, which aligns better with minimizing complexity and preventing loss for regulated environments.
Configuring an aggregated sink at the organization level ensures all logs from across the organization are captured centrally. Exporting these logs to a Cloud Logging logs bucket with a 7-year retention policy leverages a managed service specifically designed for log storage, offering built-in immutability and guaranteed retention to prevent loss due to misconfiguration or human error.
Configuring export sinks at *each project level* would significantly increase infrastructure complexity and the risk of misconfiguration or human error, failing to meet the requirement for minimizing complexity and preventing log loss.
Configuring export sinks at *each project level* would significantly increase infrastructure complexity and the risk of misconfiguration or human error, failing to meet the requirement for minimizing complexity and preventing log loss.
Concept tested: Cloud Logging aggregated sinks and logs buckets for compliance
Source: https://cloud.google.com/logging/docs/export/configure_export_sinks#aggregate-sinks
Topics
Community Discussion
No community discussion yet for this question.