CloudBees CJE Certified Jenkins Engineer (CJE) Online Training
CloudBees CJE Online Training
The questions for CJE were last updated at Nov 23,2024.
- Exam Code: CJE
- Exam Name: Certified Jenkins Engineer (CJE)
- Certification Provider: CloudBees
- Latest update: Nov 23,2024
Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers
- A . Jenkins can be restarted while a build is In progress without impacting the build.
- B . Job definition can be loaded from the Source Code Management system at build time.
- C . No extra plugins must be installed.
- D . Builds can be parameterized.
- E . Builds can be triggered with millisecond granularity.
In order to send email notifications on build completion using Jenkins’ built in mail functionality, which TWO of the following must be true?
- A . The job must be configured to send email.
- B . Jenkins must be successfully configured to point to a mail server.
- C . Jenkins must be directly connected to the Internet.
- D . Jenkins must have a unique email address.
- E . Sendmail must be Installed and running on the same machine as Jenkins.
A Freestyle job has the configuration shown here:
You run the following command from a Unix terminal: curl http: ///git/notifyCommit?
url-gitagithub.com: cloudbees/github test.git Will the Job be triggered?
- A . It will not be triggered.
- B . It will be triggered if the polling detects a change In any git branch.
- C . It will be triggered if the polling detects a change In the git branch "master".
- D . It will be triggered if the polling detects a change in the git branch "development".
Which statements about a Distributed Version Control System are correct? Choose 2 answers
- A . It makes It easy to fork and merge code.
- B . It requires one server in each location.
- C . It requires a central server and a standby server.
- D . It requires fast network access for daily work.
- E . It operates without a central server.
In Jenkins, a trigger commonly refers to a mechanism that automatically_________.
- A . updates plugins
- B . starts the build of a job
- C . sends notification once the build is completed
- D . detects code changes in the repository
Pipelines often require access to protected resources such as servers, databases, and SCMs.
Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?
- A . Store the secrets on the Jenkins master using the Credentials plugin.
- B . Include the secrets In the home directory of the Jenkins agent account.
- C . Store the secrets required in the SCM alongside the application source code.
- D . Embed secrets into the build and deployment scripts invoked by the job.
- E . Store the secrets as Node Properties for each agent definition.
Which of the following are true about the "post" section of a Declarative Pipeline that defines additional steps that run at the end of either a pipeline stage or the pipeline itself? Choose 3 answers
- A . The "post" section can be used to stash files, archive artifacts, and send notifications.
- B . The "post" section includes conditional blocks (such as "always", "success", or "failure").
- C . It any step specified in the "post" section fails, the pipeline run is marked as "unsuccessful".
- D . The Blue Ocean editor does not display the "post" section blocks although they can be viewed and modified in the Blue Ocean code editor.
- E . The conditional blocks are executed in the order they are coded in the Pipeline.
Which TIIKII of the following are considered best practices when setting up rules for notifications?
- A . Send notifications only when direct intervention is needed.
- B . Do not send developers too many email notifications.
- C . Make sure the notification’s target Is the right person.
- D . Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.
- E . Periodically change the recipient of emails, to make sure they are not classified as spam.
Which arc true when installing new plugins? Choose 2 answers
- A . If you check the "Enable rollbacks when upgrading" box, future updates to an the plugin can easily be rolled back when necessary.
- B . The previous public release of a plugin is installed for reliability instead of Installing the most recent public release.
- C . Most plugins can be Installed without stopping and starting Jenkins.
- D . You must install all required and optional dependencies before Installing the plugin with the plugin manager.
- E . If you are running Jenkins under an HTTP proxy, you must configure HTTP proxy access for the plugin manager before Installing or updating plugins.
What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?
- A . Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc.).
- B . It is deleted on the next restart of Jenkins.
- C . It Is deleted on the next configuration reload.
- D . It Is deleted Immediately.
- E . The data is backed up and then deleted from the live configuration.