Bird
0
0

In distributed tracing, which HTTP header is typically used to carry the trace identifier between microservices?

easy📝 Conceptual Q3 of 15
Microservices - Monitoring and Observability
In distributed tracing, which HTTP header is typically used to carry the trace identifier between microservices?
Atraceparent
BAuthorization
CContent-Type
DUser-Agent
Step-by-Step Solution
Solution:
  1. Step 1: Identify trace context propagation header

    The W3C Trace Context specification defines 'traceparent' as the standard header.
  2. Step 2: Eliminate unrelated headers

    'Authorization' is for auth, 'Content-Type' for payload type, 'User-Agent' for client info.
  3. Final Answer:

    traceparent -> Option A
  4. Quick Check:

    Trace context uses 'traceparent' header [OK]
Quick Trick: 'traceparent' header carries trace IDs per W3C spec [OK]
Common Mistakes:
MISTAKES
  • Using 'Authorization' header for trace context
  • Confusing 'Content-Type' with tracing info
  • Assuming 'User-Agent' carries trace data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes