Challenge - 5 Problems
Jenkins Linux Installation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Jenkins service status after installation
After installing Jenkins on a Linux system using the official package, you run the command
sudo systemctl status jenkins. What output indicates Jenkins is running correctly?Attempts:
2 left
💡 Hint
Look for the word 'active' and 'running' in the status output.
✗ Incorrect
The status output showing 'active (running)' means Jenkins service is up and running properly.
❓ Configuration
intermediate2:00remaining
Correct Jenkins repository setup on Debian-based Linux
Which of the following commands correctly adds the Jenkins repository key and source list for Debian-based Linux before installing Jenkins?
Attempts:
2 left
💡 Hint
Debian uses apt-key and sources.list.d for repositories.
✗ Incorrect
Option D correctly adds the Jenkins GPG key and repository for Debian-based systems using apt-key and sources.list.d.
🔀 Workflow
advanced2:30remaining
Order of commands to install Jenkins on CentOS/RHEL
What is the correct order of commands to install Jenkins on CentOS or RHEL Linux?
Attempts:
2 left
💡 Hint
Java must be installed before Jenkins, then start and enable the service.
✗ Incorrect
First install Java, then Jenkins, then start Jenkins service, and finally enable it to start on boot.
❓ Troubleshoot
advanced2:00remaining
Diagnosing Jenkins startup failure on Linux
You installed Jenkins on Linux and tried to start it, but
sudo systemctl start jenkins fails silently. Which log file should you check first to find the cause?Attempts:
2 left
💡 Hint
Jenkins writes its own logs in a specific directory.
✗ Incorrect
Jenkins logs are typically found in /var/log/jenkins/jenkins.log which contains startup errors.
✅ Best Practice
expert3:00remaining
Secure Jenkins installation on Linux
Which practice is best to secure Jenkins after installing it on a Linux server?
Attempts:
2 left
💡 Hint
Running services with least privilege improves security.
✗ Incorrect
Running Jenkins under a dedicated user with limited permissions reduces risk if compromised.