Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

CloudBees CJE - Certified Jenkins Engineer (CJE)

Page: 4 / 6
Total 186 questions

A freestyle job is set up to "Enable concurrent builds if necessary" and configured to run on a single node. How can you ensure that multiple concurrent runs share the same workspace?

A.

Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.

B.

Check "Do not lock workspace" In the Advanced Project Options of the project.

C.

Multiple concurrent runs can never share the same workspace.

D.

Define a "Custom workspace" path for the job.

What's an example of a cloud-based SCM?

A.

GitHub

B.

Atlassian BitBucket

C.

All of these

D.

AWS CodeCommit

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?

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.

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?

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

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

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

A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?

A.

It removes 3 combinations In every 4.

B.

It removes one combination in every 4.

C.

It removes the fourth combination.

D.

Nothing. The syntax is Invalid.

E.

It removes the first combination.

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?

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.

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

A.

Build

B.

Build Environment

C.

Source Code Management

D.

Build Triggers

E.

Post-build Actions

When would you use distributed builds?

A.

When you want to preserve resources on the master node

B.

When you want to simplify your architecture

C.

When you have few jobs and plenty of resources on your master

D.

When security isn't a concern

How do you configure a JUnit report in a pipeline?

A.

None of these

B.

junit-report "path to xml file"

C.

generate "junit-report"

D.

junit "path to xml file"