Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

CJE Certified Jenkins Engineer (CJE) Questions and Answers

Questions 4

Which of the following practices are recommended for a Declarative Pipeline? Choose 3 answers

Options:

A.

Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.

B.

Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.

C.

Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.

D.

Call scripts written In Shell, Batch, Groovy, or Python to implement any complex logic required for your pipeline; call these scripts as steps in your pipeline.

E.

Use took such as Maven, Gradle, NPM, Ant, and Make to define most of the build work; cad these executables as steps In your pipeline.

Buy Now
Questions 5

You have taken over a build environment where Jenkins is responsible for scanning for changes made in a Git repository every hour and then applying that build to a few dozen web servers. As part of that job, Jenkins also is responsible for completing some scripted performance-based Visit us athttps://www.examsboost.com/test/cje/ Leading the way in IT testing and certification tools, www.examkiller.net tests and, depending on the defined results, marking the build as complete and notifying the team OR rolling back the build, notifying the team, and marking it as failed. You notice that the build itself is now taking longer than an hour to complete, which is affecting the push of new changes on occasion. What changes could you make to your Jenkins environment to alleviate the amount of time it takes to complete and test a build so that the hourly schedule is more likely to be kept?

Options:

A.

Create additional Jenkins Masters and deploy the job to each one. Schedule the job staggered by 30 minutes on each one so that the additional master servers won’t be busy if the first job runs long.

B.

Add one or more slave nodes to the environment, this will allow us to deploy code to multiple end points at one time. Break up the single job into multiple jobs so that each one can be triggered by the successful completion of the previous job to eliminate scheduling problems on beginning a new build in the event subsequent steps run longer than the intended time period.

C.

None of these

D.

Remove the performance testing from the build. Schedule performance testing as a separate job 30 minutes after the build runs and trigger a rollback if the performance testing fails at this point.

Buy Now
Questions 6

What do you need to configure an SSH agent?

Options:

A.

A username and password configured for the slave node

B.

SSH keys with the Master's pub key set as an authorized key on the agent node

C.

No special authorization setup

D.

None of these

Buy Now
Questions 7

Which is an invalid default project parameter?

Options:

A.

Boolean

B.

File

C.

String

D.

md5

Buy Now
Questions 8

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 9

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 10

Jenkins, along with several other automation platforms, provides developers and operators with tools that allow them to automate the deployment of environments with preconfigured source code, including the CI pipeline. What is this called?

Options:

A.

Continuous Integration

B.

Continuous Deployment

C.

Continuous Delivery

D.

Infrastructure as Code

Buy Now
Questions 11

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 12

What's an example of SCM software?

Options:

A.

Jenkins

B.

Subversion

C.

Git

D.

Both Git and Subversion

Buy Now
Questions 13

What directive do you use for a declarative pipeline?

Options:

A.

config {..}

B.

project {..}

C.

pipeline {..}

D.

test {..}

Buy Now
Questions 14

Pipelines often require access to protected resources such as servers, databases, and SCMs. Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?

Options:

A.

Store the secrets on the Jenkins master using the Credentials plugin.

B.

Include the secrets In the home directory of the Jenkins agent account.

C.

Store the secrets required in the SCM alongside the application source code.

D.

Embed secrets into the build and deployment scripts invoked by the job.

E.

Store the secrets as Node Properties for each agent definition.

Buy Now
Questions 15

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 16

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 17

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 18

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

Buy Now
Questions 19

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 20

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

Buy Now
Questions 21

Which is a valid agent declaration?

Options:

A.

agent any

B.

agent { label 'Slave 1'}

C.

agent none

D.

All of these

Buy Now
Questions 22

You are in charge of a new development process and find that the current branching strategies may have room for improvement. Which types of common strategies might you recommend?

Options:

A.

Feature branching and release branching, but not developer branching, are common branching strategies.

B.

Developer branching and feature branching, but not release branching, are common branching strategies.

C.

Developer branching, feature branching, and release branching are common branching strategies.

D.

Release branching and developer branching, but not feature branching, are common branching strategies.

Buy Now
Questions 23

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

Buy Now
Questions 24

Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answers

Options:

A.

Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block.

B.

Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks.

C.

Stages are the logical segmentation of a Pipeline; they contain steps that define actual tasks.

D.

Each pipeline must have a global agent specification.

E.

All stages in a Pipeline must execute on the same type of agent.

Buy Now
Questions 25

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 26

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 27

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
Exam Code: CJE
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: May 4, 2024
Questions: 186
CJE pdf

CJE PDF

$28  $80
CJE Engine

CJE Testing Engine

$33.25  $95
CJE PDF + Engine

CJE PDF + Testing Engine

$45.5  $130