CJE MCQs and Practice Test

https://killexams.com/pass4sure/exam-detail/CJE
Download PDF for CJE


CJE MCQs

CJE TestPrep CJE Study Guide CJE Practice Test

CJE Exam Questions


killexams.com CloudBees CJE


Certified Jenkins Engineer (CJE)


https://killexams.com/pass4sure/exam-detail/CJE

Download PDF for CJE




Question: 52

A freestyle job is set up to "Enable concurrent builds if necessary" and configured to run on a single node. How can you ensure that multiple concurrent runs share the same workspace?

  1. Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.

  2. Check "Do not lock workspace" In the Advanced Project Options of the project.

  3. Multiple concurrent runs can never share the same workspace.

  4. Define a "Custom workspace" path for the job.




Answer: D




Question: 53


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: A




Question: 54


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

  1. ephemeral and replaceable

  2. tailored to specific builds

  3. on-master

  4. static




Answer: A




Question: 55


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

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

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

    exhaustion).

  3. 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() option Is specified In the Jenkinsfile

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

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




Answer: C




Question: 56


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

  1. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.

  2. An email message that is automatically sent to all users who have registered with the mailing list at

    [email protected]

  3. A banner displayed in the upper right section of the master???s home page.

  4. An email message sent to all users who are listed in the "Send security notifications??? field of the "Extended E-mail Notification" configuration.

  5. Jenkins logs.




Answer: C, D, E




Question: 57


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

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

  2. Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.

  3. Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.

  4. If you configure a build parameter of type File, then users can specify a file on the server as build input.




Answer: A, B, C




Question: 58


Which are commonly referenced as key points of CI? Choose 3 answers

  1. Automated deployment to the production environment.

  2. Collaboration among Dev, QA and Ops.

  3. Automated tests after each commit

  4. Automated builds after each commit.

  5. Frequent commits to source code repository.




Answer: C, D, E



Question: 59


Which job type Is always available In Jenkins without additional plugins?

  1. Ant project

  2. Make project

  3. Grade project

  4. Pipeline project

  5. Freestyle project




Answer: E




Question: 60


Which of the following are true when using environment directives in a Declarative Pipeline? Choose 3 answers

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

  2. 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 is enclosed in single 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.

  3. 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 GI

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

  5. 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,




Answer: A, C, D


KILLEXAMS.COM


Killexams.com is a leading online platform specializing in high-quality certification exam preparation. Offering a robust suite of tools, including MCQs, practice tests, and advanced test engines, Killexams.com empowers candidates to excel in their certification exams. Discover the key features that make Killexams.com the go-to choice for exam success.



Exam Questions:

Killexams.com provides exam questions that are experienced in test centers. These questions are updated regularly to ensure they are up-to-date and relevant to the latest exam syllabus. By studying these questions, candidates can familiarize themselves with the content and format of the real exam.


Exam MCQs:

Killexams.com offers exam MCQs in PDF format. These questions contain a comprehensive

collection of questions and answers that cover the exam topics. By using these MCQs, candidate can enhance their knowledge and improve their chances of success in the certification exam.


Practice Test:

Killexams.com provides practice test through their desktop test engine and online test engine. These practice tests simulate the real exam environment and help candidates assess their readiness for the actual exam. The practice test cover a wide range of questions and enable candidates to identify their strengths and weaknesses.


thorough preparation:

Killexams.com offers a success guarantee with the exam MCQs. Killexams claim that by using this materials, candidates will pass their exams on the first attempt or they will get refund for the purchase price. This guarantee provides assurance and confidence to individuals preparing for certification exam.


Updated Contents:

Killexams.com regularly updates its question bank of MCQs to ensure that they are current and reflect the latest changes in the exam syllabus. This helps candidates stay up-to-date with the exam content and increases their chances of success.

Back to Home