Free CJE Exam Braindumps (page: 25)

Page 25 of 47

You're a DevOps engineer in charge of configuring Jenkins for your team's CI/CD pipeline. You're utilizing the Jenkins pipeline and the Jenkinsfile. You want to define a stage for your build that utilizes the locally installed Ant and build.xml in the root of your project repository. Which is the correct syntax?

  1. step('build') { sh 'ant -f build.xml -v' } }
  2. stage('build') { sh 'ant -f build.xml -v' }
  3. stage('build') { steps { sh 'ant -f build-tools/build.xml -v' } }
  4. stage('build') { steps { sh 'ant -f build.xml -v' } }

Answer(s): D

Explanation:

The steps declarative must exist inside the corresponding stage. stage('build') { steps { sh 'ant -f build.xml -v' } }



Which answer best describes continuous deployment?

  1. Building in 60 minutes or less.
  2. A software development discipline where software is built so that it can be released to production at any time.
  3. A software development practice where contributors are integrating their work very frequently.
  4. A software development discipline where software is released continuously as part of an automated pipeline.

Answer(s): D

Explanation:

Continuous deployment is an extension of continuous integration and continuous delivery. It's important to know the difference. Deployment indicated that the code is continuously deployed to production.



In a JUnit report, if we set the "Health report amplification factor" to 3 and there's a 10% failure, what's the health score?

  1. 98%
  2. 70%
  3. 75%
  4. 60%

Answer(s): B

Explanation:

You would take 100% then subtract (10%*3), thus 70%.



How can you trigger a downstream build?

  1. Both "Triggered by another project" and the "Parameterized Trigger Plugin"
  2. You could use the Parameterized Trigger Plugin to trigger from an upstream project.
  3. In the downstream build, you can select "Triggered by another project."
  4. Use the run() function passing the downstream projects name from within an upstream project build step.

Answer(s): A

Explanation:

Both of these options will work. "Triggered by another project" is configured by the downstream project, and the "Parameterized Trigger Plugin" is invoked from the upstream project. You'd only want to use one of these options.



Page 25 of 47



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

Sandeep Singh commented on December 10, 2024
All questions are from real exam.
UNITED STATES
upvote

Pranesh commented on September 24, 2024
preparing for the exam. little help might be good
UNITED STATES
upvote

Neha commented on February 12, 2024
All questions are from real exam.
Anonymous
upvote

Sa commented on September 17, 2023
Amazing set
CANADA
upvote

Sampo Chan commented on July 18, 2023
Is the Certified Jenkins Engineer exam braindump useful?
Anonymous
upvote

Elliece commented on June 12, 2021
Very easy pass. All questions are from real exam.
GERMANY
upvote