
Online CJE Test Brain Dump Question and Test Engine
Real CloudBees CJE Exam Dumps with Correct 62 Questions and Answers
NEW QUESTION 24
Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answers
- A. Stages are the logical segmentation of a Pipeline; they contain steps that define actual tasks.
- B. Each pipeline must have a global agent specification.
- C. Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks.
- D. All stages in a Pipeline must execute on the same type of agent.
- E. Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block.
Answer: A,B
NEW QUESTION 25
You need to automate the deployment of 20 base Jenkins masters. I or this, you set the system property jenkins.install.runSetupWizard to the Value "false".
Which Is TRUF about your Jenkins masters?
- A. A default administrator account is created and you cannot re-enable security.
- B. No default administrator account is created; you have to configure security manually.
- C. A default administrator account is created with username "admin" and password "ad
- D. A default administrator account is created with username "admin" and password from the file JENKINS_HOME/secrets/initialAdminPassword
Answer: B
NEW QUESTION 26
A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?
- A. It removes the fourth combination.
- B. It removes 3 combinations In every 4.
- C. It removes one combination in every 4.
- D. It removes the first combination.
- E. Nothing. The syntax is Invalid.
Answer: C
NEW QUESTION 27
Which is the expected workflow for "lest-Driven Development"?
- A. Write a new test, validate with the a system, and then write the new functional code.
- B. Write a new failing unit test, write the new functional code to fix the test, and then verify that the test passes.
- C. Validate with the CI system, write the new functional code, and then verify that the test passes.
- D. 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.
Answer: D
NEW QUESTION 28
In a Multibranch Pipeline project, you removed a branch in the repository. When is the corresponding
"orphaned" job removed?
- A. All orphaned jobs that match the "Orphaned Item Strategy" configuration are cleaned up on every branch re-index process.
- B. All orphaned jobs are cleaned up every time the Multibranch project is saved.
- C. All "orphaned" jobs are cleaned up on every branch re-Index process.
- D. All orphaned jobs that match the "Orphaned Item Strategy" are cleaned up automatically every 24 hours.
Answer: A
NEW QUESTION 29
Which are commonly referenced as key points of CI?
Choose 3 answers
- A. Automated builds after each commit.
- B. Collaboration among Dev, QA and Ops.
- C. Frequent commits to source code repository.
- D. Automated tests after each commit
- E. Automated deployment to the production environment.
Answer: A,C,D
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. Changes were made to this job's configuration while this Job had builds in the build queue.
- B. The "Execute concurrent builds if necessary option in the job configuration has reached Its user-defined maximum.
- C. Each build in the build queue must be manually attached to an available executor.
- D. There are not enough idle executors available on agent A.
Answer: D
NEW QUESTION 31
What is the default directory where a build takes place?
- A. The user's home directory.
- B. The Builds directory in the Job.
- C. The Workspace directory.
- D. The JENKINS_HOME directory.
Answer: C
NEW QUESTION 32
Which TIIKII of the following are considered best practices when setting up rules for notifications?
- A. Send notifications only when direct intervention is needed.
- B. Periodically change the recipient of emails, to make sure they are not classified as spam.
- C. Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.
- D. Make sure the notification's target Is the right person.
- E. Do not send developers too many email notifications.
Answer: C,D,E
NEW QUESTION 33
In Jenkins, a trigger commonly refers to a mechanism that automatically_________.
- A. sends notification once the build is completed
- B. detects code changes in the repository
- C. updates plugins
- D. starts the build of a job
Answer: D
NEW QUESTION 34
Which of these tasks are ONLY available from the "Manage Jenkins'' page? Choose 2 answers
- A. Manage plugins
- B. Configure credentials
- C. Configure Global Security
- D. Define views
- E. Open Blue Ocean
Answer: A,C
NEW QUESTION 35
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. Select the version you want to use in the global configuration section for this plugin.
- B. Use the pluginManager.downgrade method in the script console.
- C. Select one of the previous versions in the Plugin Manager.
- D. Use the button on the Plugin Manager that allows a downgrade to the previously installed version.
- E. Use the "downgradeplugin" command In the Jenkins CI I
- F. Manually download and install the previously installed version.
Answer: D,F
NEW QUESTION 36
In Jenkins, which section in a Freestyle job configuration is used to execute a Linux (shell) or Windows (batch) command?
- A. Source Code Management
- B. Build
- C. Build Environment
- D. Post-build Actions
- E. Build Triggers
Answer: B
NEW QUESTION 37
Which of the following practices are recommended for a Declarative Pipeline? Choose 3 answers
- A. 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.
- B. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.
- C. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.
- D. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
- E. 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.
Answer: A,B,C
NEW QUESTION 38
Yon are an administrator of a base Jenkins master with the recommended plugin set and you want to connect a new agent using SSH. Authentication on the remote node that will host the agent is done with an SSH key pair which your users must NOT be able to see or access. Which of the following is TRUE assuming your users do not have admin rights?
- A. The SSH key will be stored in the JENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder.
- B. Use a credential "SSH Username with private key", restricted to the Scope "System", for the node's SSH authentication.
- C. You cannot use an SSH key-pair. Configure a password for the agent's SSH user, and create a credential of type "Username with password" for the node's SSH authentication.
- D. Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node's SSH authentication.
Answer: B
NEW QUESTION 39
The Jenkins Install Wizard allows you to
- A. completely define the security and notification settings of the Jenkins Instance you are installing
- B. define executor agents
- C. define an-admin user for Jenkins
- D. define non-admin users for Jenkins
- E. define the security settings of the Jenkins instance you are installing
Answer: A
NEW QUESTION 40
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. The builds share SCM checkouts
- B. Masters are more highly available.
- C. User interface becomes slower as resources on the master run out.
- D. Build times decrease.
Answer: C
NEW QUESTION 41
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. Builds are started on a defined a on schedule.
- B. The entire repository Is scanned so no commits are missed.
- C. Avoid unnecessary overhead from polling.
- D. Builds are started immediately after changes are committed.
Answer: C,D
NEW QUESTION 42
Which can you do with the Jenkins Install Wizard? Choose 3 answers
- A. Manually select plugins to install from a set of predefined plugins.
- B. Install a pre-defined set of recommended plugins.
- C. Install all existing open-source plugins for Jenkins.
- D. Install Jenkins without any extra plugins.
- E. Choose the version of Jenkins core to install.
Answer: A,B,D
NEW QUESTION 43
Which of the following are true when using environment directives in a Declarative Pipeline?
Choose 3 answers
- A. 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.
- 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. 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.
Answer: A,B,C
NEW QUESTION 44
......
Valid CJE Test Answers & CloudBees CJE Exam PDF: https://www.pdfbraindumps.com/CJE_valid-braindumps.html
CloudBees CJE Certification Real 2021 Mock Exam: https://drive.google.com/open?id=1mRfsNwYkcugoys1ggN2BKBqzEz2eCGGx