CloudBees CJE Certification Exam Dumps with 62 Practice Test Questions [Q27-Q52]

Share

CloudBees CJE Certification Exam Dumps with 62 Practice Test Questions

New CJE Exam Dumps with High Passing Rate

NEW QUESTION 27
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. Select one of the previous versions in the Plugin Manager.
  • C. Use the button on the Plugin Manager that allows a downgrade to the previously installed version.
  • D. Use the pluginManager.downgrade method in the script console.
  • E. Select the version you want to use in the global configuration section for this plugin.
  • F. Manually download and install the previously installed version.

Answer: C,F

 

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

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

Answer: A

 

NEW QUESTION 30
A Freestyle job is configured to execute concurrent builds, and to only build on a specific agent (agent A) that has 4 executors. You observe that 2 Instances of the job are currently building while several others are waiting in the build queue. Which of the following could explain why the builds are waiting in the build queue?

  • A. The "Execute concurrent builds if necessary option in the job configuration has reached Its user-defined maximum.
  • B. There are not enough idle executors available on agent A.
  • C. Each build in the build queue must be manually attached to an available executor.
  • D. Changes were made to this job's configuration while this Job had builds in the build queue.

Answer: B

 

NEW QUESTION 31
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 32
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 33
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 34
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 35
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 36
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 37
Which are Source Code Management tools?
Choose 3 answers

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

Answer: B,C,D

 

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

Answer: B

 

NEW QUESTION 39
Which keyword is used to group related parts of a Declarative Pipeline?

  • A. collect
  • B. step
  • C. group
  • D. steps
  • E. stage

Answer: D

 

NEW QUESTION 40
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. Check "Do not lock workspace" In the Advanced Project Options of the project.
  • C. Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.
  • D. Define a "Custom workspace" path for the job.

Answer: D

 

NEW QUESTION 41
The Jenkins Install Wizard allows you to

  • A. define an-admin user for Jenkins
  • B. define non-admin users for Jenkins
  • C. define executor agents
  • D. define the security settings of the Jenkins instance you are installing
  • E. completely define the security and notification settings of the Jenkins Instance you are installing

Answer: E

 

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

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

Answer: B

 

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

Answer: B,C

 

NEW QUESTION 46
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 47
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 48
Which of the following build steps is most appropriate to use to publish the artifact files of a build?

  • A. Copy artifact files to the agent file system
  • B. Stash artifact files.
  • C. Commit the artifact files to git.
  • D. Upload the artifact files to a central artifact repository.

Answer: D

 

NEW QUESTION 49
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 50
Which of the following is true about resuming a Declarative Pipeline?

  • A. Declarative Pipelines cab be restarted after a Jenkins failure but not 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 that use Docker containers can not be resumed because the docker APIs that Jenkins calls to createthe container are not serialized
  • 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 can be resumed only after a transient outage (such as a network failure or disk space exhaustion).

Answer: D

 

NEW QUESTION 51
......

Get CJE Braindumps & CJE Real Exam Questions: https://www.ipassleader.com/CloudBees/CJE-practice-exam-dumps.html

CloudBees CJE Actual Questions and Braindumps: https://drive.google.com/open?id=1X3oWPKiWf2wpE05quYx8-Tib8qXwhlHL