Modules · wrap-up
Cheat sheet & self-check
24 questions across 8 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. Why run the log collector as a DaemonSet?
Show answer
B. Apps write to stdout/stderr; the runtime writes files on the node; the per-node collector tails them.
From lesson 01 · EFK architectureQ2. Why is `kubectl logs` not enough in production?
Show answer
B. Central logging keeps history independent of pod lifetimes and makes it searchable across the fleet.
From lesson 01 · EFK architectureQ3. What's the E, F and K in EFK?
Show answer
B. ELK uses Logstash instead of Fluent Bit/Fluentd for processing.
From lesson 01 · EFK architectureQ4. Cluster health is yellow. What does it mean?
Show answer
B. Yellow = primaries OK, replicas missing (common on single-node clusters with replicas > 0). Red = at least one primary is unassigned.
From lesson 02 · Elasticsearch fundamentalsQ5. You want exact filtering and aggregations on `kubernetes.namespace_name`. Which field type?
Show answer
B. text is analyzed (split into terms) for full-text search; keyword stores the exact value for filters, sorting and aggregations.
From lesson 02 · Elasticsearch fundamentalsQ6. Why is oversharding (thousands of tiny shards) a problem?
Show answer
B. Aim for fewer, larger shards (tens of GB each) and control shard count with rollover and templates.
From lesson 02 · Elasticsearch fundamentalsQ7. What does the ECK operator do when you change `spec.version` of an Elasticsearch resource?
Show answer
B. Operators encode the upgrade runbook. You still read the release notes and check the supported upgrade path.
From lesson 03 · ECK operator on KubernetesQ8. Why must vm.max_map_count be raised (or mmap disabled) for Elasticsearch?
Show answer
B. Set vm.max_map_count=262144 on nodes (DaemonSet/init container/node config), or use node.store.allow_mmap: false for small test clusters.
From lesson 03 · ECK operator on KubernetesQ9. How do applications authenticate to an ECK-managed Elasticsearch by default?
Show answer
B. Create least-privilege users or API keys for Fluent Bit and apps; don't hand out the elastic superuser.
From lesson 03 · ECK operator on KubernetesQ10. Why is Fluent Bit usually preferred over Fluentd or Logstash as the per-node collector?
Show answer
B. Fluentd (Ruby) and Logstash (JVM) are heavier but have richer processing; they're often used as central aggregators if needed.
From lesson 04 · Log collection: Fluent Bit vs FluentdQ11. Elasticsearch is down for 10 minutes. With default output settings, what may happen to logs?
Show answer
B. Set retries (no_limits or a high number), filesystem buffering with a size cap, and monitor dropped/retried records.
From lesson 04 · Log collection: Fluent Bit vs FluentdQ12. What does `mem_buf_limit` on the tail input do when it's reached?
Show answer
B. It protects the node's memory but creates back-pressure. Filesystem storage lets Fluent Bit buffer more safely.
From lesson 04 · Log collection: Fluent Bit vs FluentdQ13. Why do Java stack traces show up as dozens of separate log entries?
Show answer
B. Multiline parsers recognise the start of a new entry and append continuation lines, so one exception = one document.
From lesson 05 · Parsing & routingQ14. What's the most reliable way to get searchable fields from application logs?
Show answer
B. Regex parsing is fragile and slow; JSON logs are parsed trivially and survive message format changes.
From lesson 05 · Parsing & routingQ15. Payments team logs must go to a separate data stream with longer retention. How in Fluent Bit?
Show answer
B. Tags and match patterns route records to different outputs; the data stream's template/ILM policy sets retention.
From lesson 05 · Parsing & routingQ16. Which KQL finds errors in namespace shop, excluding the sidecar?
Show answer
B. KQL uses field : value, and/or/not, and parentheses. Field-scoped queries are faster and more precise than free text.
From lesson 06 · Kibana & KQLQ17. What is a data view in Kibana?
Show answer
B. Discover, visualisations and rules all query through data views (formerly called index patterns).
From lesson 06 · Kibana & KQLQ18. Free-text search of a single word across everything is slow and noisy. What's better?
Show answer
B. Filters on keyword fields and short time ranges let Elasticsearch skip most data.
From lesson 06 · Kibana & KQLQ19. Which panel best reveals that log collection itself has broken for a namespace?
Show answer
B. Absence of logs is a signal. Watch volume per source, and alert when an important source goes silent.
From lesson 07 · Kibana on-call dashboardQ20. What makes a log alert actionable?
Show answer
B. Alerts without a clear owner and action get ignored, and then the important one gets missed too.
From lesson 07 · Kibana on-call dashboardQ21. Your Elastic deployment runs on the free Basic license. Slack connectors aren't available. Options?
Show answer
B. Check Elastic's subscription matrix for your version; many teams alert from Grafana or ElastAlert 2 on self-managed clusters.
From lesson 07 · Kibana on-call dashboardQ22. A data node hits 95% disk. What does Elasticsearch do?
Show answer
B. At 85% (low) no new shards are allocated there, at 90% (high) shards move away, at 95% writes are blocked. The block is released automatically once usage falls below the high watermark.
From lesson 08 · Lifecycle & backupQ23. What does rollover do for a data stream?
Show answer
B. Deleting whole old indices is cheap; deleting documents from a huge index is not.
From lesson 08 · Lifecycle & backupQ24. Why run restore drills?
Show answer
B. Drills also tell you how long a restore takes, which is your real recovery time.
From lesson 08 · Lifecycle & backup