Easter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Certified Jenkins Engineer (CJE) Question and Answers

Certified Jenkins Engineer (CJE)

Last Update May 18, 2024
Total Questions : 186

We are offering FREE CJE CloudBees exam questions. All you do is to just go and sign up. Give your details, prepare CJE free exam questions and then go for complete pool of Certified Jenkins Engineer (CJE) test questions that will help you more.

CJE pdf

CJE PDF

$35  $99.99
CJE Engine

CJE Testing Engine

$42  $119.99
CJE PDF + Engine

CJE PDF + Testing Engine

$56  $159.99
Questions 1

You can use Jenkins' database to manage users.

Options:

A.  

True

B.  

False

Discussion 0
Questions 2

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?

Options:

A.  

Builds should be self-testing. That allows us maximum flexibility in spotting breaking changes and prevents a lot of staff time spent trying to both integrate a change and determine why it broke the build.

B.  

We should really use a single source repository. That makes it easier for us to manage what gets into the build pipeline.

C.  

Build everything manually, because that prevents errors.

D.  

Every commit should be built. That ensures we don't wind up with a lot of stray code and that any future change will be testable.

Discussion 0
Questions 3

What are the main advantages of using webhooks/post commit hooks from your Source Code Management system to trigger your Jenkins project rather than using SCM polling? Choose 2 answers A A. Builds are started on a defined a on schedule.

B. Avoid unnecessary overhead from polling.

C. Builds are started immediately after changes are committed.

D. The entire repository Is scanned so no commits are missed.

Options:

Discussion 0
Questions 4

What does the M# of executors" field on the Jenkins master control?

Options:

A.  

Maximum number of jobs which can be run concurrently on attached agents.

B.  

Number of Java threads that can run Jenkins jobs.

C.  

Number of external build agents that can be used for jobs run on this Jenkins master.

D.  

Number of CPU cores configured for this master.

E.  

Number of jobs that can execute simultaneously on the Jenkins master

Discussion 0
Questions 5

Which is a valid agent declaration?

Options:

A.  

agent any

B.  

agent { label 'Slave 1'}

C.  

agent none

D.  

All of these

Discussion 0
Questions 6

Which of the following "agent" directives are not valid in Declarative Pipeline?

Options:

A.  

agent (dockerfile {filename ' Dockerfile' } }

B.  

agent { label 'Minux' }

C.  

agent docker

D.  

agent { docker ' centos:latest' }

E.  

agent none

Discussion 0
Questions 7

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"?

Options:

A.  

It reports its health as "failed" {"Raining Cloud" weather icon), because that is the "worst health of the sub-items".

B.  

It reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."

C.  

It must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.

D.  

It does not report its health on the folder level; only Jobs report health.

Discussion 0
Questions 8

Choose the destinations where Jenkins and its plugins can send job notifications?

Options:

A.  

email

B.  

Slack

C.  

Jira

D.  

SMS messaging

E.  

All of the above

Discussion 0
Questions 9

What's the Jenkinsfile?

Options:

A.  

None of these

B.  

It's only used for freestyle projects

C.  

It contains the definition for a pipeline

D.  

It contains the basic configuration for Jenkins

Discussion 0
Questions 10

Which enables you to use artifacts from a completed build in the workspace of the currently running build?

Options:

A.  

Jenkins core

B.  

Copy Artifact plugin.

C.  

Rebuild plugin.

D.  

ArtifactDeployer plugin.

Discussion 0
Questions 11

Which of the following build steps is most appropriate to use to publish the artifact files of a build?

Options:

A.  

Copy artifact files to the agent file system

B.  

Upload the artifact files to a central artifact repository.

C.  

Stash artifact files.

D.  

Commit the artifact files to git.

Discussion 0
Questions 12

You've been promoted at work and are now in charge of the system administrators that look after the Jenkins platform for your company. You no longer want to get notifications from Jenkins, but your subordinates don't know what settings to change in a Jenkinsfile. You give them a look, and say one of the following is what needs to be changed:

Options:

A.  

notice

B.  

alert

C.  

email

D.  

emailext

Discussion 0
Questions 13

Which is not an option in the Install Wizard?

Options:

A.  

Add SSH Credentials

B.  

Add specific plugins

C.  

Create an Admin user with username and password

D.  

Add common plugins

Discussion 0
Questions 14

You want to execute a Job passing one parameter via the Jenkins RFST API. The correct syntax for this is http: / /server/Job/ myjob_________.

Options:

A.  

/build?Parameter =Value

B.  

/buiWWithParameters?Parameter=Value

C.  

/buildWithParameters

D.  

/build?Parameters=Value

Discussion 0
Questions 15

Which of the following is not a default environment variable in a Jenkins project?

Options:

A.  

START_TIME

B.  

JOB_NAME

C.  

NODE_NAME

D.  

BUILD_NUMBER

Discussion 0
Questions 16

What is the default directory where a build takes place?

Options:

A.  

The Workspace directory.

B.  

The Builds directory in the Job.

C.  

The JENKINS_HOME directory.

D.  

The user's home directory.

Discussion 0
Questions 17

Which Jenkins job status indicates that tests failed ?

Options:

A.  

Aborted

B.  

Success

C.  

Unstable

D.  

Failure

E.  

Not Built

Discussion 0
Questions 18

A Freestyle job is configured to execute concurrent builds, and to only build on a specific agent (agent A) that has 4 executors. You observe that 2 Instances of the job are currently building while several others are waiting in the build queue. Which of the following could explain why the builds are waiting in the build queue?

Options:

A.  

There are not enough idle executors available on agent

A.  

B.  

Changes were made to this job's configuration while this Job had builds in the build queue.

C.  

Each build in the build queue must be manually attached to an available executor.

D.  

The "Execute concurrent builds if necessary option in the job configuration has reached Its user-defined maximum.

Discussion 0
Questions 19

Which are commonly referenced as key points of CI?

Choose 3 answers

Options:

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.

Discussion 0
Questions 20

How do you add a new folder?

Options:

A.  

Click "New Item" in the left dashboard panel, then select "Folder"

B.  

None of these

C.  

Add a folder on the Jenkins master file system in /var/lib/jenkins

D.  

You can add one from another project's "Configuration" view

Discussion 0
Questions 21

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

Options:

A.  

98%

B.  

70%

C.  

75%

D.  

60%

Discussion 0
Questions 22

Which are benefits of binary reuse (compiling once and reusing the built artifact across the rest of the pipeline)? Choose 3 answers

Options:

A.  

guarantees the same source is tested in each environment

B.  

allows the inclusion of environment configurations into the artifact

C.  

enables selectively linking stubs and real classes representing an external interface

D.  

ensures a single version b used throughout the pipeline

E.  

allows a shorter cycle time

Discussion 0
Questions 23

Where does the Jenkinsfile live?

Options:

A.  

/var/lib/jenkins

B.  

/etc/jenkins

C.  

With your source code

D.  

None of these

Discussion 0
Questions 24

How can you trigger a downstream build?

Options:

A.  

Both "Triggered by another project" and the "Parameterized Trigger Plugin"

B.  

You could use the Parameterized Trigger Plugin to trigger from an upstream project.

C.  

In the downstream build, you can select "Triggered by another project."

D.  

Use the run() function passing the downstream projects name from within an upstream project build step.

Discussion 0
Questions 25

Where do you find alerts about Jenkins security issues? Choose 3 answers

Options:

A.  

Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.

B.  

An email message that is automatically sent to all users who have registered with the mailing list at Jenklnssd-advisories@googlegroups.com.

C.  

A banner displayed in the upper right section of the master's home page.

D.  

An email message sent to all users who are listed in the "Send security notifications'' field of the "Extended E-mail Notification" configuration.

E.  

Jenkins logs.

Discussion 0
Questions 26

What's a Jenkins job (or project)?

Options:

A.  

The overall purpose of a Jenkins implementation

B.  

None of these

C.  

Can be scoped to any typical IT task defined in Jenkins

D.  

Employment for an IT worker

Discussion 0
Questions 27

Which is the about the "Build Triggers" functionality in Jenkins?

Options:

A.  

It allows you to customize what specific IP address will never be able to trigger a build.

B.  

It allows you to trigger a build under certain conditions, such as GitHub/BitBucket push events, deployment ratifications,

C.  

It can only be configured on Freestyle projects.

D.  

It allows you to customize the mail to be sent to developers after a failing build.

Discussion 0