[Oct-2021] CJE Dumps PDF - CJE Real Exam Questions Answers
CJE Dumps 100% Pass Guarantee With Latest Demo
NEW QUESTION 29
Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answers
- A. All stages in a Pipeline must execute on the same type of agent.
- B. Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks.
- C. Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block.
- D. Each pipeline must have a global agent specification.
- E. Stages are the logical segmentation of a Pipeline; they contain steps that define actual tasks.
Answer: D,E
NEW QUESTION 30
A Freestyle job has the configuration shown here:
You run the following command from a Unix terminal: curl http: ///git/notifyCommit?
url-gitagithub.com: cloudbees/github test.git Will the Job be triggered?
- A. It will not be triggered.
- B. It will be triggered if the polling detects a change In any git branch.
- C. It will be triggered if the polling detects a change In the git branch "master".
- D. It will be triggered if the polling detects a change in the git branch "development".
Answer: D
NEW QUESTION 31
Pipelines often require access to protected resources such as servers, databases, and SCMs. Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?
- A. Embed secrets into the build and deployment scripts invoked by the job.
- B. Store the secrets as Node Properties for each agent definition.
- C. Store the secrets on the Jenkins master using the Credentials plugin.
- D. Store the secrets required in the SCM alongside the application source code.
- E. Include the secrets In the home directory of the Jenkins agent account.
Answer: C
NEW QUESTION 32
Where do you find alerts about Jenkins security issues? Choose 3 answers
- A. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.
- B. A banner displayed in the upper right section of the master's home page.
- C. Jenkins logs.
- D. An email message sent to all users who are listed in the "Send security notifications'' field of the
"Extended E-mail Notification" configuration. - E. An email message that is automatically sent to all users who have registered with the mailing list at [email protected].
Answer: B,C,D
NEW QUESTION 33
Which is the expected workflow for "lest-Driven Development"?
- A. Write a new failing unit test, write the new functional code to fix the test, and then verify that the test passes.
- B. Write a new falling unit test, write the new functional code to fix the test, verify that the test passes, and then refactor the code.
- C. Write a new test, validate with the a system, and then write the new functional code.
- D. Validate with the CI system, write the new functional code, and then verify that the test passes.
Answer: B
NEW QUESTION 34
Which enables you to use artifacts from a completed build in the workspace of the currently running build?
- A. ArtifactDeployer plugin.
- B. Rebuild plugin.
- C. Jenkins core
- D. Copy Artifact plugin.
Answer: D
NEW QUESTION 35
Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers
- A. No extra plugins must be installed.
- B. Builds can be triggered with millisecond granularity.
- C. Builds can be parameterized.
- D. Job definition can be loaded from the Source Code Management system at build time.
- E. Jenkins can be restarted while a build is In progress without impacting the build.
Answer: D,E
NEW QUESTION 36
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. 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.
- D. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
- E. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.
Answer: A,B,E
NEW QUESTION 37
Which statements about a Distributed Version Control System are correct? Choose 2 answers
- A. It requires fast network access for daily work.
- B. It makes It easy to fork and merge code.
- C. It requires a central server and a standby server.
- D. It requires one server in each location.
- E. It operates without a central server.
Answer: B,E
NEW QUESTION 38
Why Is the performance of a Jenkins master Improved by using a distributed builds architecture?
- A. Because it prevents builds from overloading a master's CPU/memory.
- B. Because executors offloaded onto build nodes are not performant.
- C. Because builds cannot be run In parallel on a master.
- D. Because it prevents the CPU being overloaded during parallel polls.
- E. Because executors cannot be allocated on the master.
Answer: A
NEW QUESTION 39
What is the preferred method for a Jenkins administrator to notify nil Jenkins users about upcoming system maintenance?
- A. 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.
- B. 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.
- C. Populate the "Email Notifications" section of the "System Configuration" page with a message to be sent as email to all registered Jenkins users.
- D. 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.
Answer: D
NEW QUESTION 40
In order to send email notifications on build completion using Jenkins' built in mail functionality, which TWO of the following must be true?
- A. Jenkins must have a unique email address.
- B. Sendmail must be Installed and running on the same machine as Jenkins.
- C. The job must be configured to send email.
- D. Jenkins must be successfully configured to point to a mail server.
- E. Jenkins must be directly connected to the Internet.
Answer: C,D
NEW QUESTION 41
In Jenkins, a trigger commonly refers to a mechanism that automatically_________.
- A. sends notification once the build is completed
- B. starts the build of a job
- C. updates plugins
- D. detects code changes in the repository
Answer: B
NEW QUESTION 42
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 conditional blocks are executed in the order they are coded in the Pipeline.
- D. The "post" section includes conditional blocks (such as "always", "success", or "failure").
- E. It any step specified in the "post" section fails, the pipeline run is marked as "unsuccessful".
Answer: C,D,E
NEW QUESTION 43
What does a flashing build icon in the Build History indicate?
Choose 3 answers
- A. The build is waiting for an executor to be available.
- B. An agent is being spawned.
- C. A groovy script needs to be approved.
- D. A build is waiting for Input.
Answer: A,B,C
NEW QUESTION 44
Which of the following are true when using build parameters? Choose 3 answers
- A. 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.
- B. If you configure a build parameter of type File, then users can specify a file on the server as build input.
- C. Use the "parameters" directive to define parameters for your Pipeline Inside your Pipeline code.
- D. Use the "params" object to reference parameters that are defined on "The project is parameterized" section of the job configuration.
Answer: A,C,D
NEW QUESTION 45
A unit test_________.
- A. verifies cross-functionalities
- B. verifies that the complete software matches the specifications it was written to fulfill
- C. tests an Individual unit a component
- D. is written when an Integration or multi-environment bog is fixed
Answer: C
NEW QUESTION 46
Which of the following are true when using environment directives in a Declarative Pipeline?
Choose 3 answers
- A. 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,
- B. 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.
- C. 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.
- 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: A,B,D
NEW QUESTION 47
You want to execute a Job passing one parameter via the Jenkins RFST API. The correct syntax for this is
http: / /server/Job/ myjob_________.
- A. /build?Parameters=Value
- B. /buildWithParameters
- C. /build?Parameter =Value
- D. /buiWWithParameters?Parameter=Value
Answer: D
NEW QUESTION 48
Which arc true when installing new plugins? Choose 2 answers
- A. The previous public release of a plugin is installed for reliability instead of Installing the most recent public release.
- B. If you are running Jenkins under an HTTP proxy, you must configure HTTP proxy access for the plugin manager before Installing or updating plugins.
- C. If you check the "Enable rollbacks when upgrading" box, future updates to an the plugin can easily be rolled back when necessary.
- D. Most plugins can be Installed without stopping and starting Jenkins.
- E. You must install all required and optional dependencies before Installing the plugin with the plugin manager.
Answer: A,D
NEW QUESTION 49
......
Dumps Real CloudBees CJE Exam Questions [Updated 2021]: https://www.testbraindump.com/CJE-exam-prep.html
