Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your team manages a multi-tier microservices application running on Google Cloud that is experiencing intermittent latency spikes during high-traffic periods. Distributed tracing is configured across all services, and structured application logs are enriched with standard Google Cloud trace correlation fields.
You need to locate specific slow transactions, inspect the correlated logs for each individual trace span, and perform a historical trend analysis over the past 30 days of log data to identify the downstream database operations causing the degradation.
Which combination of observability tools and query workflows should you implement?
This workflow integrates Cloud Trace, Cloud Logging, and BigQuery / Log Analytics into a unified diagnostic pipeline. In Google Cloud, distributed trace spans correlate directly with structured application logs when log entries populate the root trace and spanId fields conforming to the canonical resource name format projects/[PROJECT_ID]/traces/[TRACE_ID].
trace="projects/[PROJECT_ID]/traces/[TRACE_ID]" in the Logs Explorer retrieves all correlated structured log entries across all microservices involved in that specific distributed request._AllLogs view in Log Analytics, DevOps engineers can run GoogleSQL queries against historical payload structures (such as protoPayload or jsonPayload) and metadata labels over a 30-day window to aggregate latency and isolate systemic downstream database bottlenecks.LogEntry specification for high-performance indexed queries.Using native trace indexing in Cloud Logging combined with SQL analytics in BigQuery avoids operational overhead, ensures millisecond-level log filtering by trace ID, and allows arbitrary historical aggregations that standard metrics dashboards cannot perform.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.