New 2022 Realistic Free CloudBees CJE Exam Dump Questions & Answer [Q19-Q41]

Share

New 2022 Realistic Free CloudBees CJE Exam Dump Questions and Answer

CJE Practice Test Engine: Try These 62 Exam Questions

NEW QUESTION 19
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 20
Which of the following are true when using environment directives in a Declarative Pipeline?
Choose 3 answers

  • A. 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 isenclosed in single quotes, thename of the environment variable itself is passed to the "sh" or "bat" step and the shell interpreter on the agent dereferences the variable.
  • B. 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,
  • C. 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 GIT .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.
  • D. 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.

Answer: B,C,D

 

NEW QUESTION 21
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 22
A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?

  • A. Nothing. The syntax is Invalid.
  • B. It removes one combination in every 4.
  • C. It removes the fourth combination.
  • D. It removes the first combination.
  • E. It removes 3 combinations In every 4.

Answer: B

 

NEW QUESTION 23
What is the preferred method for a Jenkins administrator to notify nil Jenkins users about upcoming system maintenance?

  • A. Populate the "Email Notifications" section of the "System Configuration" page with a message to be sent as email to all registered Jenkins users.
  • B. On the "System Configuration" page, choose the "Maintenance Alerts" option from the "Alerts" dropdown menu and populate the box with a message to be added to all build logs.
  • C. Add text to the "System Message" field on the "System Configuration" page to populate a banner displayed across the top of the master's home page.
  • D. On the master's dashboard, dick "add description" or "edit description" to populate a banner displayed across the top of the master's home page.

Answer: B

 

NEW QUESTION 24
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 25
In Jenkins, which section in a Freestyle job configuration is used to execute a Linux (shell) or Windows (batch) command?

  • A. Build Triggers
  • B. Post-build Actions
  • C. Build
  • D. Build Environment
  • E. Source Code Management

Answer: C

 

NEW QUESTION 26
Which of the following are true about the "post" section of a Declarative Pipeline that defines additional steps that run at the end of either a pipeline stage or the pipeline itself? Choose 3 answers

  • A. The "post" section can be used to stash files, archive artifacts, and send notifications.
  • B. The Blue Ocean editor does not display the "post" section blocks although they can be viewed and modified in the Blue Ocean code editor.
  • C. The "post" section includes conditional blocks (such as "always", "success", or "failure").
  • D. The conditional blocks are executed in the order they are coded in the Pipeline.
  • E. It any step specified in the "post" section fails, the pipeline run is marked as "unsuccessful".

Answer: C,D,E

 

NEW QUESTION 27
Which can you do with the Jenkins Install Wizard? Choose 3 answers

  • A. Choose the version of Jenkins core to install.
  • B. Install all existing open-source plugins for Jenkins.
  • C. Manually select plugins to install from a set of predefined plugins.
  • D. Install a pre-defined set of recommended plugins.
  • E. Install Jenkins without any extra plugins.

Answer: C,D,E

 

NEW QUESTION 28
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
  • 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 that contain a Jenkinsfile in at least one branch or pull request

Answer: B

 

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 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 31
Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answers

  • A. Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block.
  • B. Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks.
  • C. Stages are the logical segmentation of a Pipeline; they contain steps that define actual tasks.
  • D. Each pipeline must have a global agent specification.
  • E. All stages in a Pipeline must execute on the same type of agent.

Answer: C,D

 

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

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

Answer: D

 

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

  • A. Contains entries used for the security matrix or project security matrix.
  • B. Defines aliases for credentials that have been created In the external security realm.
  • C. Defines user groups used for role-based strategy authorization.
  • D. 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.
  • E. Each user who is allowed access to Jenkins must have an entry in this Jenkins user database.

Answer: E

 

NEW QUESTION 34
Which are Source Code Management tools?
Choose 3 answers

  • A. Perforce
  • B. Git
  • C. Java
  • D. Maven
  • E. Subversion

Answer: A,B,E

 

NEW QUESTION 35
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 36
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 37
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 38
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 39
On a single Jenkins master you have a folder named "Project1 ". I his folder contains three jobs: "job master",
"job develop", and "Job edge". The job "job master" Is the latest built project and Is In a success state while the two other jobs are in falling state. Which statement is true about the folder "Project1"?

  • A. It reports its health as "failed" {"Raining Cloud" weather icon), because that is the "worst health of the sub-items".
  • B. It must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.
  • C. It reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."
  • D. It does not report its health on the folder level; only Jobs report health.

Answer: A

 

NEW QUESTION 40
Which statements about a Distributed Version Control System are correct? Choose 2 answers

  • A. It requires one server in each location.
  • B. It requires fast network access for daily work.
  • C. It makes It easy to fork and merge code.
  • D. It operates without a central server.
  • E. It requires a central server and a standby server.

Answer: C,D

 

NEW QUESTION 41
......

Guaranteed Success in Jenkins Engineer CJE Exam Dumps: https://www.practicematerial.com/CJE-exam-materials.html