Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Latest CJE Actual Free Exam Updated 188 Questions [Q70-Q93]

Share

Latest CJE Actual Free Exam Updated 188 Questions

Online Questions - Valid Practice CJE Exam Dumps Test Questions

NEW QUESTION 70
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. 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.
  • C. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are not senalized.
  • D. A DeclaraDve Pipeline can be restarted only if the preserveStashes() option is set in the pipeline.
  • E. Declarative Pipelines can be resumed only after a transient outage (such as a network failure orfefisk space exhaustion).

Answer: A

 

NEW QUESTION 71
How do you archive artifacts from a Jenkinsfile?

  • A. save
  • B. export
  • C. artifact
  • D. archiveArtifacts

Answer: D

Explanation:
archiveArtifacts can be used to set an archiving strategy for a project in a Jenkinsfile.

 

NEW QUESTION 72
How do you navigate to the Plugin Manager?

  • A. None of these
  • B. There is no graphical Plugin Manager
  • C. Dashboard Left Panel -> Manage Jenkins -> Manage Plugins
  • D. Dashboard Left Panel -> Manage Jenkins -> Configure System -> Manage Plugins

Answer: C

Explanation:
This is the most common way to navigate to the Plugin Manager.

 

NEW QUESTION 73
Which is the expected workflow for "lest-Driven Development"?

  • A. Write a new falling unit test, write the new functional code to fix the test, verify that the test passes, and then refactor the code.
  • B. Validate with the CI system, write the new functional code, and then verify that the test passes.
  • C. Write a new test, validate with the a system, and then write the new functional code.
  • D. Write a new failing unit test, write the new functional code to fix the test, and then verify that the test passes.

Answer: A

 

NEW QUESTION 74
How do you configure notifications in a Jenkinsfile?

  • A. emailext
  • B. notice
  • C. email
  • D. alert

Answer: A

 

NEW QUESTION 75
Which is a common branching strategy?

  • A. Feature branching
  • B. Developer branching
  • C. All are common
  • D. Release branching

Answer: C

Explanation:
These are all common branching strategies.

 

NEW QUESTION 76
What's an example of SCM software?

  • A. Jenkins
  • B. Both Git and Subversion
  • C. Git
  • D. Subversion

Answer: B

Explanation:
Git and Subversion are common SCM software choices.

 

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

  • A. static
  • B. ephemeral and replaceable
  • C. on-master
  • D. tailored to specific builds

Answer: B

 

NEW QUESTION 78
What is the Plugin Manager?

  • A. None of these
  • B. An employee on a DevOps project that ensures all systems are functional
  • C. A command line interface for adding documentation to Jenkins
  • D. The UI to install and configure plugins in the Jenkins WebGUI

Answer: D

Explanation:
The Plugin Manager can be used to add/remove/upgrade/downgrade plugins in Jenkins. These can be used to add functionality to Jenkins.

 

NEW QUESTION 79
You want to deploy a Jenkins pipeline, but you are concerned about the total amount of time it will take for the deployment to complete, and you aren't concerned with files left in the working directory after a build. What should you do?

  • A. Use a clean checkout.
  • B. Choose not to use a clean checkout.
  • C. Tune the "timer" section for the project.
  • D. There's no way to reduce the time

Answer: B

Explanation:
You can save time by not choosing to have a clean checkout for each build

 

NEW QUESTION 80
Where do you find alerts about Jenkins security issues? Choose 3 answers

  • A. Jenkins logs.
  • B. A banner displayed in the upper right section of the master's home page.
  • C. An email message sent to all users who are listed in the "Send security notifications'' field of the "Extended E-mail Notification" configuration.
  • D. An email message that is automatically sent to all users who have registered with the mailing list at [email protected].
  • E. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.

Answer: A,B,C

 

NEW QUESTION 81
Which of the following are true when using build parameters? Choose 3 answers

  • A. If you configure a build parameter of type File, then users can specify a file on the server as build input.
  • B. Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.
  • C. If your Jenkinsfile specifies parameters with the "parameters'' directive, those are the only parameters recognized when the Pipeline executes; any parameters that were specified In the "Project is parameterized" section of the Job configuration are cleared.
  • D. Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.

Answer: B,C,D

 

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

  • A. The build is waiting for an executor to be available.
  • B. A build is waiting for Input.
  • C. An agent is being spawned.
  • D. A groovy script needs to be approved.

Answer: A,C,D

 

NEW QUESTION 83
You were down in the data center working on something else and received a phone call to make a change on the Jenkins server. As the rack does not have sufficient power or internet for you to plug in your laptop, you decide to just use the console on the server itself. How would you access the CLI?

  • A. jenkins
  • B. jcli
  • C. All of these
  • D. java -jar /var/lib/jenkins/jenkins-cli.jar -s http://localhost:8080/

Answer: D

Explanation:
You can utilize the Jenkins CLI for system administration with this command.

 

NEW QUESTION 84
What's the term for an item produced and retained from a build?

  • A. fingerprint
  • B. artifact
  • C. config
  • D. source code

Answer: B

Explanation:
Artifacts are items produced by a build.

 

NEW QUESTION 85
Pipelines often require access to protected resources such as servers, databases, and SCMs. Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?

  • A. Include the secrets In the home directory of the Jenkins agent account.
  • B. Embed secrets into the build and deployment scripts invoked by the job.
  • C. Store the secrets on the Jenkins master using the Credentials plugin.
  • D. Store the secrets required in the SCM alongside the application source code.
  • E. Store the secrets as Node Properties for each agent definition.

Answer: C

 

NEW QUESTION 86
How can you organize Jenkins projects (or jobs)?

  • A. Folders and views
  • B. Folders
  • C. Views
  • D. Relational databases

Answer: A

Explanation:
Projects can be organized in either folders or views.

 

NEW QUESTION 87
Which enables you to use artifacts from a completed build in the workspace of the currently running build?

  • A. Jenkins core
  • B. ArtifactDeployer plugin.
  • C. Copy Artifact plugin.
  • D. Rebuild plugin.

Answer: C

 

NEW QUESTION 88
What's a fingerprint?

  • A. User tracking in Jenkins
  • B. The name of a file
  • C. The size of an artifact in bytes
  • D. An md5sum for an artifact that's tracked between projects

Answer: D

Explanation:
Fingerprints are an md5sum that is used to track artifacts.

 

NEW QUESTION 89
What's the difference between authentication and authorization?

  • A. Authentication identifies a user, while authorization dictates what a user is allowed to do.
  • B. None of these
  • C. Authorization identifies a user, while authentication dictates what a user is allowed to do.
  • D. Authorization is more strict

Answer: A

Explanation:
Authorization and authentication are different but related concepts. They don't vary or indicate a level of strictness.

 

NEW QUESTION 90
What is a code coverage test?

  • A. It tests a small piece of functionality, usually at the class method level.
  • B. It tests components coming together
  • C. It tests how well your code is tested.
  • D. It tests against the product specifications.

Answer: C

 

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

  • A. step
  • B. steps
  • C. collect
  • D. stage
  • E. group

Answer: B

 

NEW QUESTION 92
Which is not a function provided by the Jenkins CLI?

  • A. shutdown
  • B. who-am-i
  • C. restart
  • D. db-dump

Answer: D

Explanation:
The others are all common functions of the CLI

 

NEW QUESTION 93
......

CJE Exam PDF [2023] Tests Free Updated Today with Correct 188 Questions: https://www.testsimulate.com/CJE-study-materials.html