Challenge - 5 Problems
Jenkins URL & Security Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Jenkins URL Configuration Check
You run the following Jenkins CLI command to check the current Jenkins root URL setting:
What will be the output if the root URL is correctly set to
java -jar jenkins-cli.jar -s http://localhost:8080 get-job config.xmlWhat will be the output if the root URL is correctly set to
http://jenkins.example.com/ in Jenkins system configuration?Attempts:
2 left
💡 Hint
The
get-job command expects a job name, not a file name.✗ Incorrect
The command tries to get a job named 'config.xml' which does not exist, so it returns an error. The root URL is not shown by this command.
🧠 Conceptual
intermediate1:30remaining
Jenkins Security Realm Purpose
What is the main purpose of configuring the Security Realm in Jenkins?
Attempts:
2 left
💡 Hint
Think about user login and identity verification.
✗ Incorrect
The Security Realm controls how Jenkins verifies who users are, such as using internal database or external LDAP.
❓ Troubleshoot
advanced2:00remaining
Jenkins URL Not Accessible Externally
After setting the Jenkins root URL to
http://jenkins.company.com/ in the system configuration, users report they cannot access Jenkins externally. Which of the following is the most likely cause?Attempts:
2 left
💡 Hint
Check network and firewall settings when a service is unreachable.
✗ Incorrect
If the firewall blocks port 8080, external users cannot reach Jenkins even if the URL is correct.
✅ Best Practice
advanced1:30remaining
Securing Jenkins URL with HTTPS
Which is the best practice to secure Jenkins URL access over the internet?
Attempts:
2 left
💡 Hint
Think about encrypting data between users and Jenkins.
✗ Incorrect
Using HTTPS encrypts data and protects credentials from being intercepted.
🔀 Workflow
expert3:00remaining
Order to Secure Jenkins URL and User Access
Arrange the following steps in the correct order to securely configure Jenkins URL and user access for a new installation:
Attempts:
2 left
💡 Hint
Think about setting URL first, then user authentication and permissions, then securing with HTTPS.
✗ Incorrect
First set the URL so Jenkins knows its address, then configure who can log in and what they can do, finally secure the connection with HTTPS.