CJE Dumps with Practice Exam Questions Answers [Q18-Q36]

Share

CJE Dumps with Practice Exam Questions Answers

CJE by Jenkins Engineer Actual Free Exam Practice Test

NEW QUESTION 18
Which is the about the "Build Triggers" functionality in Jenkins?

  • A. It allows you to trigger a build under certain conditions, such as GitHub/BitBucket push events, deployment ratifications,
  • B. It can only be configured on Freestyle projects.
  • C. It allows you to customize the mail to be sent to developers after a failing build.
  • D. It allows you to customize what specific IP address will never be able to trigger a build.

Answer: A

 

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

  • A. 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.
  • 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. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
  • E. 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.

Answer: A,B,C

 

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

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

Answer: A,B,D

 

NEW QUESTION 21
Which are benefits of binary reuse (compiling once and reusing the built artifact across the rest of the pipeline)? Choose 3 answers

  • A. allows a shorter cycle time
  • B. ensures a single version b used throughout the pipeline
  • C. allows the inclusion of environment configurations into the artifact
  • D. guarantees the same source is tested in each environment
  • E. enables selectively linking stubs and real classes representing an external interface

Answer: B,C,D

 

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

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

Answer: A

 

NEW QUESTION 23
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. Embed secrets into the build and deployment scripts invoked by the job.
  • B. Store the secrets as Node Properties for each agent definition.
  • C. Store the secrets on the Jenkins master using the Credentials plugin.
  • D. Include the secrets In the home directory of the Jenkins agent account.
  • E. Store the secrets required in the SCM alongside the application source code.

Answer: C

 

NEW QUESTION 24
The Jenkins Install Wizard allows you to

  • A. completely define the security and notification settings of the Jenkins Instance you are installing
  • B. define executor agents
  • C. define an-admin user for Jenkins
  • D. define non-admin users for Jenkins
  • E. define the security settings of the Jenkins instance you are installing

Answer: A

 

NEW QUESTION 25
In Jenkins, a trigger commonly refers to a mechanism that automatically_________.

  • A. sends notification once the build is completed
  • B. detects code changes in the repository
  • C. updates plugins
  • D. starts the build of a job

Answer: D

 

NEW QUESTION 26
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. Builds can be parameterized.
  • D. Jenkins can be restarted while a build is In progress without impacting the build.
  • E. No extra plugins must be installed.

Answer: B,D

 

NEW QUESTION 27
What does the M# of executors" field on the Jenkins master control?

  • A. Number of external build agents that can be used forjobs run on this Jenkins master.
  • B. Number of Java threads that can run Jenkins jobs.
  • C. Number of jobs that can execute simultaneously on the Jenkins master
  • D. Number of CPU cores configured for this master.
  • E. Maximum number of jobs which can be run concurrently on attached agents.

Answer: C

 

NEW QUESTION 28
What is the purpose of the "Manage Users" section of the Manage Jenkins dashboard?

  • A. Populates the Jenkins user database that can be used if you are not using an external security realm such as LDAP, Active Directory, or Unix user/groups.
  • B. Defines aliases for credentials that have been created In the external security realm.
  • C. Contains entries used for the security matrix or project security matrix.
  • D. Each user who is allowed access to Jenkins must have an entry in this Jenkins user database.
  • E. Defines user groups used for role-based strategy authorization.

Answer: D

 

NEW QUESTION 29
What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?

  • A. Clean up workspaces left by deleted Jenkins users.
  • B. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.
  • C. Prepare for migration from Jenkins 1 to Jenkins 2.
  • D. Delete or restore old credentials details.
  • E. Delete artifacts, togs, and backups that are no longer required.

Answer: B

 

NEW QUESTION 30
In a Multibranch Pipeline project, you removed a branch in the repository. When is the corresponding
"orphaned" job removed?

  • A. All orphaned jobs that match the "Orphaned Item Strategy" configuration are cleaned up on every branch re-index process.
  • B. All orphaned jobs are cleaned up every time the Multibranch project is saved.
  • C. All "orphaned" jobs are cleaned up on every branch re-Index process.
  • D. All orphaned jobs that match the "Orphaned Item Strategy" are cleaned up automatically every 24 hours.

Answer: A

 

NEW QUESTION 31
Which arc true when installing new plugins? Choose 2 answers

  • A. The previous public release of a plugin is installed for reliability instead of Installing the most recent public release.
  • B. If you are running Jenkins under an HTTP proxy, you must configure HTTP proxy access for the plugin manager before Installing or updating plugins.
  • C. You must install all required and optional dependencies before Installing the plugin with the plugin manager.
  • D. If you check the "Enable rollbacks when upgrading" box, future updates to an the plugin can easily be rolled back when necessary.
  • E. Most plugins can be Installed without stopping and starting Jenkins.

Answer: A,E

 

NEW QUESTION 32
Which Jenkins job status indicates that tests failed ?

  • A. Failure
  • B. Success
  • C. Unstable
  • D. Aborted
  • E. Not Built

Answer: C

 

NEW QUESTION 33
Which practices optimize performance on large systems? Choose 2 answers

  • A. Use plugins as much as possible.
  • B. Run all builds on agents and never on the master itself.
  • C. Avoid modifying Java parameters that control heap size and garbage collection.
  • D. Allocate specific masters for different build types and teams.
  • E. Use the maximum number of executors at all times and avoid using labels.

Answer: A,B

 

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

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

Answer: C

 

NEW QUESTION 35
You are using GitHub repository scanning (in a project of type "GitHub Organization") with the Pipeline lenkinsfile Project Recognizer. In this case, which repositories under the organization will have Multibranch projects automatically created for them?

  • A. all repositories that contain a Jenkinsfile in at least one branch or pull request
  • B. only repositories that contain a Jenkinsfile in all their branches
  • C. only repositories that contain a Jenkinsfile in at least one branch
  • D. all repositories

Answer: B

 

NEW QUESTION 36
......

Free Jenkins Engineer CJE Exam Question: https://www.actualtorrent.com/CJE-questions-answers.html