Skip to content
Sharp

Distributed Resilience · interview question

Why is Mapped Diagnostic Context (MDC) important for logging in a distributed tracing setup?

Multiple choiceMediumchapter-18-curatedpremiumdistributed-resiliencedistributed-tracing
Choose one answer
Answer and explanation

Correct answer

C. It maintains context data across threads for consistent logging.

Why

MDC allows context-specific data, such as a correlation ID, to be passed along with log records, ensuring that logs from different parts of a distributed system can be correlated effectively.

Test yourself on Distributed Resilience

A free test with instant, explained results. No account needed.

Start free test
All Distributed Resilience questions →