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

CJE Certified Jenkins Engineer (CJE) Questions and Answers

Questions 4

Your supervisor has asked you to explain to the company's development team how using Jenkins will implement continuous integration. You want to make sure the developers understand what that means to them. Which of the following is the most succinct explanation?

Options:

A.

The changes the team makes will be released to production at any time.

B.

The software development team will increase the frequency at which code changes are committed to the build, test, and deployment cycles.

C.

Software changes will now be added to an automated pipeline.

D.

Build time objectives will be targeted to take less than 60 minutes.

Buy Now
Questions 5

How can you configure a Declarative Pipeline to record the fingerprint of an artifact?

Options:

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.

Buy Now
Questions 6

Which is an example of a Jenkins plugin?

Options:

A.

All of the others

B.

Parameterized Trigger

C.

Pipeline

D.

Credentials

Buy Now
Questions 7

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.

Buy Now
Questions 8

Which are Source Code Management tools?

Choose 3 answers

Options:

A.

Java

B.

Perforce

C.

Subversion

D.

Git

E.

Maven

Buy Now
Questions 9

What type of file extension do plugin files have?

Options:

A.

.rb

B.

.hpi

C.

.groovy

D.

.java

Buy Now
Questions 10

You are using the Jenkins CLI to communicate with a remote Jenkins master. Which are valid ways to authenticate your identity gain access?

Choose 2 answers

Options:

A.

A Jenkins user's username and GitHub API token.

B.

An SSH key matching an entry in the authorized_keys file of the user account that the Jenkins master process runs "as".

C.

A Jenkins user's username and Kerberos token.

D.

An SSH key matching a Jenkins user's public key.

E.

A Jenkins user's username and password or API token.

Buy Now
Questions 11

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

Buy Now
Questions 12

Your co-worker was installing a Jenkins instance and went home for the night. When they returned the next day they notice their machine had rebooted, the scrollback of the installation was unretrievable, and they've come to you for help. In what location will you need to look at it to retrieve the initialAdminPassword?

Options:

A.

/opt/jenkins/

B.

/var/lib/jenkins/secrets/

C.

/tmp/Jenkins/

D.

/usr/lib/jenkins/password/

Buy Now
Questions 13

What's "Infrastructure as Code?"

Options:

A.

None of these

B.

Infrastructure is defined in source code, like the Jenkinsfile for a pipeline.

C.

There's no hardware

D.

Source code is hosted in your Infrastructure

Buy Now
Questions 14

What's a big priority of continuous integration?

Options:

A.

Automate only when necessary

B.

Making sure a manager approves every line of code

C.

Fixing broken builds

Making sure everyone gets to contribute the exact same amount

Buy Now
Questions 15

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?

Options:

A.

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

B.

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

C.

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

D.

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

Buy Now
Questions 16

You have a series of tasks which require execution across different software components to prove the compatibility and functionality of your build and the components as a whole. Which of the following describes the type of testing you will perform?

Options:

A.

Acceptance testing

B.

Smoke testing

C.

Unit testing

D.

Integration testing

Buy Now
Questions 17

Which can be defined in and limited to a specific folder and its subfolders? Choose 4 answers

Options:

A.

Permissions to run jobs and Pipeline

B.

Credentials

C.

View definitions

D.

Plugins

E.

Pipeline shared libraries

Buy Now
Questions 18

You are the administrator of a base Jenkins master with the recommended set of plugins installed. You want to protect the Jenkins master against malicious (or bad) usages of Groovy methods. You also want your users to be able to share their Pipeline code via Global Pipeline Libraries housed on a git repository under your company's Github Organization. Which of the following statements is TRUE?

Options:

A.

You should configure Global Pipeline Libraries at the Github Organization level: The libraries are running as "untrusted" code, allowing developers to run code on the Groovy sandbox.

B.

You should configufe Global Pipeline Libraries at the Pipeline level: The libraries are running as "untrusted" code, allowing developers to run code on the Groovy sandbox.

C.

You should not configure any Global Pipeline Libraries at all: The libraries are running as "trusted" code, allowing all developers to execute privileged methods.

D.

You should not configure any Global Pipeline Libraries at the folder level: The libraries are running as "trusted" code, allowing all developers to execute privileged methods.

Buy Now
Questions 19

Which arc true when installing new plugins? Choose 2 answers

Options:

A.

If you check the "Enable rollbacks when upgrading" box, future updates to an the plugin can easily be rolled back when necessary.

B.

The previous public release of a plugin is installed for reliability instead of Installing the most recent public release.

C.

Most plugins can be Installed without stopping and starting Jenkins.

D.

You must install all required and optional dependencies before Installing the plugin with the plugin manager.

E.

If you are running Jenkins under an HTTP proxy, you must configure HTTP proxy access for the plugin manager before Installing or updating plugins.

Buy Now
Questions 20

How do you set up the Git Plugin Git hook from a project configuration perspective?

Options:

A.

Set the "GitHub hook trigger for GITScm polling" trigger

B.

Set the "Poll scm" trigger, but you don't have to specify an interval

C.

None of these

D.

Set the "Build Periodically" trigger, but you don't have to specify an interval

Buy Now
Questions 21

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

Buy Now
Questions 22

What determines what can be seen in a "My View"?

Options:

A.

It shows items that match a filter regular expression.

B.

It shows all items configured in Jenkins.

C.

It shows all items a user has permission to view in Jenkins.

D.

None of these

Buy Now
Questions 23

What is Jenkins matrix-based security?

Options:

A.

None of these

B.

An option that doesn't come with Jenkins by default

C.

An option that doesn't allow user specific permissions

D.

Allows the administrator to grant very specific permissions to users and groups.

Buy Now
Questions 24

How do you configure notifications in a Jenkinsfile?

Options:

A.

emailext

B.

notice

C.

email

D.

alert

Buy Now
Questions 25

You're a DevOps engineer in charge of configuring Jenkins for your team's CI/CD pipeline. You're utilizing the Jenkins pipeline and the Jenkinsfile. You want to define a stage for your build that utilizes the locally installed Ant and build.xml in the root of your project repository. Which is the correct syntax?

Options:

A.

step('build') { sh 'ant -f build.xml -v' } }

B.

stage('build') { sh 'ant -f build.xml -v' }

C.

stage('build') { steps { sh 'ant -f build-tools/build.xml -v' } }

D.

stage('build') { steps { sh 'ant -f build.xml -v' } }

Buy Now
Questions 26

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
Questions 27

You can use Jenkins' database to manage users.

Options:

A.

True

B.

False

Buy Now
Exam Code: CJE
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: Dec 25, 2024
Questions: 186
CJE pdf

CJE PDF

$25.5  $84.99
CJE Engine

CJE Testing Engine

$30  $99.99
CJE PDF + Engine

CJE PDF + Testing Engine

$40.5  $134.99