Courseiva
easyMultiple ChoiceObjective-mapped

Google ACE Practice Question: A Cloud Run service handles payment processing

A Cloud Run service handles payment processing. A monitoring alert shows the service is experiencing 3-second P99 latency, up from its normal 200ms. The team wants to find the slowest individual requests in the last hour. Which tool provides per-request latency data?

⚠ Common exam trap

Google Cloud often tests the distinction between aggregated metrics (Cloud Monitoring) and per-request tracing (Cloud Trace), trapping candidates who assume a metric distribution can identify individual slow requests.

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

Cloud Trace — sort traces by latency in the last hour

Cloud Trace is designed to capture end-to-end latency for individual requests, allowing you to sort and identify the slowest requests in a specific time range. The P99 latency increase indicates a tail-latency problem, and Trace provides per-request granularity to pinpoint the exact slow requests. This makes it the correct tool for finding the slowest individual requests in the last hour.

Answer analysis

Option-by-option breakdown

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

  • Cloud Monitoring — check the request_latencies metric distribution

    Why it's wrong here

    Cloud Monitoring aggregates latency data into a time-series metric called 'request_latencies', which is typically a distribution bucketed by value and can be visualized as percentiles such as p50, p95, and p99. While this is excellent for observing overall latency trends and alerting on SLO breaches, it does not expose individual request IDs, timestamps, or the ability to drill down into a specific slow request's execution path. The metric is a summary, not a detailed log or trace, so it cannot tell you which particular request was slowest or identify the root-cause span within that request.

  • Cloud Trace — sort traces by latency in the last hour

    Why this is correct

    Cloud Trace is the correct choice because it is a distributed tracing system that records each incoming request as a trace, composed of individual spans for every operation within that request. The Trace list view allows you to filter by a specific time range, such as the last hour, and directly sort traces by total latency. This surface immediately surfaces the slowest end-to-end requests, and you can click into a trace to see a detailed waterfall breakdown of where time is spent in the request path.

  • Cloud Logging — filter for requests with duration > 3s

    Why it's wrong here

    Cloud Logging can capture request logs that may include a 'duration' or 'latency' field, but the presence and format of that field vary widely depending on the application framework, log format, and whether structured logging is used. Filtering on duration is possible but brittle and requires knowing the exact field name and data type, and log entries do not inherently link to a system-level trace or provide a hierarchical span view of the request's internal stages. Cloud Logging is designed for exploring log data, not for dedicated latency triage, so while you might find slow requests, it lacks the purpose-built latency analysis features of Cloud Trace.

  • Cloud Profiler — view the slowest functions in the last hour

    Why it's wrong here

    Cloud Profiler is a statistical profiler that samples the CPU and heap usage of your application's functions, methods, and threads over time, showing where compute resources are being consumed. It does not capture the end-to-end latency of individual HTTP requests, nor does it associate profiling data with a specific request ID or a trace ID. Even if a function is slow, Profiler only shows that the function consumes CPU time; it cannot distinguish whether that slowness is due to I/O waits, network latency, or database queries, and it lacks the per-request timing breakdown that Cloud Trace provides.

About these practice questions

Courseiva writes every ACE question from scratch — 769 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.