Maintaining and automating workloads
Practise only this domain. 101 questions with explanations, 20 at a time.
Start this domainSample questions
- A streaming pipeline stopped processing at 2 a.m. The on-call engineer must find the error messages written by the workers and also check the throughput and backlog graphs for the same time window. Which pair of services is most appropriate?Easy
- A ride-hailing company publishes trip events to a Pub/Sub topic consumed by a pool of workers. Operators want a Cloud Monitoring signal showing how many messages are still waiting to be acknowledged on the subscription, so they can detect consumers falling behind. Which metric is appropriate?Medium
- A regulated insurer requires that every BigQuery dataset in its organization be encrypted with keys its security team controls. The control must block creation of BigQuery datasets that use Google-managed keys in any project. Which mechanism enforces this?Hard
- A team wants every push to the production branch of its Git repository to start a Cloud Build run that tests and deploys the pipeline code, with no manual step. Which trigger configuration should they use?Easy
- A payments pipeline must encrypt a customer dataset in Cloud Storage with keys the company controls, and it needs key rotation and an audit trail of key usage. Which service should hold the keys?Easy
- A data science group runs one Spark job roughly twice a week and must keep compute costs low. The cluster should consume Dataproc capacity only while the job runs. Which setup fits best?Easy
- A request enters an API front end, calls a serverless function, and that function runs a BigQuery query. A support engineer needs to see the time spent in each hop for one request. Which Google Cloud capability provides that view?Medium
- A reporting DAG must run only on working days, skipping weekends and a list of national holidays that the business maintains in a table. Which setup accomplishes this?Hard
- An Airflow DAG must hold until a nightly export lands in a Cloud Storage prefix. Several such waits run at the same time, and the team wants idle waits to stop occupying executor slots. What should the sensor setup use?Hard
- A nightly task pulls currency rates from a third-party service that sometimes returns server errors for a few minutes at a time. The team wants the task to recover from these brief outages without flooding the service. Which Airflow settings fit best?Easy
- A Dataflow streaming pipeline that builds session windows needs a code change to one parsing step. Operators want the new version to take over without discarding the in-progress windowed state. Which approach meets this?Medium
- A Dataflow streaming job calls an external enrichment API for every element. Worker CPU stays near 15 percent while the job falls further behind its input. Which change most directly addresses the cause?Hard
- A streaming service reads a database password for its connection pool. The platform team wants rotated passwords to take effect without a redeploy. Which approach best fits?Medium