Skip to main content

Professional Cloud Architect practice question · Ensuring solution and operations excellence

A batch worker on Compute Engine writes a custom heartbeat metric to Cloud Monitoring every minute.

A batch worker on Compute Engine writes a custom heartbeat metric to Cloud Monitoring every minute. Last week the process hung without crashing or logging any errors, and nobody noticed for hours. Which alerting policy condition would most directly notify the team the next time this happens?

  • AA metric-absence condition on the heartbeat metric with a duration of a few minutes
  • BA forecasted metric-value condition that predicts when the heartbeat will cross a threshold
  • CA log-based alerting policy that matches ERROR entries written by the worker process
  • DA metric-threshold condition that fires when the heartbeat value exceeds its normal maximum
Show the answer and explanation

Correct answer: A) A metric-absence condition on the heartbeat metric with a duration of a few minutes

To catch a silent stop, alert on missing data. A Cloud Monitoring metric-absence condition fires when a time series stops reporting for the configured duration. Threshold, forecast and error-log alerts all depend on data or log entries that a hung process never produces.

Why each option is right or wrong

  • A) Correct. A metric-absence condition is met when a monitored time series has no data for the configured duration. That is exactly what happens when the heartbeat stops arriving.
  • B) Incorrect. Forecast conditions use incoming data to predict a future threshold crossing. They do not detect a series that has stopped reporting.
  • C) Incorrect. The process hung without logging errors, so a log-based alert on error entries would never match anything.
  • D) Incorrect. A threshold condition that checks for high values needs data points to compare. A stopped heartbeat sends no points, so the condition is never met.
Exam domain
Ensuring solution and operations excellence · ~12.5% 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.