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

You are the administrator of a base Jenkins master with the recommended set of plugins installed. You want to protect the Jenkins master against malicious (or bad) usages of Groovy methods. You also want your users to be able to share their Pipeline code via Globa Pipeline Libraries housed on a git repository under your company's Github Organization. Which of the following statements is TRUE?

A.

You should configure Global Pipeline Libraries at the Github Organization level: The libraries are running as "untrusted" code, allowing developer to run code on the Groovy sandbox.

B.

You should not configure any Global Pipeline Libraries at the folder level: The libraries are running as "trusted" code, allowing all developers to execute privileged methods.

C.

You should configure Global Pipeline Libraries at the Pipeline level: The libraries are running as "untrusted" code, allowing developers to run cod on the Groovy sandbox.

D.

You should not configure any Global Pipeline Libraries at all: The libraries are running as "trusted" code, allowing all developers to execute privileged methods.

When using SSH to launch an agent, which are required? Choose 2 answers

A.

OpenSSL must be instated on the agent.

B.

The agent's SSH Public Key must be in the master's authorized keys.

C.

The pubic key of the credential that is used for the agent must be installed on the agent.

D.

You must log into the agent with SSH and start the agent.

E.

SSHD must be installed on the agent.

Which is a valid procedure for controlling the targets on which Cluster Operations steps are performed?

A.

Specify a target "label’’ on the Ouster Operations job configuration screen, restricting al operations to Masters and Update Centers with that label.

B.

Specify a target "label" on each operation on the Ouster Operations job configuration screen, restricting that operation to masters and Update Centers with that label.

C.

Specify a target "source" and "filter" on the operation on the Cluster Operations Job configuration screen.

D.

It is not possible to limit steps to specific targets.

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

A.

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

B.

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

C.

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

D.

Each pipeline must have a global agent specification.

E.

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

Declarative Pipelines and Scripted Pipelines are both defined in a Jenkinsfilee and use the same underlying subsystem. Which of the following is NOT true when discussing Declarative versus Scripted Pipelines?

A.

Scripted Pipelines usually execute significantly faster than the comparable Declarative Pipeline.

B.

Declarative Pipelines usually use the "agent" section to define the node where the code should execute but the "node" parameter can be used instead and allows for additional options such as "customWorkspace’’.

C.

Scripted Pipelines require extensive knowledge of the Apache Groovy syntax wher ease Declarative Pipelines can be implemented with minimal understanding of Groovy and so have a lower risk of syntax errors than Scripted Pipelines.

D.

You can use the Declarative Directive Generator to help structure statements for Declarative Pipelines and use the Snippet Generator to help structure statements for Scripted Pipelines.

E.

Scripted Pipelines can implement some functionality that Declarative Pipeline syntax does not support, although small bits of scripted syntax can be included In a Declarative Pipeline by using the "script" step.

Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers

A.

Builds can be triggered with millisecond granularity.

B.

Job definition can be loaded from the Source Code Management system at build time.

C.

Jenkins can be restarted while a build is In progress without impacting the build.

D.

Builds can be parameterized.

E.

No extra plugins must be installed.