CS FundamentalsHardProduct-company SRE interview
A request passes through 6 microservices and is sometimes slow. Logs and per-service CPU metrics look normal. Which observability tool pinpoints the slow hop?
- A. More log statements only
- B. Host-level CPU dashboards
- C. Distributed tracing, which propagates a trace id and records the timing of each span across services
- D. A single uptime check
Correct answer: C. Distributed tracing, which propagates a trace id and records the timing of each span across services
Traces stitch together the spans of one request across services, showing where the latency accumulates. Logs and metrics are per service and lack the causal, end-to-end view.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team deliberately terminates random instances and injects latency in production during business hours, with monitoring and a way to stop…
- After a major outage, a team writes a postmortem focusing on what in the system and process allowed the mistake, rather than on who made…
- Assertion (A): Writing the same 'Order' entity into both an orders database and a search index inside one request handler can leave them…
- A team's code review guideline says reviewers should check that each pull request has tests for new behaviour, follows the style guide…
- Logs from 40 service instances arrive in a central store. Support needs to find every log line for one customer request that crossed 5…
- A team builds a hiring form. QA notices the form can be submitted with all fields blank; developers say 'validation is the back-end's…