Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start the Jenkins service.
Jenkins
sudo systemctl [1] jenkins Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'stop' instead of 'start' will turn off Jenkins.
✗ Incorrect
Use start to launch the Jenkins service.
2fill in blank
mediumComplete the code to check the status of Jenkins service.
Jenkins
sudo systemctl [1] jenkins Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' will try to launch Jenkins instead of checking.
✗ Incorrect
The status command shows if Jenkins is running or stopped.
3fill in blank
hardFix the error in the command to reload Jenkins configuration without restarting.
Jenkins
sudo systemctl [1] jenkins Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'restart' causes downtime.
✗ Incorrect
reload applies config changes without stopping the service.
4fill in blank
hardFill both blanks to enable Jenkins to start automatically on boot and verify it.
Jenkins
sudo systemctl [1] jenkins && sudo systemctl [2] jenkins
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'enable' won't set auto-start.
✗ Incorrect
enable sets Jenkins to start on boot, status checks its state.
5fill in blank
hardFill all three blanks to safely stop Jenkins, disable auto-start, and check status.
Jenkins
sudo systemctl [1] jenkins && sudo systemctl [2] jenkins && sudo systemctl [3] jenkins
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'start' instead of 'stop' will keep Jenkins running.
✗ Incorrect
Stop Jenkins, disable auto-start, then check status to confirm.