Skip to main content

Professional Cloud Architect practice question · Analyzing and optimizing technical and business processes

Whenever a specific Cloud Monitoring alert fires, the on-call engineer runs the same three gcloud commands to fix the…

Whenever a specific Cloud Monitoring alert fires, the on-call engineer runs the same three gcloud commands to fix the problem. The team wants to eliminate this repetitive manual work while keeping a record of each fix. What should the architect recommend?

  • AAdd a Pub/Sub notification channel to the alerting policy that triggers a function to run the fix
  • BBuild a log-based metric and a dashboard so on-call engineers can spot the condition sooner
  • CPut the three commands in the alerting policy's documentation field so they appear in the alert
  • DCreate a Cloud Scheduler job that runs the three commands every five minutes regardless of state
Show the answer and explanation

Correct answer: A) Add a Pub/Sub notification channel to the alerting policy that triggers a function to run the fix

Sending the alert to a Pub/Sub channel that triggers a function or workflow turns a known runbook into automatic remediation, which reduces toil and keeps an audit trail.

Why each option is right or wrong

  • A) Correct. Pub/Sub notification channels are meant for automated, programmatic handling of alerts. A subscribed Cloud Run function (or a workflow) can run the commands every time the alert fires and log what it did.
  • B) Incorrect. Detecting the problem faster doesn't remove the manual fix. An engineer still has to run the commands.
  • C) Incorrect. This makes the runbook easier to find, but the fix is still manual toil.
  • D) Incorrect. Running the fix on a fixed schedule ignores whether the problem exists. It makes needless changes and isn't driven by the alert.
Exam domain
Analyzing and optimizing technical and business processes · ~15% of Professional Cloud Architect
Question type
Multiple choice (one answer)

Practise the full Professional Cloud Architect exam

This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.