All jobs / DevOps / SRE / cloud / Observability
DevOps / SRE / cloud interview question · 0–1 years
Describe the parts of an ELK or OpenSearch logging stack and what each does.
The strongest answer
Shippers on each host or pod (Filebeat, Fluent Bit) collect; Logstash or an ingest pipeline parses and enriches; Elasticsearch or OpenSearch indexes; Kibana or OpenSearch Dashboards searches and visualises; index lifecycle handles retention
Why it works
Exactly — collect, parse, index, query, retain. Naming the stages is how you locate a gap when logs go missing.
What a good answer covers
- Ship, parse, index, query.
- Agents collect; pipelines parse.
- The index is the store.
- Lifecycle handles retention.
Answers that fall short
- Close, but not the strongest: Elasticsearch stores the logs and Kibana shows them; the rest is optional glue
Right core, but the shipper and the parsing stage are where most operational trouble and structure live. - Weak: It is a database where you dump log files and grep them faster
It is a search engine over structured documents; treating it as grep wastes the parsing and the indexes. - Red flag: Every service posts its logs directly to Elasticsearch over HTTP; agents are unnecessary complexity
Direct writes couple every service to the cluster’s availability and skip buffering, batching and parsing.
Who gets asked this
More Observability questions
- What do you mean by observability in this interview?
- On-call cannot find the one failing request in a sea of lines. What do you standardise?
- You page on CPU > 80%. Users are fine. What do you change?
- How does Prometheus collect metrics, and why does a thirty-second batch job show none?
- Why instrument services with OpenTelemetry instead of the observability vendor’s own SDK?
- Logs are 40% of the observability bill. What do you cut without going blind?
- You can afford traces on some paths. Which do you instrument first?
- After a deploy, the Grafana dashboards time out and Prometheus runs out of memory. A developer added…