Answers
Here are the answers to this chapter’s questions:
- Correct answer: A
Explanation:
In Jenkins, the master node is responsible for scheduling build jobs, managing the Jenkins UI, and overall process management. Though the master node can also run Jobs, it’s the agent node that is primarily responsible for running the build jobs.
- Correct answer: B
Explanation of incorrect answer choices:
A. This is incorrect. Jenkins Declarative or Scripted Pipeline syntax is used to write Jenkins Pipeline as Code, not JCasC.
C. Security is important in Jenkins but, JCasC’s main role is not to encrypt configuration files. It’s about managing configuration as code, although it can include aspects of security configuration.
D. Real-time monitoring and logging are separate concerns, typically handled by other tools through Jenkins plugins. JCasC aims to manage the configurations on the Jenkins server.
- Correct answer: A
Explanation of incorrect answer choices:
B...