Question 226 of 500
Ensuring successful operation of a cloud solutionmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to create a log-based metric on Cloud Run error logs, then build an alerting policy on that metric with a PagerDuty notification channel. This is correct because a log-based metric converts unstructured log entries—specifically those containing HTTP 5xx status codes—into a numeric counter that Cloud Monitoring can evaluate over a sliding 5-minute window. When the count exceeds 10, the alerting policy triggers the configured PagerDuty notification channel, providing a native, serverless solution without needing extra infrastructure. On the Google Associate Cloud Engineer exam, this scenario tests your understanding of how to bridge logging and monitoring: you must know that log-based metrics are the bridge between raw logs and numeric alert conditions, and that notification channels like PagerDuty are configured separately within the alerting policy. A common trap is trying to alert directly on logs or using a logs-based alert without first creating a metric. Memory tip: “Logs to metric, metric to alert, alert to PagerDuty—three steps, no servers.”

Google ACE Practice Question: Ensuring successful operation of a cloud solution

This ACE practice question tests your understanding of ensuring successful operation of a cloud solution. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You need to monitor a Cloud Run service for errors and receive a PagerDuty notification when the number of 5xx errors exceeds 10 in any 5-minute window. Which Cloud Monitoring feature should you use?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create a log-based metric on Cloud Run error logs, then create an alerting policy on that metric with a PagerDuty notification channel.

A log-based metric extracts a numeric counter from Cloud Run error logs (e.g., HTTP 5xx status codes). An alerting policy can then evaluate that metric over a sliding 5-minute window, triggering a PagerDuty notification via a configured notification channel when the count exceeds 10. This is the native, serverless approach that requires no additional infrastructure.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a log-based metric on Cloud Run error logs, then create an alerting policy on that metric with a PagerDuty notification channel.

    Why this is correct

    Log-based metrics extract the error count from Cloud Run's request logs. An alerting policy monitors the metric and fires when the threshold is exceeded, notifying PagerDuty via a configured notification channel.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Configure Cloud Run to send error emails directly to the PagerDuty email integration.

    Why it's wrong here

    Cloud Run doesn't have a native email alerting feature. Error notifications require Cloud Monitoring alerting policies.

  • Use Cloud Pub/Sub to stream Cloud Run logs to a custom application that pages PagerDuty.

    Why it's wrong here

    This is overly complex. Cloud Monitoring natively integrates with PagerDuty — no custom application is needed.

  • Enable Cloud Run's built-in alerting feature in the service configuration.

    Why it's wrong here

    Cloud Run does not have a built-in alerting feature in its service configuration. Alerting is handled through Cloud Monitoring.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that Cloud Run has built-in alerting or that direct email integration is sufficient, when in fact Cloud Monitoring's log-based metrics and alerting policies are the required mechanism for threshold-based paging.

Detailed technical explanation

How to think about this question

Log-based metrics are defined using a filter that matches log entries (e.g., httpRequest.status >= 500) and can be of type 'counter' to count occurrences. The alerting policy uses a rolling window of 5 minutes with a threshold condition; the evaluation period must align with the metric's alignment period to avoid double-counting. In practice, you must also ensure the PagerDuty notification channel is correctly set up with the integration key from PagerDuty.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related ACE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free ACE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this ACE question test?

Ensuring successful operation of a cloud solution — This question tests Ensuring successful operation of a cloud solution — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a log-based metric on Cloud Run error logs, then create an alerting policy on that metric with a PagerDuty notification channel. — A log-based metric extracts a numeric counter from Cloud Run error logs (e.g., HTTP 5xx status codes). An alerting policy can then evaluate that metric over a sliding 5-minute window, triggering a PagerDuty notification via a configured notification channel when the count exceeds 10. This is the native, serverless approach that requires no additional infrastructure.

What should I do if I get this ACE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.