All jobs / Solutions / cloud architect / System Design
Solutions / cloud architect interview question · 0–1 years
Logs, metrics and traces: what question does each one answer?
The strongest answer
Metrics say whether something is wrong and how much; logs say what happened in one place; traces follow one request across services to show where the time went
Why it works
Exactly. Is it wrong, what happened, where did the time go. Three questions, three signals.
What a good answer covers
- Metrics: is it wrong, how much?
- Logs: what happened here?
- Traces: where did the request go?
- One incident uses all three.
Answers that fall short
- Close, but not the strongest: They are three formats for the same information
They overlap, but you cannot grep a latency percentile or alert on a stack trace. - Weak: Logs are for developers, metrics for operations, traces for vendors
Splitting them by audience misses that one incident needs all three. - Red flag: Only logs matter; the rest is monitoring-tool marketing
Logs alone cannot show a slow call chain across six services.
Who gets asked this
More System Design questions
- How do you estimate capacity for a system that does not exist yet?
- What observability decisions belong in the design, before any code is written?
- Twelve services, no tracing. How do you introduce distributed tracing without a year-long programme?
- What makes a service “stateless”, and why does the architect keep asking for it?
- Scaling up versus scaling out: what decides which you reach for?
- A stakeholder uses “fast” to mean two different things. What are they, and why does it matter?