
Latest CJE Pass Guaranteed Exam Dumps Certification Sample Questions
New CJE Test Materials & Valid CJE Test Engine
NEW QUESTION 16
Which of the following statements are TRUEabout Jenkins Pipeline?
Choose 2 answers
- A. Pipeline jobs survive master restarts only If the Pipeline definition script Is checked into an SCM.
- B. It is not possible to call a Freestyle Job from within a Pipeline Job.
- C. When using a Multibranch Pipeline, Jenkins can automatically create Jobs for each branch in the source code repository.
- D. A Pipeline job must contain at least three stages.
- E. The Pipeline syntax supports running steps in parallel on different agents.
Answer: C,E
NEW QUESTION 17
One quality of an ideal build node K that it is_________.
- A. tailored to specific builds
- B. static
- C. ephemeral and replaceable
- D. on-master
Answer: C
NEW QUESTION 18
Choose the destinations where Jenkins and its plugins can send job notifications?
- A. Slack
- B. email
- C. All of the above
- D. Jira
- E. SMS messaging
Answer: C
NEW QUESTION 19
What are the main advantages of using webhooks/post commit hooks from your Source Code Management system to trigger your Jenkins project rather than using SCM polling? Choose 2 answers A
- A. The entire repository Is scanned so no commits are missed.
- B. Builds are started immediately after changes are committed.
- C. Avoid unnecessary overhead from polling.
- D. Builds are started on a defined a on schedule.
Answer: B,C
NEW QUESTION 20
Why Is the performance of a Jenkins master Improved by using a distributed builds architecture?
- A. Because builds cannot be run In parallel on a master.
- B. Because it prevents builds from overloading a master's CPU/memory.
- C. Because executors cannot be allocated on the master.
- D. Because it prevents the CPU being overloaded during parallel polls.
- E. Because executors offloaded onto build nodes are not performant.
Answer: B
NEW QUESTION 21
In a "standalone" configuration, when masters manage the build environment and also execute builds with their own resources, which of the following Is true?
- A. Build times decrease.
- B. User interface becomes slower as resources on the master run out.
- C. Masters are more highly available.
- D. The builds share SCM checkouts
Answer: B
NEW QUESTION 22
In order to send email notifications on build completion using Jenkins' built in mail functionality, which TWO of the following must be true?
- A. The job must be configured to send email.
- B. Jenkins must be directly connected to the Internet.
- C. Jenkins must have a unique email address.
- D. Sendmail must be Installed and running on the same machine as Jenkins.
- E. Jenkins must be successfully configured to point to a mail server.
Answer: A,E
NEW QUESTION 23
Which job type Is always available In Jenkins without additional plugins?
- A. Grade project
- B. Freestyle project
- C. Make project
- D. Ant project
- E. Pipeline project
Answer: B
NEW QUESTION 24
When you want to validate that your software produces the desired behavior for end users, you need to use
- A. acceptance tests
- B. non-regression tests
- C. smoke tests
- D. functional tests
Answer: C
NEW QUESTION 25
When you upgrade a plugin and find an issue in the new version, how ran you move hade to the previously installed version? Choose 2 answers
- A. Use the "downgradeplugin" command In the Jenkins CI I
- B. Use the button on the Plugin Manager that allows a downgrade to the previously installed version.
- C. Select the version you want to use in the global configuration section for this plugin.
- D. Manually download and install the previously installed version.
- E. Select one of the previous versions in the Plugin Manager.
- F. Use the pluginManager.downgrade method in the script console.
Answer: B,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 parameterized.
- B. Builds can be triggered with millisecond granularity.
- C. No extra plugins must be installed.
- D. Jenkins can be restarted while a build is In progress without impacting the build.
- E. Job definition can be loaded from the Source Code Management system at build time.
Answer: D,E
NEW QUESTION 27
Which practices optimize performance on large systems? Choose 2 answers
- A. Use the maximum number of executors at all times and avoid using labels.
- B. Avoid modifying Java parameters that control heap size and garbage collection.
- C. Run all builds on agents and never on the master itself.
- D. Use plugins as much as possible.
- E. Allocate specific masters for different build types and teams.
Answer: C,D
NEW QUESTION 28
Which keyword is used to group related parts of a Declarative Pipeline?
- A. collect
- B. stage
- C. step
- D. steps
- E. group
Answer: D
NEW QUESTION 29
A unit test_________.
- A. is written when an Integration or multi-environment bog is fixed
- B. verifies that the complete software matches the specifications it was written to fulfill
- C. verifies cross-functionalities
- D. tests an Individual unit a component
Answer: D
NEW QUESTION 30
Which TIIKII of the following are considered best practices when setting up rules for notifications?
- A. Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.
- B. Do not send developers too many email notifications.
- C. Send notifications only when direct intervention is needed.
- D. Make sure the notification's target Is the right person.
- E. Periodically change the recipient of emails, to make sure they are not classified as spam.
Answer: A,B,D
NEW QUESTION 31
Which are commonly referenced as key points of CI?
Choose 3 answers
- A. Frequent commits to source code repository.
- B. Automated deployment to the production environment.
- C. Automated tests after each commit
- D. Collaboration among Dev, QA and Ops.
- E. Automated builds after each commit.
Answer: A,C,E
NEW QUESTION 32
Where do you find alerts about Jenkins security issues? Choose 3 answers
- A. Jenkins logs.
- B. An email message sent to all users who are listed in the "Send security notifications'' field of the
"Extended E-mail Notification" configuration. - C. An email message that is automatically sent to all users who have registered with the mailing list at [email protected].
- D. A banner displayed in the upper right section of the master's home page.
- E. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.
Answer: A,B,D
NEW QUESTION 33
Which of the following practices are recommended for a Declarative Pipeline? Choose 3 answers
- A. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.
- B. 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.
- C. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.
- D. 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.
- E. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
Answer: A,B,C
NEW QUESTION 34
Which of the following is true about resuming a Declarative Pipeline?
- A. Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space exhaustion).
- B. A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.
- C. Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).
- D. 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() optionIs specified In the Jenkinsfile
- E. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to createthe container are not serialized
Answer: D
NEW QUESTION 35
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?
- A. Multiple concurrent runs can never share the same workspace.
- B. Define a "Custom workspace" path for the job.
- C. Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.
- D. Check "Do not lock workspace" In the Advanced Project Options of the project.
Answer: B
NEW QUESTION 36
In a Pipeline, the stage step_________.
- A. collects a set of artifacts that can be referenced in a later Pipeline step
- B. transfers artifacts to a staging server for testing
- C. can be used to group a number of other steps into a logical unit for display
- D. prepares a test environment in Jenkins
Answer: C
NEW QUESTION 37
What does a flashing build icon in the Build History indicate?
Choose 3 answers
- A. A build is waiting for Input.
- B. A groovy script needs to be approved.
- C. The build is waiting for an executor to be available.
- D. An agent is being spawned.
Answer: B,C,D
NEW QUESTION 38
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 39
......
CJE Sample with Accurate & Updated Questions: https://www.practicedump.com/CJE_actualtests.html
CJE Updated Exam Dumps [2022] Practice Valid Exam Dumps Question: https://drive.google.com/open?id=1pKgP2TDt7H_hdAqjq_ZQzr98ARaWd4cf