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
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?
Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.
Check "Do not lock workspace" In the Advanced Project Options of the project.
Multiple concurrent runs can never share the same workspace.
Define a "Custom workspace" path for the job.
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?
System environment variables
Job Configuration Restriction plugin
Build parameters
Matrix-based security
Declarative Pipeline
Question: 54
One quality of an ideal build node K that it is .
ephemeral and replaceable
tailored to specific builds
on-master
static
Question: 55
Which of the following is true about resuming a Declarative Pipeline?
Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).
Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space
exhaustion).
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
Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to create the container are not serialized
A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.
Question: 56
Where do you find alerts about Jenkins security issues? Choose 3 answers
Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.
An email message that is automatically sent to all users who have registered with the mailing list at
[email protected]
A banner displayed in the upper right section of the master???s home page.
An email message sent to all users who are listed in the "Send security notifications??? field of the "Extended E-mail Notification" configuration.
Jenkins logs.
Question: 57
Which of the following are true when using build parameters? Choose 3 answers
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.
Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.
Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.
If you configure a build parameter of type File, then users can specify a file on the server as build input.
Question: 58
Which are commonly referenced as key points of CI? Choose 3 answers
Automated deployment to the production environment.
Collaboration among Dev, QA and Ops.
Automated tests after each commit
Automated builds after each commit.
Frequent commits to source code repository.
Question: 59
Which job type Is always available In Jenkins without additional plugins?
Ant project
Make project
Grade project
Pipeline project
Freestyle project
Question: 60
Which of the following are true when using environment directives in a Declarative Pipeline? Choose 3 answers
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.
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.
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
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.
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,
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.
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.
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.
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.
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.
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.