Free CJE Exam Braindumps
Certified Jenkins Engineer (CJE) Questions 66–70 (page: 15)

Updated On: 9-Feb-2026

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 Global Pipeline Libraries housed on a git repository under your company's Github Organization. Which of the following statements is TRUE?

  1. You should configure Global Pipeline Libraries at the Github Organization level: The libraries are running as "untrusted" code, allowing developers to run code on the Groovy sandbox.
  2. You should configufe Global Pipeline Libraries at the Pipeline level: The libraries are running as "untrusted" code, allowing developers to run code on the Groovy sandbox.
  3. You should not configure any Global Pipeline Libraries at all: The libraries are running as "trusted" code, allowing all developers to execute privileged methods.
  4. 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.

Answer(s): C



You want to allow regular users to configure limited aspects of a job but not allow them to change everything, What Jenkins mechanism do to use?

  1. System environment variables
  2. Job Configuration Restriction plugin
  3. Build parameters
  4. Matrix-based security
  5. Declarative Pipeline

Answer(s): A



How can you easily see if a plugin you use needs to be upgraded to a new version?

  1. Check the plugin wiki.
  2. Search for the plugin in the Jenkins artifact repository.
  3. Email the maintained
  4. Check the Jenkins Update Center.

Answer(s): D



Which of the following "agent" directives are not valid in Declarative Pipeline?

  1. agent (dockerfile {filename ' Dockerfile' } }
  2. agent { label 'Minux' }
  3. agent docker
  4. agent { docker ' centos:latest' }
  5. agent none

Answer(s): C



Which of the following is true about resuming a Declarative Pipeline?

  1. All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that built in the original run is available only if the preserveStashes() option is specified in the Jenkinsfile.
  2. Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion)
  3. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are not senalized.
  4. A DeclaraDve Pipeline can be restarted only if the preserveStashes() option is set in the pipeline.
  5. Declarative Pipelines can be resumed only after a transient outage (such as a network failure orfefisk space exhaustion).

Answer(s): B



Viewing page 15 of 39
Viewing questions 71 - 75 out of 186 questions


Post your Comments and Discuss CloudBees CJE exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!