CloudBees CJE Certified Jenkins Engineer (CJE) Online Training
CloudBees CJE Online Training
The questions for CJE were last updated at Nov 19,2024.
- Exam Code: CJE
- Exam Name: Certified Jenkins Engineer (CJE)
- Certification Provider: CloudBees
- Latest update: Nov 19,2024
You are using GitHub repository scanning (in a project of type "GitHub Organization") with the Pipeline lenkinsfile Project Recognizer.
In this case, which repositories under the organization will have Multibranch projects automatically created for them?
- A . only repositories that contain a Jenkinsfile in all their branches
- B . only repositories that contain a Jenkinsfile in at least one branch
- C . all repositories that contain a Jenkinsfile in at least one branch or pull request
- D . all repositories
How can you configure a Declarative Pipeline to record the fingerprint of an artifact?
- A . CaII the fingerprintArtifact() step immediately after the archiveArtifacts( ) step.
- B . Enable the Declarative Pipeline ‘enableFingerprints’ ‘option’ .
- C . Set the Fingerprint Artifacts global configuration option.
- D . Set the "fingerprint: true" argument for the archiveArtifactsQ step.
- E . No action is required; Declarative Pipelines automatically record a fingerprint for each artifact.
Which are commonly referenced as key points of CI? Choose 3 answers
- A . Automated deployment to the production environment.
- B . Collaboration among Dev, QA and Ops.
- C . Automated tests after each commit
- D . Automated builds after each commit.
- E . Frequent commits to source code repository.
A unit test_________.
- A . tests an Individual unit a component
- B . verifies cross-functionalities
- C . verifies that the complete software matches the specifications it was written to fulfill
- D . is written when an Integration or multi-environment bog is fixed
Which of the following is true about resuming a Declarative Pipeline?
- A . Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).
- B . Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space exhaustion).
- C . All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that was built In the original run Is available only If the preserveStashes() option Is specified In the Jenkinsfile
- D . Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are not serialized
- E . A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.
Which of these tasks are ONLY available from the "Manage Jenkins” page? Choose 2 answers
- A . Manage plugins
- B . Define views
- C . Configure credentials
- D . Open Blue Ocean
- E . Configure Global Security
In a "standalone" configuration, when masters manage the build environment and also execute builds with their own resources, which of the following Is true?
- A . Build times decrease.
- B . User interface becomes slower as resources on the master run out.
- C . The builds share SCM checkouts
- D . Masters are more highly available.
Why Is the performance of a Jenkins master Improved by using a distributed builds architecture?
- A . Because executors cannot be allocated on the master.
- B . Because executors offloaded onto build nodes are not performant.
- C . Because it prevents the CPU being overloaded during parallel polls.
- D . Because it prevents builds from overloading a master’s CPU/memory.
- E . Because builds cannot be run In parallel on a master.
What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?
- A . Delete artifacts, togs, and backups that are no longer required.
- B . Clean up workspaces left by deleted Jenkins users.
- C . Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.
- D . Delete or restore old credentials details.
- E . Prepare for migration from Jenkins 1 to Jenkins 2.
Which of the following are true when using environment directives in a Declarative Pipeline? Choose 3 answers
- A . If an environment variable b enclosed In single quotes, the Pipeline DSL dereferences the variable on the master’s JVM and passes the calculated string to the sh or bat step; if the environment variable Is enclosed in double quotes, the name of the environment variable itself is passed to the "sh" or ‘bat" step and the shell interpreter on the agent dereferences the variable.
- B . If an environment variable Is enclosed In double quotes, the Pipeline DSL dereferences the variable on the master’s JVM and passes the calculated string to the sh or bat step; if the environment variable is enclosed in single quotes, the name of the environment variable itself is passed to the "sh" or "bat" step and the shell interpreter on the agent dereferences the variable.
- C . A Declarative Pipeline can use environment variables defined In Jenkins Itself (such as BUILD_NUMBER and JENKINS^URL), environment variables defined in an installed plugin (such as GIT„COMMIT or GIT .BRANCH, defined in the Git plugin), or environment variables that are coded as directives in the Pipeline itself; the semantics are identical for all environment variables.
- D . An environment variable can be specified globally (to apply to all steps in the pipeline), for an individual step, or for one or more specified steps In the Pipeline,