Pass4itsure > CloudBees > Jenkins Engineer > CJE > CJE Online Practice Questions and Answers

CJE Online Practice Questions and Answers

Questions 4

A Freestyle job is configured to execute concurrent builds, and to only build on a specific agent (agent A) that has 4 executors. You observe that 2 Instances of the job are currently building while several others are waiting in the build queue. Which of the following could explain why the builds are waiting in the build queue?

A. There are not enough idle executors available on agent A.

B. Changes were made to this job's configuration while this Job had builds in the build queue.

C. Each build in the build queue must be manually attached to an available executor.

D. The "Execute concurrent builds if necessary option in the job configuration has reached Its user-defined maximum.

Buy Now
Questions 5

What is the purpose of the "Manage Users" section of the Manage Jenkins dashboard?

A. Contains entries used for the security matrix or project security matrix.

B. Defines aliases for credentials that have been created In the external security realm.

C. Each user who is allowed access to Jenkins must have an entry in this Jenkins user database.

D. Defines user groups used for role-based strategy authorization.

E. Populates the Jenkins user database that can be used if you are not using an external security realm such as LDAP, Active Directory, or Unix user/groups.

Buy Now
Questions 6

Which practices optimize performance on large systems? Choose 2 answers

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.

Buy Now
Questions 7

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

A. smoke tests

B. acceptance tests

C. functional tests

D. non-regression tests

Buy Now
Questions 8

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

Buy Now
Questions 9

Which can be defined in and limited to a specific folder and its subfolders? Choose 4 answers A. Permissions to run jobs and Pipeline

B. Credentials

C. View definitions

D. Plugins

E. Pipeline shared libraries

Buy Now
Questions 10

Which of the following are true about credentials that are implemented in a Declarative Pipeline using the "credentials"or "withCredentials( )" method?

Choose 2 answers

A. All credential bindings support the "Secret Text" and "Standard username and password" credential types.

B. Credential IDs are case Insensitive.

C. The credential types supported are defined by the binding plugin (or the resource being accessed.

D. Most credentials called from a pipeline have Global scope, not System scope.

Buy Now
Questions 11

What is the preferred method for a Jenkins administrator to notify nil Jenkins users about upcoming system maintenance?

A. Add text to the "System Message" field on the "System Configuration" page to populate a banner displayed across the top of the master's home page.

B. On the "System Configuration" page, choose the "Maintenance Alerts" option from the "Alerts" dropdown menu and populate the box with a message to be added to all build logs.

C. Populate the "Email Notifications" section of the "System Configuration" page with a message to be sent as email to all registered Jenkins users.

D. On the master's dashboard, dick "add description" or "edit description" to populate a banner displayed across the top of the master's home page.

Buy Now
Questions 12

Which of the following are true when using environment directives in a Declarative Pipeline?

Choose 3 answers

A. If an environment variable b enclosed In single quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable Is enclosed in double quotes, the name of the environment variable itself is passed to the "sh" or 'bat" step and the shell interpreter on the agent dereferences the variable.

B. If an environment variable Is enclosed In double quotes, the Pipeline DSL dereferences the variable on the master's JVM and passes the calculated string to the sh or bat step; if the environment variable isenclosed in single quotes, thename of the environment variable itself is passed to the "sh" or "bat" step and the shell interpreter on the agent dereferences the variable.

C. A Declarative Pipeline can use environment variables defined In Jenkins Itself (such as BUILD_NUMBER and JENKINS^URL), environment variables defined in an installed plugin (such as GIT,,COMMIT or GIT .BRANCH, defined in the Git plugin), or environment variables that are coded as directives in the Pipeline itself; the semantics are identical for all environment variables.

D. An environment variable can be specified globally (to apply to all steps in the pipeline), for an individual step, or for one or more specified steps In the Pipeline,

Buy Now
Questions 13

The Jenkins Install Wizard allows you to

A. define non-admin users for Jenkins

B. completely define the security and notification settings of the Jenkins Instance you are installing

C. define an-admin user for Jenkins

D. define the security settings of the Jenkins instance you are installing

E. define executor agents

Buy Now
Exam Code: CJE
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: May 02, 2024
Questions: 60
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99