Skip to main content

Associate Cloud Engineer practice question · Ensuring the successful operation of a cloud solution

Users report that one API call in a microservices application is slow. The request passes through a frontend, two…

Users report that one API call in a microservices application is slow. The request passes through a frontend, two backend services and a database. An engineer needs to see how much time the request spent in each service along its path so they can find the bottleneck. Which Google Cloud service should they use?

  • ACloud Trace, to inspect the spans recorded for the request across services
  • BCloud Profiler, to inspect CPU and heap usage of each service's code
  • CCloud Monitoring uptime checks, to measure each service's response time
  • DError Reporting, to inspect grouped exceptions raised by each service
Show the answer and explanation

Correct answer: A) Cloud Trace, to inspect the spans recorded for the request across services

Cloud Trace links spans across services into one distributed trace, so you can see where a request's latency builds up. Profiler covers resource use inside code, uptime checks probe availability, and Error Reporting covers exceptions.

Why each option is right or wrong

  • A) Correct. Cloud Trace is a distributed tracing system. A trace records a request end to end, and each span inside it records one operation or RPC with its own timing. That shows which service or downstream dependency caused the delay.
  • B) Incorrect. Cloud Profiler samples CPU and memory use by function inside a running service over time. It doesn't follow a single request from one service to the next or break down latency hop by hop.
  • C) Incorrect. Uptime checks send synthetic probes to endpoints to confirm availability and measure overall response time. They can't show how one real user request's latency is split across internal services.
  • D) Incorrect. Error Reporting groups application errors and exceptions. A slow request that raises no error wouldn't show up there, and the service doesn't measure time spent per service.
Exam domain
Ensuring the successful operation of a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer 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.