Jenkins Jenkins Administration 2 — Questions and Answers
Question 1: Which Manage Jenkins page is used to configure global tool installations such as JDK and Maven?
- Global Tool Configuration (Correct answer)
- Tool Manager
- Plugin Manager
- System Configuration
Correct answer: Global Tool Configuration
The Global Tool Configuration page (Manage Jenkins > Global Tool Configuration) lets administrators define tool installations available to all jobs.
Question 2: How does Jenkins handle the first-time setup unlock screen?
- Requires a one-time password from the server file system to proceed (Correct answer)
- Auto-configures using default admin/admin credentials
- Requires GitHub OAuth login
- Sends unlock code to admin email
Correct answer: Requires a one-time password from the server file system to proceed
On first launch, Jenkins displays an unlock screen requiring the administrator to enter the initial password found at `/var/lib/jenkins/secrets/initialAdminPassword`.
Question 3: What is the purpose of the `Manage Plugins` page's `Advanced` tab in Jenkins?
- Upload custom plugin HPI/JPI files and configure update site URLs (Correct answer)
- Enable beta plugin features
- Debug plugin conflicts
- Roll back plugin versions
Correct answer: Upload custom plugin HPI/JPI files and configure update site URLs
The Advanced tab under Manage Plugins allows uploading `.hpi` or `.jpi` plugin files manually and configuring the plugin update site URL.
Question 4: What does enabling `Use Security` under Manage Jenkins > Configure Global Security do?
- Activates authentication and authorization controls for Jenkins (Correct answer)
- Enables HTTPS only mode
- Locks all jobs from modification
- Audits all admin actions
Correct answer: Activates authentication and authorization controls for Jenkins
Enabling `Use Security` activates Jenkins' security realm (authentication) and authorization strategy, requiring users to log in.
Question 5: Which Jenkins administrative script console language is used to run maintenance scripts directly on the Jenkins controller?
- Groovy (Correct answer)
- JavaScript
- Python
- Bash
Correct answer: Groovy
The Jenkins Script Console (Manage Jenkins > Script Console) executes Groovy scripts directly in the Jenkins JVM for administration tasks.
Question 6: What is the effect of setting `Build Executor Count` to 0 on the Jenkins built-in node?
- Prevents jobs from running on the controller, forcing agent-only execution (Correct answer)
- Disables the Jenkins controller
- Deletes all queued jobs
- Sets unlimited executors
Correct answer: Prevents jobs from running on the controller, forcing agent-only execution
Setting executors to 0 on the built-in node is a security best practice that ensures no build code executes on the Jenkins controller itself.
Which Manage Jenkins page is used to configure global tool installations such as JDK and Maven?