0
0
Jenkinsdevops~20 mins

Initial admin setup wizard in Jenkins - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Jenkins Setup Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Purpose of Jenkins Initial Admin Setup Wizard

What is the main purpose of the Jenkins Initial Admin Setup Wizard when you first install Jenkins?

ATo configure the Jenkins system settings and create the first admin user
BTo install all Jenkins plugins automatically without user input
CTo start the Jenkins build process immediately
DTo delete all default Jenkins jobs and configurations
Attempts:
2 left
💡 Hint

Think about what you need to do before using Jenkins securely and effectively.

💻 Command Output
intermediate
1:30remaining
Unlocking Jenkins with Initial Admin Password

After installing Jenkins, you are asked to enter the initial admin password. Which command will correctly display this password on a Linux system?

Jenkins
cat /var/lib/jenkins/secrets/initialAdminPassword
Acat /var/lib/jenkins/config.xml
Bcat /etc/jenkins/initialAdminPassword
Ccat /var/lib/jenkins/secrets/initialAdminPassword
Dcat /var/log/jenkins/initialAdminPassword.log
Attempts:
2 left
💡 Hint

The password is stored in a secrets folder inside Jenkins home directory.

🔀 Workflow
advanced
2:00remaining
Correct Sequence to Complete Jenkins Initial Setup Wizard

Arrange the steps in the correct order to complete the Jenkins Initial Admin Setup Wizard.

A1,2,3,4
B1,3,2,4
C2,1,3,4
D3,1,2,4
Attempts:
2 left
💡 Hint

Unlock first, then install plugins, create user, finish.

Troubleshoot
advanced
1:30remaining
Error When Initial Admin Password File is Missing

You installed Jenkins but the file /var/lib/jenkins/secrets/initialAdminPassword is missing. What will happen when you try to unlock Jenkins?

AJenkins will reset all configurations to default
BJenkins will skip the unlock step and allow immediate access
CJenkins will generate a new initial admin password automatically
DJenkins will show an error and prevent unlocking until the file is restored
Attempts:
2 left
💡 Hint

The unlock step depends on this file to verify the admin password.

Best Practice
expert
2:00remaining
Securing Jenkins After Initial Admin Setup Wizard

After completing the Initial Admin Setup Wizard, what is the best practice to secure your Jenkins instance?

ADisable all plugins installed during setup to reduce attack surface
BDelete the <code>initialAdminPassword</code> file and disable anonymous access
CShare the initial admin password with all team members for easy access
DKeep the <code>initialAdminPassword</code> file for backup and allow anonymous read access
Attempts:
2 left
💡 Hint

Think about removing default credentials and limiting access.