0
0
Elasticsearchquery~10 mins

Installation and setup in Elasticsearch - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the Elasticsearch service using systemctl.

Elasticsearch
sudo systemctl [1] elasticsearch
Drag options to blanks, or click blank then click option'
Astart
Benable
Cstop
Drestart
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'enable' instead of 'start' will not start the service immediately.
Using 'stop' will turn off the service, which is the opposite of starting.
2fill in blank
medium

Complete the command to check the status of the Elasticsearch service.

Elasticsearch
sudo systemctl [1] elasticsearch
Drag options to blanks, or click blank then click option'
Astatus
Brestart
Creload
Dstop
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'restart' will restart the service instead of showing status.
Using 'stop' will stop the service, which is not checking status.
3fill in blank
hard

Fix the error in the command to install Elasticsearch on Debian-based systems.

Elasticsearch
sudo apt-get [1] elasticsearch
Drag options to blanks, or click blank then click option'
Aremove
Bupdate
Cinstall
Dupgrade
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'remove' deletes packages instead of installing.
Using 'update' refreshes package lists but does not install.
4fill in blank
hard

Fill both blanks to create a user and group for Elasticsearch.

Elasticsearch
sudo [1] elasticsearch && sudo [2] elasticsearch
Drag options to blanks, or click blank then click option'
Auseradd
Bgroupadd
Cusermod
Dgroupmod
Attempts:
3 left
💡 Hint
Common Mistakes
Creating the user before the group can cause errors.
Using 'usermod' or 'groupmod' modifies existing users/groups, not create.
5fill in blank
hard

Fill all three blanks to configure Elasticsearch to start on boot and verify it.

Elasticsearch
sudo systemctl [1] elasticsearch && sudo systemctl [2] elasticsearch && sudo systemctl [3] elasticsearch
Drag options to blanks, or click blank then click option'
Aenable
Bstatus
Cstart
Ddisable
Attempts:
3 left
💡 Hint
Common Mistakes
Starting before enabling means it won't start on boot.
Checking status before starting shows it stopped.