Bird
0
0

Why should downstream microservices avoid generating new Correlation IDs if one is already present in the incoming request?

hard📝 Conceptual Q10 of 15
Microservices - Monitoring and Observability
Why should downstream microservices avoid generating new Correlation IDs if one is already present in the incoming request?
AIt prevents duplicate logging in downstream services
BNew IDs improve security by isolating each service's logs
CIt reduces the size of the request payload
DGenerating new IDs breaks the traceability of the original request across services
Step-by-Step Solution
Solution:
  1. Step 1: Understand Correlation ID purpose

    Correlation IDs link logs from all services handling the same request.
  2. Step 2: Impact of generating new IDs downstream

    If downstream services generate new IDs, the original request trace is fragmented, making debugging difficult.
  3. Step 3: Evaluate other options

    New IDs do not inherently improve security, reduce payload size, or prevent duplicate logging.
  4. Final Answer:

    Generating new IDs breaks the traceability of the original request across services -> Option D
  5. Quick Check:

    New IDs break request traceability [OK]
Quick Trick: New Correlation IDs break request traceability [OK]
Common Mistakes:
MISTAKES
  • Believing new IDs enhance security
  • Thinking new IDs reduce payload size
  • Assuming new IDs prevent duplicate logs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes