Pass the CloudBees Jenkins Engineer CJE Questions and answers with CertsForce

Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions
Questions # 31:

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.


Expert Solution
Questions # 32:

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


Expert Solution
Questions # 33:

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.


Expert Solution
Questions # 34:

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


Expert Solution
Questions # 35:

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

Choose 3 answers

Options:

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 is enclosed in single 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.


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,


Expert Solution
Questions # 36:

What's a benefit of incremental updates over a clean checkout?

Options:

A.

It ensures there are no mistakes


B.

None of these


C.

It's faster


D.

It's more thorough


Expert Solution
Questions # 37:

What best describes DevOps?

Options:

A.

None of these


B.

A pioneer in education


C.

An organizational culture where developers and operations are working in harmony


D.

The practice of developing optimal work practices


Expert Solution
Questions # 38:

What type of agent nodes are there?

Options:

A.

All of the others


B.

SSH


C.

Docker


D.

JNLP


Expert Solution
Questions # 39:

What's the difference between continuous integration and continuous delivery?

Options:

A.

Continuous deployment means the code CAN be released at any time, while continuous integration means it is released continuously.


B.

Continuous delivery means the code CAN be released at any time, while continuous integration means it is released continuously


C.

Continuous integration is just the practice of integrating code continuously. It doesn't necessarily mean that it can be released at any time like continuous delivery


D.

Continuous delivery and continuous integration are the same thing.


Expert Solution
Questions # 40:

You can set permissions for anonymous users with matrix-based security.

Options:

A.

False


B.

True


Expert Solution
Viewing page 4 out of 6 pages
Viewing questions 31-40 out of questions