Challenge - 5 Problems
EFK Stack Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Check Elasticsearch Pod Status
You run the command
kubectl get pods -n logging to check the status of Elasticsearch pods in your EFK stack. What is the expected output if Elasticsearch is running correctly?Kubernetes
kubectl get pods -n loggingAttempts:
2 left
💡 Hint
Look for pods with
STATUS as Running and READY as full.✗ Incorrect
A healthy Elasticsearch pod in Kubernetes shows
STATUS as Running and READY as 1/1. Other statuses indicate issues or incomplete startup.❓ Configuration
intermediate2:30remaining
Fluentd Configuration for Kubernetes Logs
Which Fluentd configuration snippet correctly collects logs from all Kubernetes pods and sends them to Elasticsearch in the EFK stack?
Attempts:
2 left
💡 Hint
Look for JSON log format and correct path for Kubernetes container logs.
✗ Incorrect
Option A correctly tails Kubernetes container logs in JSON format and sends them to Elasticsearch with logstash formatting enabled. Other options either use wrong input sources or formats.
❓ Troubleshoot
advanced3:00remaining
Kibana Dashboard Not Showing Logs
You notice Kibana dashboards are empty even though Elasticsearch and Fluentd pods are running. Which is the most likely cause?
Attempts:
2 left
💡 Hint
Check Fluentd logs for connection errors to Elasticsearch.
✗ Incorrect
If Fluentd cannot send logs to Elasticsearch, Kibana will have no data to display. Wrong service name or port in Fluentd config is a common cause.
🔀 Workflow
advanced3:00remaining
Steps to Upgrade EFK Stack Components
What is the correct order of steps to safely upgrade Elasticsearch, Fluentd, and Kibana in a Kubernetes EFK stack?
Attempts:
2 left
💡 Hint
Start with safely handling Elasticsearch pods before upgrading Fluentd and Kibana.
✗ Incorrect
Elasticsearch upgrade requires careful node handling first. Then Fluentd and Kibana can be upgraded safely. Finally, nodes are uncordoned and cluster health checked.
✅ Best Practice
expert3:00remaining
Optimizing Elasticsearch Index Management
Which Elasticsearch index management strategy is best to keep the EFK stack performant and storage efficient?
Attempts:
2 left
💡 Hint
Automate index rollover and deletion to maintain cluster health.
✗ Incorrect
ILM automates index rollover and deletion based on policies, improving performance and storage use. Other options cause risks or inefficiencies.