Medium1 markMultiple Choice
Subtask 4.1: Analyze and define technical processesObservabilityCloud TraceCloud ProfilerPerformance

GCP PCA · Question 48 · Analyze and define technical processes

A microservices application is experiencing high latency. The architecture consists of an API Gateway, an Authentication service, a Business Logic service, and a Database. You need to identify exactly which service is causing the bottleneck. Which TWO GCP observability tools should you use? (Select TWO)

Answer options:

A.

Cloud Trace.

B.

Cloud Profiler.

C.

Cloud Audit Logs.

D.

VPC Flow Logs.

E.

Cloud Error Reporting.

How to approach this question

Identify the tools used for distributed latency tracking and code-level performance analysis.

Full Answer

Cloud Trace., Cloud Profiler.
To debug latency in a distributed microservices architecture, you use Cloud Trace. It provides a waterfall graph showing the lifecycle of a request across all services, instantly highlighting which service is the bottleneck. Once the slow service is identified, you use Cloud Profiler to continuously analyze the performance of the code (CPU/RAM) within that service to find the exact function causing the delay.

Common mistakes

Selecting VPC Flow Logs, assuming network logs will show application-level processing delays.

Practice the full GCP Professional Cloud Architect Practice Exam 1

50 questions · hints · full answers · grading

More questions from this exam