Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: A team wants proactive alerting if their public…

A team wants proactive alerting if their public HTTPS endpoint returns a non-2xx HTTP status code or becomes unreachable — before users report it. Which Cloud Monitoring capability provides this?

⚠ Common exam trap

Google Cloud often tests the distinction between proactive monitoring (uptime checks) and reactive logging (log-based alerts), trapping candidates who assume that log entries for 5xx errors are sufficient for early detection, when in fact they require the error to already occur and be logged.

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

An uptime check with an HTTP status code condition

An uptime check with an HTTP status code condition is the correct choice because Cloud Monitoring’s uptime checks are specifically designed to proactively verify that a public HTTPS endpoint is reachable and returns a successful HTTP status (e.g., 2xx). When the check detects a non-2xx status or a timeout/unreachable condition, it can trigger an alert before users are impacted. This is the only option that directly monitors endpoint availability and HTTP response codes from an external perspective.

Answer analysis

Option-by-option breakdown

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

  • A log-based alert on 5xx error log entries

    Why it's wrong here

    A log-based alert on 5xx error entries depends on the application writing such entries to Cloud Logging when a request fails. If the service is entirely down, requests are not processed, so no new 5xx log entries are generated; the alert's condition (e.g., count over a rolling window) stays below its threshold and never triggers. Error logs may also be suppressed, sampled, or not emitted for infrastructure-level failures, meaning this approach cannot proactively verify the endpoint is reachable and healthy from outside the network.

  • An uptime check with an HTTP status code condition

    Why this is correct

    An uptime check is a Cloud Monitoring feature that actively sends synthetic HTTP(S) requests to the endpoint from multiple global vantage points on a fixed interval. By configuring a condition that requires an HTTP status code within the 2xx/3xx range, the check immediately flags any non-2xx/3xx response or timeout as an availability violation. Because the probe generates its own traffic regardless of organic user load, it can detect full outages during zero-traffic periods, precisely matching the need to catch service blackouts.

  • A Cloud Armor rule blocking 5xx responses

    Why it's wrong here

    Cloud Armor is a Web Application Firewall (WAF) and DDoS protection service that inspects incoming requests against pre-configured security policies such as IP lists, geo-location, or OWASP rules. It cannot inspect or act on HTTP response codes emitted by the backend, because it sits at the edge and only decides whether a request should reach the application. Blocking a 5xx response is conceptually impossible: the 5xx is generated by the origin after Cloud Armor has already allowed the request, so this option cannot monitor or alert on application availability.

  • A metric alert on instance CPU exceeding 90%

    Why it's wrong here

    A CPU utilization metric alert watches a system-level resource signal, not the application's ability to serve requests successfully. A service can return HTTP 500 errors due to code defects, database connection failures, or invalid input while the instance CPU usage remains low, and conversely, high CPU might only indicate legitimate heavy load without causing errors. Furthermore, during a complete endpoint outage with no incoming traffic, CPU may normalize to near zero, so the alert would never fire—making it blind to the exact availability failure signal this question targets.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.