Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

What is the purpose of Pipeline checkpoints?

A.

To allow continuing the build on another agent.

B.

To avoid having to rerun the entire Pipeline If a transient error occurs.

C.

To visually separate stages.

D.

To run additional tests.

E.

To configure pipelines to send a progress report by email when a checkpoint is reached.

Which of the following are true when using environment directives In a Declarative Pipelined?

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 she! Interpreter on the agent dereferences the variable.

B.

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.

C.

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.

D.

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 m the Git plugin), or environment variables that are coded as directives In the Pipeline Itself: the semantics are identical for all environment variables.

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

A.

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

B.

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

C.

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

D.

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

E.

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.

Which are direct benefits of using the CloudBees Core Operations Center?

Choose 2 answers

A.

Operations Center enables you to interconnect different CI systems, such as CloudBees CodeShip and Jenkins

B.

It is easier to share resources among Jenkins masters that are connected to the same Operations Center.

C.

It is easier to run Pipelines on the Operations Center because it can retrieve resources from all connected masters.

D.

Operations Center handles the build toad more efficiently by scheduling tasks on idle Jenkins masters.

E.

It Is easier to perform administration tasks (such as upgrading a plugin) on a group of masters that are attached to the same Operations Center.

In a Freestyle fob, the tests are being executed within a Shell build step and then published vid the "Publish JUnit results" post build action. Which conditions must Alt be met In order for the JUnit publisher to display the job status .is "Unstable’’?

Choose 3 answers

A.

The "Publish JUnR results" reporter finds the test reports.

B.

All build steps are successful.

C.

There is at least one SKIPPED test case.

D.

All publishers before "Publish JUnit results" assign the SUCCESS status.

E.

The overall "stability report amplification factor" is greater than 1.00.

F.

There is at least one FAILED test case.

Which are ways to influence the number of build artifacts that can be archived? Choose 2 answers

A.

unit build data using the job setting "Discard old builds".

B.

Change the order of jobs in the pipeline.

C.

Gear the Jenkins cache.

D.

Increase the size of the JENKINS.HOME partition/logical volume.

E.

Make sure you regularly delete unused views.

When running Cloud Bees Core on traditional platforms, what happens when a fail over lakes place on a High Availability configuredClient Master?

A.

Users will notice that builds in progress on the failed node are lost but they will not notice any downtime on the service because the sessions and workload are shared between participating Client Master nodes; we have an active-active HA setup.

B.

Users will not notice anything because participating Master nodes share workloads together; we have an active-active HA setup.

C.

Users will experience a brief downtime, comparable to the time required to reboot a Jenkins master in a non-HA setup. Freestyle builds that were in progress are lost, but Pipeline builds will resume when the secondary master is online; we have an active passive setup.

D.

Users will not notice anything because the sessions are shared between participating Client Masters and the $JE NKINS HOME directory of the failed Client Master Is copied to resume the failed master's work; we have an active passive setup.

Which of the following statements are TRUI about Global Pipeline Libraries Groovy scripts? Choose 2 answers

A.

They can be stored on an NFS shared folder of your infrastructure.

B.

They can be stored on the Jenkins master, inside the JENKINS.HOME/.globallibrary folder.

C.

They can be stored by the Jenkins administrators, using a custom Job manager.

D.

They can be stored on a git repository hosted by the Jenkins master.

E.

They can be stored on an external SVN repository.

What Is the most efficient way to configure an environment variable that is needed for several pipelines and/or fobs?

A.

Download the value from a URL during the build itself.

B.

Define the environment variable in a shared library function that each Job calls.

C.

Set the environment variable on each pipeline or Job.

D.

Define the environment variable on the Operations Center so it is available to all pipelines and Jobs, whereever they run in the duster.

E.

Put all the pipelines and Jobs on one master or in one folder and set the environment variable in that master or folder.

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

A.

group

B.

steps

C.

collect

D.

stage

E.

steps