Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free CloudBees Certified Jenkins Engineer (CJE) CJE Exam Questions

Page: 1 / 13 Total 186 questions

Want more questions? Get Premium Access.

Question 1

How can you easily see if a plugin you use needs to be upgraded to a new version?

Correct Answer: D. Check the Jenkins Update Center.

Question 2

Which Jenkins job status indicates that tests failed ?

Correct Answer: C. Unstable

Question 3

In a Pipeline, the stage step_________.

Correct Answer: A. can be used to group a number of other steps into a logical unit for display

Question 4

Where does the Jenkinsfile live?

Correct Answer: C. With your source code
Explanation:

The Jenkinsfile typically lives in the root of your project SCM repository.


Question 5

Which of the following practices are recommended for a Declarative Pipeline? Choose 3 answers

Correct Answer: B. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.; C. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.; E. Use took such as Maven, Gradle, NPM, Ant, and Make to define most of the build work; cad these executables as steps In your pipeline.

Question 6

Your company's DevOps staff is new to the continuous integration methodology. Some users are unclear on best practices, and you're hearing all kinds of feedback from them, some of it wrong. Which of the following statements is NOT a CI best practice?

Correct Answer: C. Build everything manually, because that prevents errors.
Explanation:

CI relies heavily on automation, especially build automation, to enable the sped-up pace of code commits. If things are built manually, the pipeline is slowed down, and the ability to maintain a fast change pace is inhibited.


Question 7

Your Pipeline has three stages: build, test, and deploy. You want the build and test stages to run automatically (without requiring human interaction), but you want the deploy stage to require approval by a human being. How do you achieve that goal?

Correct Answer: A. Use an input step just before the deploy stage.

Question 8

On a single Jenkins master you have a folder named "Project1 ". I his folder contains three jobs: "job master", "job develop", and "Job edge". The job "job master" Is the latest built project and Is In a success state while the two other jobs are in falling state. Which statement is true about the folder "Project1"?

Correct Answer: A. It reports its health as 'failed' {'Raining Cloud' weather icon), because that is the 'worst health of the sub-items'.

Question 9

Which answer best describes continuous delivery?

Correct Answer: B. A software development discipline where software is built so that it can be released to production at any time.
Explanation:

Continuous delivery is an extension of continuous integration. It means that the software CAN be released at any time.


Question 10

What programming language is Jenkins built in and is required to be installed prior to using Jenkins?

Correct Answer: C. Java
Explanation:

Jenkins is built with Java, which is required as a prerequisite to install.


Question 11

What's a benefit of a clean checkout over an incremental update?

Correct Answer: A. It ensures the working directory is clean and not tampered with
Explanation:

A user, or previous build, could create or change a file in a workspace which could cause problems with future builds.


Question 12

How do you configure notifications in a Jenkinsfile?

Correct Answer: A. emailext

Question 13

You are working on a project that will build a Docker image. When the job completes it needs to trigger a build to deploy a container to your development environment for integration testing. How would you go about triggering the second build?

Correct Answer: B. Both 'Triggered by another project' and the 'Parameterized Trigger Plugin'
Explanation:

Both are options for triggering upstream and downstream projects.


Question 14

If you set "Child item with worst health" and "recursive" in the folder config, how is the health determined for the folder?

Correct Answer: D. Items in nested sub-folders are used to calculate the folder's health.
Explanation:

Nested items determine folder health in this configuration.


Question 15

Where do you configure a shared global library?

Correct Answer: B. Configure System -> Global Pipeline Libraries
Explanation:

You can establish inter-project functionality in a shared global library.