Bird
0
0

In microservices, what is the primary role of logs?

easy📝 Conceptual Q2 of 15
Microservices - Monitoring and Observability
In microservices, what is the primary role of logs?
ATo provide aggregated numerical data for dashboards
BTo record detailed information about events and errors
CTo trace the journey of a request across services
DTo manage service deployment configurations
Step-by-Step Solution
Solution:
  1. Step 1: Identify the function of logs

    Logs capture detailed, timestamped records of events, errors, and system messages for troubleshooting.
  2. Step 2: Contrast logs with metrics and traces

    Metrics summarize data numerically; traces follow requests; logs provide event details.
  3. Final Answer:

    To record detailed information about events and errors -> Option B
  4. Quick Check:

    Logs = Event details and errors [OK]
Quick Trick: Logs tell the story of what happened in detail [OK]
Common Mistakes:
MISTAKES
  • Mixing logs with metrics
  • Thinking logs show request paths
  • Assuming logs are only error messages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes