Bird
0
0

If Correlation IDs are missing from logs in some microservices, what is the most probable cause?

medium📝 Analysis Q6 of 15
Microservices - Monitoring and Observability
If Correlation IDs are missing from logs in some microservices, what is the most probable cause?
AThe Correlation ID was not propagated correctly in the request headers
BThe microservices are using different programming languages
CThe logging framework does not support structured logging
DThe Correlation ID is encrypted and cannot be logged
Step-by-Step Solution
Solution:
  1. Step 1: Understand propagation of Correlation IDs

    Correlation IDs must be passed explicitly in request headers between services.
  2. Step 2: Identify cause of missing IDs

    If logs lack Correlation IDs, it usually means the ID was not forwarded or extracted properly.
  3. Step 3: Eliminate other options

    Different languages do not inherently cause missing IDs; logging frameworks can be configured; encryption does not prevent logging if handled correctly.
  4. Final Answer:

    The Correlation ID was not propagated correctly in the request headers -> Option A
  5. Quick Check:

    Missing IDs usually mean propagation failure [OK]
Quick Trick: Missing Correlation IDs usually mean header propagation failed [OK]
Common Mistakes:
MISTAKES
  • Blaming programming language differences
  • Assuming logging framework lacks support
  • Thinking encryption prevents logging

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes