Free CloudBees CJE Exam Questions & Answer from Training Expert Prep4sureExam [Q27-Q44]

Share

Free CloudBees CJE Exam Questions & Answer from Training Expert Prep4sureExam

Top CloudBees CJE Courses Online

NEW QUESTION 27
In a Pipeline, the stage step_________.

  • A. can be used to group a number of other steps into a logical unit for display
  • B. collects a set of artifacts that can be referenced in a later Pipeline step
  • C. prepares a test environment in Jenkins
  • D. transfers artifacts to a staging server for testing

Answer: A

 

NEW QUESTION 28
Which of the following are true about credentials that are implemented in a Declarative Pipeline using the
"credentials"or "withCredentials( )" method?
Choose 2 answers

  • A. Most credentials called from a pipeline have Global scope, not System scope.
  • B. All credential bindings support the "Secret Text" and "Standard username and password" credential types.
  • C. Credential IDs are case Insensitive.
  • D. The credential types supported are defined by the binding plugin (or the resource being accessed.

Answer: B,C

 

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

Answer: D

 

NEW QUESTION 30
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. 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.
  • D. 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.

Answer: B,C,D

 

NEW QUESTION 31
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 Jenkins without any extra plugins.
  • E. Install a pre-defined set of recommended plugins.

Answer: C,D,E

 

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

Answer: A,B,E

 

NEW QUESTION 33
Which TIIKII of the following are considered best practices when setting up rules for notifications?

  • A. Periodically change the recipient of emails, to make sure they are not classified as spam.
  • B. Make sure the notification's target Is the right person.
  • C. Do not send developers too many email notifications.
  • D. Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.
  • E. Send notifications only when direct intervention is needed.

Answer: B,C,D

 

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

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

Answer: E

 

NEW QUESTION 35
Which of these tasks are ONLY available from the "Manage Jenkins'' page? Choose 2 answers

  • A. Open Blue Ocean
  • B. Define views
  • C. Configure Global Security
  • D. Manage plugins
  • E. Configure credentials

Answer: C,D

 

NEW QUESTION 36
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 at least one branch
  • C. all repositories that contain a Jenkinsfile in at least one branch or pull request
  • D. only repositories that contain a Jenkinsfile in all their branches

Answer: D

 

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

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

Answer: A,B,C

 

NEW QUESTION 38
A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?

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

Answer: E

 

NEW QUESTION 39
Why Is the performance of a Jenkins master Improved by using a distributed builds architecture?

  • A. Because it prevents the CPU being overloaded during parallel polls.
  • B. Because executors offloaded onto build nodes are not performant.
  • C. Because executors cannot be allocated on the master.
  • D. Because builds cannot be run In parallel on a master.
  • E. Because it prevents builds from overloading a master's CPU/memory.

Answer: E

 

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

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

Answer: A,E

 

NEW QUESTION 41
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 42
What does a flashing build icon in the Build History indicate?
Choose 3 answers

  • A. A build is waiting for Input.
  • B. The build is waiting for an executor to be available.
  • C. An agent is being spawned.
  • D. A groovy script needs to be approved.

Answer: B,C,D

 

NEW QUESTION 43
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. Define a "Custom workspace" path for the job.
  • B. Multiple concurrent runs can never share the same workspace.
  • 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: A

 

NEW QUESTION 44
......

New (2022) CloudBees CJE  Exam Dumps: https://www.prep4sureexam.com/CJE-dumps-torrent.html

CJE Practice Dumps - Verified By Prep4sureExam Updated 62 Questions: https://drive.google.com/open?id=1qAYHxD2ywKo-L28eQZjM5_MfNYCFV5Ux