New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium CloudBees CJE Dumps Questions Answers

Page: 1 / 7
Total 186 questions

Certified Jenkins Engineer (CJE) Questions and Answers

Question 1

What's a unit test?

Options:

A.

It tests the functionality of the project as a whole.

B.

It tests against the product specifications

C.

It tests a small piece of functionality, usually at the class method level.

D.

It tests components coming together.

Buy Now
Question 2

You need to automate the deployment of 20 base Jenkins masters. I or this, you set the system property

jenkins.install.runSetupWizard to the Value "false".

Which Is TRUF about your Jenkins masters?

Options:

A.

No default administrator account is created; you have to configure security manually.

B.

A default administrator account is created with username "admin" and password "ad

C.

A default administrator account is created with username "admin" and password from the file

JENKINS_HOME/secrets/initialAdminPassword

D.

A default administrator account is created and you cannot re-enable security.

Question 3

Which of the following is true about resuming a Declarative Pipeline?

Options:

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.

Question 4

What is a code coverage test?

Options:

A.

It tests components coming together

B.

It tests against the product specifications.

C.

It tests a small piece of functionality, usually at the class method level.

D.

It tests how well your code is tested.

Question 5

What type of file extension do plugin files have?

Options:

A.

.rb

B.

.hpi

C.

.groovy

D.

.java

Question 6

What type of agent nodes are there?

Options:

A.

All of the others

B.

SSH

C.

Docker

D.

JNLP

Question 7

Which practices optimize performance on large systems? Choose 2 answers

Options:

A.

Run all builds on agents and never on the master itself.

B.

Use the maximum number of executors at all times and avoid using labels.

C.

Avoid modifying Java parameters that control heap size and garbage collection.

D.

Use plugins as much as possible.

E.

Allocate specific masters for different build types and teams.

Question 8

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.

Question 9

Which answer best describes continuous deployment?

Options:

A.

Building in 60 minutes or less.

B.

A software development discipline where software is built so that it can be released to production at any time.

C.

A software development practice where contributors are integrating their work very frequently.

D.

A software development discipline where software is released continuously as part of an automated pipeline.

Question 10

You've just become the administrator for the Jenkins server, and the feedback you've received from the users is they're having trouble locating their jobs to run them. You've determined that folders are the most logical solution and wish to move the jobs into the new folders you've created. How would you accomplish this?

Options:

A.

All of these

B.

Click existing item; in the item view page, select "move" on the left panel; select target folder.

C.

For new items, click folder; in the folder view, select new item; it will automatically be added to that folder.

D.

Hover and click arrow on existing item, choose "move", select target folder.

Question 11

How do you set a freestyle project to be parameterized?

Options:

A.

From "Project Configuration," select "This project is parameterized."

B.

Freestyle projects don't accept parameters

C.

Choose the project from the parameterized list in the "Configure System" section.

D.

All freestyle projects are parameterized

Question 12

You're setting up a folder config in Jenkins, and you set a couple of items called "child item with worst health" and "recursive." A colleague turns to you, since you know the answers to the rest of his questions, and asks you, "how do I determine the health of the folder with those items set?What's your answer?

Options:

A.

Only top scoped projects will determine the health of a folder.

B.

I don't know. Ask someone else.

C.

Items in nested sub-folders are used to calculate the folders health.

D.

Don't be silly. Folder's don't have health.

Question 13

In Jenkins, a trigger commonly refers to a mechanism that automatically_________.

Options:

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

Question 14

What interval syntax could I use to trigger a build every day?

Options:

A.

@daily

B.

H H * * *

C.

30 12 * * *

D.

All of these

Question 15

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?

Options:

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

Question 16

You need to grant permissions, via matrix-based security, to run a specific command in a Jenkins pipeline. The project parameters will not allow you to create a specific user to run this task, and you have no relevant groups. Which of the following is an option?

Options:

A.

Either creating a group or reassigning the user will work.

B.

Create a group, add an existing user to the task, and grant permissions to that group

C.

Set permissions in Jenkins to allow anonymous users to run the command

D.

Change the workflow to require an existing user to run the task, and assign permissions to that user.

Question 17

DevOps teams can implement traceability of artifacts in a continuous delivery pipeline by using

Options:

A.

the Downstream Builds plugin

B.

manual recording

C.

the Pipeline plugin to fingerprint files

D.

Pipeline labels

Question 18

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.

Question 19

Where does the Jenkinsfile live?

Options:

A.

/var/lib/jenkins

B.

/etc/jenkins

C.

With your source code

D.

None of these

Question 20

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

Options:

A.

It ensures the working directory is clean and not tampered with

B.

None of these

C.

It's faster

D.

It ensures there are no mistakes

Question 21

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%

Question 22

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.

Question 23

You are using a base Jenkins master in production with the recommended set of plugins.

The administrators have configured a Global Pipeline Library named "common-libs", stored in a git repository, with the configuration shown in the exhibit above.

You have a Pipeline job at the root of the Jenkins dashboard, whose script starts with the annotation @LibraryCcommon-libs') _

You want to test this Pipeline job with a beta version of the Global Pipeline Library "common-libs", stored on the branch named ‘’edge’’ the git repository.

Which of the following statements are TRUE? Choose 2 answers

Options:

A.

Replace the @ Library ('common- lib. ' _ annotation with QLibrary('common-libs@edge') and run the job again.

B.

Duplicate the Pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change libs') _ annotation to ^Library ('common-libs: edge1) Replace the ommon-libs1) _ annotation with ^Library (' common -libs: edge') _ and run the job again.

C.

Duplicate the pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change its

annotation to ^Library (' common - libs@edge' )

D.

A Jenkins test instance with the same configuration as the production Jenkins master can be used to achieve this, giving yourself administrator

rights to configure the "edge" branch on the Global Configuration.

E.

You cannot do this on this Jenkins instance.

Question 24

Which of these tasks are ONLY available from the "Manage Jenkins'' page? Choose 2 answers

Options:

A.

Manage plugins

B.

Define views

C.

Configure credentials

D.

Open Blue Ocean

E.

Configure Global Security

Question 25

Which is not a function provided by the Jenkins CLI?

Options:

A.

db-dump

B.

restart

C.

who-am-i

D.

shutdown

Question 26

Which statements about a Distributed Version Control System are correct? Choose 2 answers

Options:

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.

Question 27

In Jenkins, which section in a Freestyle job configuration is used to execute a Linux (shell) or Windows (batch) command?

Options:

A.

Build

B.

Build Environment

C.

Source Code Management

D.

Build Triggers

E.

Post-build Actions

Page: 1 / 7
Total 186 questions