Exam Details

  • Exam Code
    :CJE
  • Exam Name
    :Certified Jenkins Engineer (CJE)
  • Certification
    :Jenkins Engineer
  • Vendor
    :CloudBees
  • Total Questions
    :60 Q&As
  • Last Updated
    :May 11, 2024

CloudBees Jenkins Engineer CJE Questions & Answers

  • Question 21:

    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,

  • Question 22:

    Which can you do with the Jenkins Install Wizard? Choose 3 answers

    A. Install a pre-defined set of recommended plugins.

    B. Install Jenkins without any extra plugins.

    C. Choose the version of Jenkins core to install.

    D. Manually select plugins to install from a set of predefined plugins.

    E. Install all existing open-source plugins for Jenkins.

  • Question 23:

    One quality of an ideal build node K that it is_________.

    A. ephemeral and replaceable

    B. tailored to specific builds

    C. on-master

    D. static

  • Question 24:

    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.

  • Question 25:

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

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

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

    C. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.

    D. 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.

    E. Use took such as Maven, Gradle, NPM, Ant, and Make to define most of the build work; cad these executables as steps In your pipeline.

  • Question 26:

    What does a flashing build icon in the Build History indicate? Choose 3 answers

    A. A groovy script needs to be approved.

    B. A build is waiting for Input.

    C. The build is waiting for an executor to be available.

    D. An agent is being spawned.

  • Question 27:

    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.

  • Question 28:

    A Freestyle job has the configuration shown here: You run the following command from a Unix terminal: curl http: ///git/notifyCommit? url-gitagithub.com: cloudbees/github test.git Will the Job be triggered?

    A. It will not be triggered.

    B. It will be triggered if the polling detects a change In any git branch.

    C. It will be triggered if the polling detects a change In the git branch "master".

    D. It will be triggered if the polling detects a change in the git branch "development".

  • Question 29:

    What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?

    A. Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc.).

    B. It is deleted on the next restart of Jenkins.

    C. It Is deleted on the next configuration reload.

    D. It Is deleted Immediately.

    E. The data is backed up and then deleted from the live configuration.

  • Question 30:

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

    A. Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).

    B. Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space exhaustion).

    C. All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that was built In the original run Is available only If the preserveStashes() optionIs specified In the Jenkinsfile

    D. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to createthe container are not serialized

    E. A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only CloudBees exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CJE exam preparations and CloudBees certification application, do not hesitate to visit our Vcedump.com to find your solutions here.