Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
An enterprise e-commerce platform processes terabytes of raw clickstream events daily. The architecture ingests data into Cloud Storage and loads it into BigQuery for analytical processing. The FinOps team identifies escalating storage and compute expenses and establishes the following requirements:
Which combination of actions should the DevOps engineer implement to meet these architectural and financial goals?
Execute daily Storage Batch Operations jobs using custom CSV manifests to transition object classes; shard the BigQuery tables daily using date suffix table names (events_YYYYMMDD); apply LIMIT clauses on all analytical queries running in on-demand mode.
Configure Cloud Storage Object Lifecycle Management to delete objects after 30 days; recreate BigQuery tables as non-partitioned tables using physical storage billing; enable on-demand custom daily project-level query quotas to enforce compute limits.
Use a Cloud Composer DAG with MySqlToGoogleCloudStorageOperator to back up tables; partition BigQuery tables by integer range on user_id; transition data computation from BigQuery to a persistent Dataproc cluster running 24/7.
Configure Object Lifecycle Management rules on the Cloud Storage bucket to transition objects to Nearline storage after 30 days and to Archive storage after 90 days; partition the BigQuery table by DATE(event_timestamp) and cluster by user_id and event_type; create an autoscaling slot reservation under BigQuery editions capacity-based billing with an assigned slot cap.
Execute daily Storage Batch Operations jobs using custom CSV manifests to transition object classes; shard the BigQuery tables daily using date suffix table names (events_YYYYMMDD); apply LIMIT clauses on all analytical queries running in on-demand mode.
Configure Cloud Storage Object Lifecycle Management to delete objects after 30 days; recreate BigQuery tables as non-partitioned tables using physical storage billing; enable on-demand custom daily project-level query quotas to enforce compute limits.
Use a Cloud Composer DAG with MySqlToGoogleCloudStorageOperator to back up tables; partition BigQuery tables by integer range on user_id; transition data computation from BigQuery to a persistent Dataproc cluster running 24/7.
Configure Object Lifecycle Management rules on the Cloud Storage bucket to transition objects to Nearline storage after 30 days and to Archive storage after 90 days; partition the BigQuery table by DATE(event_timestamp) and cluster by user_id and event_type; create an autoscaling slot reservation under BigQuery editions capacity-based billing with an assigned slot cap.
This solution implements an integrated FinOps data optimization strategy that automates storage lifecycle transitions in Cloud Storage, reduces query data scanning via BigQuery partitioning and clustering, and enforces predictable compute spending using BigQuery capacity-based slot reservations.
DATE(event_timestamp) enables partition pruning, eliminating scans on dates outside query filter clauses. Clustering on user_id and event_type co-locates related data within partitions, further reducing the byte blocks read during analytical queries.This architecture directly aligns infrastructure utilization with data access patterns. It avoids manual batch operations or complex sharding anti-patterns while maximizing cost efficiency across the complete data lifecycle.