Questions: Observability, Tracing, and Debugging in Distributed Systems

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A distributed order system spans 5 services. A customer reports their order was slow. Each service has detailed structured logs. What critical problem do the logs present without distributed tracing?

AEach service logs in a different format that cannot be parsed by a single tool
BThe logs are scattered across 5 services with no way to identify which log entries from each service belong to this specific customer's request
CLogs do not record timing information, so slowdowns cannot be detected
DThe sheer volume of logs from 5 services is too large to query efficiently
Question 2 Multiple Choice

Why do most production distributed tracing systems sample only a small fraction of requests (e.g., 1%) rather than tracing every request?

AThe tracing protocol is inherently too slow to process every request at production throughput
BTrace IDs must be globally unique, and generating unique IDs at 100% rate causes collisions
CInstrumentation overhead (injecting headers, creating spans, transmitting data) and storage costs at full volume would significantly degrade system performance and economics
DThe happened-before relation only applies meaningfully to a sampled subset of requests
Question 3 True / False

A fully reconstructed distributed trace encodes a partial ordering of events across services that corresponds to the happened-before relation: span A called service B, which completed before A continued.

TTrue
FFalse
Question 4 True / False

If nearly every service in a distributed system writes detailed, timestamped structured logs, those logs alone are sufficient to reconstruct the causal sequence of events for any specific user request.

TTrue
FFalse
Question 5 Short Answer

Explain why a trace ID must be actively propagated through every downstream service call, and what breaks in the trace if even one service in the chain fails to pass it along.

Think about your answer, then reveal below.