Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud DevOps Engineer practice bank has 1,455 more like it. Try 10 free: instant score, no account.
An enterprise runs microservices on Google Kubernetes Engine (GKE) and utilizes Cloud Bigtable for real-time transactions. The environment generates 25 TB of application logs and a large volume of Data Access audit logs each month.
The DevOps team must meet the following observability and budget requirements:
Which strategy should the DevOps team implement to achieve these goals?
This approach exports logs into a Cloud Storage bucket managed by Autoclass lifecycle tiering and uses a custom Cloud Run batch job to load files into BigQuery for analytics.
LogEntry schemas), and potential duplicate entries.Logs were intended strictly for cold archival and disaster recovery with only occasional on-demand historical auditing of archived years.
This architecture uses a standard Log Router sink to route incoming logs to a native BigQuery dataset while applying a sink exclusion filter to filter out service account logs. The BigQuery tables handle 90-day data lifecycles via partition expiration.
_Default bucket (for 30 days) and a second copy in BigQuery table storage (for 90 days), incurring two sets of ingestion and storage costs.The organization did not have Log Analytics enabled and required physical ownership of partitioned BigQuery tables for extensive DML updates or custom clustering not supported by log views.
This option attempts to configure field-level access control on the Cloud Logging bucket to restrict sensitive fields before setting custom retention and enabling a Log Analytics linked dataset.
The team only required querying through standard Logs Explorer and Logs Views while needing granular field redaction (such as masking email addresses or tokens) without requiring BigQuery SQL joins.
This solution combines audit configuration exemptions, custom log bucket retention, and Log Analytics linked datasets to establish a cost-optimized, queryable log lifecycle.
DATA_READ and DATA_WRITE logs from being generated at the source, preventing unnecessary data transfer and ingestion fees.LogEntry records with relational tables in BigQuery.Alternative approaches that rely on export sinks duplicate log records into both Cloud Logging buckets and BigQuery storage tables, doubling ingestion and storage expenses. Leveraging Log Analytics linked datasets provides full BigQuery analytical capabilities on a single copy of log data.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated