Challenge - 5 Problems
Elasticsearch Installation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediate2:00remaining
Elasticsearch service status check
After installing Elasticsearch on a Linux system, you run the command
systemctl status elasticsearch. What output indicates that Elasticsearch is running correctly?Attempts:
2 left
💡 Hint
Look for the word 'active' and 'running' in the status output.
✗ Incorrect
The status output shows 'active (running)' when Elasticsearch is successfully running as a service.
🧠 Conceptual
intermediate1:00remaining
Default Elasticsearch port
What is the default port number Elasticsearch listens on for HTTP requests after installation?
Attempts:
2 left
💡 Hint
This port is used to send REST API requests to Elasticsearch.
✗ Incorrect
Elasticsearch listens on port 9200 by default for HTTP REST API calls.
🔧 Debug
advanced3:00remaining
Elasticsearch JVM memory setting error
You set
ES_JAVA_OPTS="-Xms2g -Xmx2g" in your environment but Elasticsearch fails to start. Which option shows a likely cause?Attempts:
2 left
💡 Hint
Check if the system has enough memory to allocate the requested heap size.
✗ Incorrect
If the system has less RAM than the requested JVM heap size, Elasticsearch will fail to start.
📝 Syntax
advanced3:00remaining
Correct syntax for Elasticsearch repository installation on Debian
Which command correctly adds the Elasticsearch GPG key and repository on a Debian-based system?
Attempts:
2 left
💡 Hint
Debian uses apt-key and sources.list.d for repositories.
✗ Incorrect
Option D correctly downloads the GPG key, adds it, writes the repo to sources.list.d, and updates apt.
🚀 Application
expert3:00remaining
Elasticsearch cluster initial master nodes setting
You are setting up a new Elasticsearch cluster with 3 nodes. To avoid split-brain issues, which setting must you add to
elasticsearch.yml on each node before starting the cluster?Attempts:
2 left
💡 Hint
This setting tells Elasticsearch which nodes can be elected as master during the first cluster formation.
✗ Incorrect
The cluster.initial_master_nodes setting is required on new clusters to specify the initial master-eligible nodes and prevent split-brain.