Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free CloudBees CJE Practice Exam with Questions & Answers | Set: 4

Questions 31

Which is NOT a continuous integration best practice?

Options:
A.

Maintain a single source repository.

B.

Do everything manually with great care.

C.

Build every commit.

D.

Make the build self-testing.

CloudBees CJE Premium Access
Questions 32

Yon are an administrator of a base Jenkins master with the recommended plugin set and you want to connect a new agent using SSH. Authentication on the remote node that will host the agent is done with an SSH key pair which your users must NOT be able to see or access. Which of the following is TRUE assuming your users do not have admin rights?

Options:
A.

Use a credential "SSH Username with private key", restricted to the Scope "System", for the node's SSH authentication.

B.

You cannot use an SSH key-pair. Configure a password for the agent's SSH user, and create a credential of type "Username with password" for the node's SSH authentication.

C.

Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node's SSH authentication.

D.

The SSH key will be stored in the JENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder.

Questions 33

Which job type Is always available In Jenkins without additional plugins?

Options:
A.

Ant project

B.

Make project

C.

Grade project

D.

Pipeline project

E.

Freestyle project

Questions 34

Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers

Options:
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.

Questions 35

In a JUnit report, if we set the "Health report amplification factor" to 2 and there's a 1% failure, what's the health score?

Options:
A.

98%

B.

80%

C.

60%

D.

75%

Questions 36

Which of the following are true when using environment directives in a Declarative Pipeline?

Choose 3 answers

Options:
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,

Questions 37

You are given the task to install Jenkins and its prerequisites as part of an initiative toimplement CI/CD. After installing the operating system, you will need to make sure what language is available for Jenkins to utilize before you can successfully install it?

Options:
A.

Perl

B.

Python

C.

Ruby

D.

Java

Questions 38

Which is an invalid matrix-based security realm?

Options:
A.

Administer

B.

Run

C.

Slave

D.

Drive

Questions 39

Which Jenkins job status indicates that tests failed ?

Options:
A.

Aborted

B.

Success

C.

Unstable

D.

Failure

E.

Not Built

Questions 40

You want to archive and track a build artifact, "build/mybuilt.jar", with a fingerprint from your team's build. How would you invoke the archiveArtifacts function to accomplish this?

Options:
A.

archiveArtifacts = 'build/mybuilt.jar', fingerprint: true

B.

archiveArtifacts artifacts: ''build/mybuilt.jar'

C.

archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: false

D.

archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: true

Exam Code: CJE
Certification Provider: CloudBees
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: Jul 15, 2025
Questions: 186

CloudBees Related Exams

How to pass CloudBees CCJE - Certified CloudBees Jenkins Engineer (CCJE) Exam

CloudBees Free Exams

CloudBees Free Exams
Examstrack offers free CloudBees exam materials and practice tests to aid your CloudBees certification journey.