Easter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

CJE Sample Questions Answers

Questions 4

Which of the following are true when using build parameters? Choose 3 answers

Options:

A.

If your Jenkinsfile specifies parameters with the "parameters'' directive, those are the only parameters recognized when the Pipeline executes; any parameters that were specified In the "Project is parameterized" section of the Job configuration are cleared.

B.

Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.

C.

Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.

D.

If you configure a build parameter of type File, then users can specify a file on the server as build input.

Buy Now
Questions 5

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.

Buy Now
Questions 6

Which of the following would correctly complete the sentence, "Continuous Integration is a of Continuous Delivery"? Choose 2 answers

Options:

A.

consolidation

B.

requirement

C.

process definition

D.

subset

E.

superset

Buy Now
Questions 7

In a Pipeline, the stage step_________.

Options:

A.

can be used to group a number of other steps into a logical unit for display

B.

collects a set of artifacts that can be referenced in a later Pipeline step

C.

prepares a test environment in Jenkins

D.

transfers artifacts to a staging server for testing

Buy Now
Questions 8

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.

Buy Now
Questions 9

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.

Buy Now
Questions 10

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

Buy Now
Questions 11

What's the term for an item produced and retained from a build?

Options:

A.

source code

B.

fingerprint

C.

artifact

D.

config

Buy Now
Questions 12

When you want to validate that your software produces the desired behavior for end users, you need to use

Options:

A.

smoke tests

B.

acceptance tests

C.

functional tests

D.

non-regression tests

Buy Now
Questions 13

What does a flashing build icon in the Build History indicate?

Choose 3 answers

Options:

A.

A groovy script needs to be approved.

B.

A build is waiting for Input.

C.

The build is waiting for an executor to be available.

D.

An agent is being spawned.

Buy Now
Questions 14

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

Buy Now
Questions 15

What directive do you use for a declarative pipeline?

Options:

A.

config {..}

B.

project {..}

C.

pipeline {..}

D.

test {..}

Buy Now
Questions 16

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

Buy Now
Questions 17

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 18

You're at a job interview and the interviewer looks at you, trying to make you nervous. He looks down at his paper, looks up at you and asks, "How would you describe continuous integration?" You think to yourself. Which of the following answers is best?

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 discipline where software is released continuously as part of an automated pipeline.

D.

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

Buy Now
Questions 19

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

Buy Now
Questions 20

Which answer best describes continuous integration?

Options:

A.

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

B.

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

C.

Building in 60 minutes or less.

D.

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

Buy Now
Questions 21

What is an SCM?

Options:

A.

Source Code (or Control) Management

B.

Structural Code Machine

C.

Super Core Management

D.

None of the above

Buy Now
Questions 22

What's a functional test?

Options:

A.

It tests against the product specifications.

B.

It tests the functionality of the project as a whole.

C.

It tests components coming together

D.

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

Buy Now
Questions 23

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

Buy Now
Questions 24

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

Buy Now
Questions 25

You were down in the data center working on something else and received a phone call to make a change on the Jenkins server. As the rack does not have sufficient power or internet for you to plug in your laptop, you decide to just use the console on the server itself. How would you access the CLI?

Options:

A.

All of these

B.

java -jar /var/lib/jenkins/jenkins-cli.jar -s http://localhost:8080/

C.

jenkins

D.

jcli

Buy Now
Questions 26

Your organization has been carefully and painstakingly performing builds on specific commits which the development team deems as releases or release candidates and subsequently only testing major releases. You have been placed in charge of a new project in which continuous integration is the primary goal. Which part of your organization's existing process do you need to modify in the furtherance of the goal of continuous integration?

Options:

A.

Building every commit.

B.

Maintaining a single source repository.

C.

Building everything manually with great care.

D.

Making Builds Self-Testing.

Buy Now
Questions 27

Which step is NOT part of a traditional continuous integration workflow?

Options:

A.

Add or change tests as necessary

B.

Checkout from an SCM.

C.

Update with latest code from the mainline.

D.

Ask your manager for permission to commit code.

Buy Now
Questions 28

In order to send email notifications on build completion using Jenkins' built in mail functionality, which TWO of the following must be true?

Options:

A.

The job must be configured to send email.

B.

Jenkins must be successfully configured to point to a mail server.

C.

Jenkins must be directly connected to the Internet.

D.

Jenkins must have a unique email address.

E.

Sendmail must be Installed and running on the same machine as Jenkins.

Buy Now
Questions 29

What's the difference between an upstream project and a downstream project?

Options:

A.

An upstream project has more build steps

B.

An upstream project triggers a downstream project.

C.

A downstream project produces no artifacts.

D.

A downstream project triggers an upstream project.

Buy Now
Questions 30

How do you use the Jenkins CLI?

Options:

A.

jcli

B.

There is no Jenkins CLI

C.

java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/

D.

jenkins

Buy Now
Questions 31

You want to allow regular users to configure limited aspects of a job but not allow them to change everything, What Jenkins mechanism do to use?

Options:

A.

System environment variables

B.

Job Configuration Restriction plugin

C.

Build parameters

D.

Matrix-based security

E.

Declarative Pipeline

Buy Now
Questions 32

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.

Buy Now
Questions 33

You have now been given charge over an existing Jenkins system install that was previously started by a colleague who is gone on a business trip. He left it in the install wizard phase. Unfortunately, your colleague did not note the initialAdminPassword. Where on the systemwould this be located?

Options:

A.

/var/lib/jenkins/secrets/InitialAdminPassword

B.

/var/lib/jenkins/adminPassword

C.

/var/lib/jenkins/workspace/secrets/InitialAdminPassword

D.

/home/jenkins/secrets/InitialAdminPassword

Buy Now
Questions 34

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.

Buy Now
Questions 35

When you upgrade a plugin and find an issue in the new version, how ran you move hade to the previously installed version? Choose 2 answers

Options:

A.

Use the pluginManager.downgrade method in the script console.

B.

Select the version you want to use in the global configuration section for this plugin.

C.

Select one of the previous versions in the Plugin Manager.

D.

Manually download and install the previously installed version.

E.

Use the "downgradeplugin" command In the Jenkins CI I

F.

Use the button on the Plugin Manager that allows a downgrade to the previously installed version.

Buy Now
Questions 36

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.

Buy Now
Questions 37

How do you setup the GitHub Plugin Git hook from a Project Configuration Perspective?

Options:

A.

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

B.

None of these

C.

Set the "GitHub hook trigger for GITScm polling" trigger

D.

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

Buy Now
Questions 38

You're a DevOps engineer in charge of your team's Jenkins server. You have a particular stage in your pipeline that you want to run on a particular build node. You have to have Apache installed on this node. Assuming the node has been appropriately labeled, "apache", how would you ensure this stage ran on that node?

Options:

A.

apache agent

B.

agent { label 'apache' }

C.

agent( 'apache' )

D.

apache' { agent }

Buy Now
Questions 39

What's an example of SCM software?

Options:

A.

Jenkins

B.

Subversion

C.

Git

D.

Both Git and Subversion

Buy Now
Questions 40

What's not true about a build executor?

Options:

A.

The default number of executors on a node is 4.

B.

You can run many of them in parallel.

C.

They can run on the master.

D.

It runs projects dictated by Jenkins.

Buy Now
Questions 41

In a Multibranch Pipeline project, you removed a branch in the repository. When is the corresponding "orphaned" job removed?

Options:

A.

All orphaned jobs that match the "Orphaned Item Strategy" are cleaned up automatically every 24 hours.

B.

All orphaned jobs are cleaned up every time the Multibranch project is saved.

C.

All orphaned jobs that match the "Orphaned Item Strategy" configuration are cleaned up on every branch re-index process.

D.

All "orphaned" jobs are cleaned up on every branch re-Index process.

Buy Now
Questions 42

Which is not a function provided by the Jenkins CLI?

Options:

A.

db-dump

B.

restart

C.

who-am-i

D.

shutdown

Buy Now
Questions 43

What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?

Options:

A.

Delete artifacts, togs, and backups that are no longer required.

B.

Clean up workspaces left by deleted Jenkins users.

C.

Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.

D.

Delete or restore old credentials details.

E.

Prepare for migration from Jenkins 1 to Jenkins 2.

Buy Now
Questions 44

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

Buy Now
Questions 45

What can a plugin do?

Options:

A.

Manage credentials for Jenkins

B.

All of these

C.

Add a build step option to Jenkins

D.

Provide backup functionality to Jenkins

Buy Now
Questions 46

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 47

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?

Options:

A.

Use an input step just before the deploy stage.

B.

This is not possible using Pipeline, because a Pipeline must run from start to finish without human interaction.

C.

Create a separate Pipeline to run the deploy stage.

D.

Use a stage step just before the deploy stage.

Buy Now
Questions 48

How do you configure the distribution of builds on each node?

Options:

A.

You configure it in the global configuration

B.

It happens largely automatically; although, you can configure the number of executors on a node.

C.

You configure it from "Configure System"

D.

You configure it from the project configuration

Buy Now
Questions 49

Which isn't a common Jenkins build tool?

Options:

A.

Ant

B.

Excel

C.

Docker

D.

Gradle

Buy Now
Questions 50

Which is the expected workflow for "lest-Driven Development"?

Options:

A.

Validate with the CI system, write the new functional code, and then verify that the test passes.

B.

Write a new test, validate with the a system, and then write the new functional code.

C.

Write a new falling unit test, write the new functional code to fix the test, verify that the test passes, and then refactor the code.

D.

Write a new failing unit test, write the new functional code to fix the test, and then verify that the test passes.

Buy Now
Questions 51

Which keyword is used to group related parts of a Declarative Pipeline?

Options:

A.

collect

B.

step

C.

stage

D.

steps

E.

group

Buy Now
Questions 52

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:

Buy Now
Questions 53

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 54

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.

Buy Now
Questions 55

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

Options:

A.

Check the plugin wiki.

B.

Search for the plugin in the Jenkins artifact repository.

C.

Email the maintained

D.

Check the Jenkins Update Center.

Buy Now
Exam Code: CJE
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: May 14, 2024
Questions: 186
$64  $159.99
$48  $119.99
$40  $99.99
buy now CJE