
The Ultimate CloudBees CJE Dumps PDF Review
Achieve The Utmost Performance In CJE Exam Pass Guaranteed
NEW QUESTION 15
Jenkins, along with several other automation platforms, provides developers and operators with tools that allow them to automate the deployment of environments with preconfigured source code, including the CI pipeline. What is this called?
- A. Continuous Integration
- B. Continuous Deployment
- C. Infrastructure as Code
- D. Continuous Delivery
Answer: C
Explanation:
"Infrastructure as code" means some or all of the state of your infrastructure is defined in source code. This is achieved through configuration management tools, like Puppet and Chef. The continuous integration component of infrastructure is defined in the Jenkinsfile, which lives amongst the project source code, illustrating infrastructure as code.
NEW QUESTION 16
Which is an invalid default project parameter?
- A. Boolean
- B. String
- C. md5
- D. File
Answer: C
Explanation:
"md5" is not a common project parameter.
NEW QUESTION 17
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. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to createthe container are not serialized
- 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. A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.
- E. 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
Answer: E
NEW QUESTION 18
What interval syntax could I use to trigger a build every day?
- A. H H * * *
- B. @daily
- C. All of these
- D. 30 12 * * *
Answer: C
NEW QUESTION 19
What determines what can be seen in a "My View"?
- A. It shows all items a user has permission to view in Jenkins.
- B. It shows items that match a filter regular expression.
- C. None of these
- D. It shows all items configured in Jenkins.
Answer: A
Explanation:
"My View" shows items that the user has permission to view.
NEW QUESTION 20
How can you assign projects to specific agent nodes?
- A. Set the projects in the "Manage Node" view
- B. None of these
- C. Using an expression that matches a node's name or label
- D. Select the node from the "Project Configuration" view
Answer: C
Explanation:
You can configure a project to run on a node, or subset of nodes, based on expression matching of a node's labels.
NEW QUESTION 21
What is a code coverage test?
- A. It tests against the product specifications.
- B. It tests a small piece of functionality, usually at the class method level.
- C. It tests how well your code is tested.
- D. It tests components coming together
Answer: C
NEW QUESTION 22
You are using a base Jenkins master in production with the recommended set of plugins.
The administrators have configured a Global Pipeline Library named "common-libs", stored in a git repository, with the configuration shown in the exhibit above.
You have a Pipeline job at the root of the Jenkins dashboard, whose script starts with the annotation @LibraryCcommon-libs') _ You want to test this Pipeline job with a beta version of the Global Pipeline Library "common-libs", stored on the branch named ''edge'' the git repository.
Which of the following statements are TRUE? Choose 2 answers
- A. Replace the @ Library ('common- lib. ' _ annotation with QLibrary('common-libs@edge') and run the job again.
- B. Duplicate the pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change its annotation to ^Library (' common - libs@edge' )
- C. Duplicate the Pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change libs') _ annotation to ^Library ('common-libs: edge1) Replace the ommon-libs1) _ annotation with ^Library (' common -libs: edge') _ and run the job again.
- D. A Jenkins test instance with the same configuration as the production Jenkins master can be used to achieve this, giving yourself administrator rights to configure the "edge" branch on the Global Configuration.
- E. You cannot do this on this Jenkins instance.
Answer: A,B,D
NEW QUESTION 23
What's a benefit of a clean checkout over an incremental update?
- A. It's faster
- B. None of these
- C. It ensures there are no mistakes
- D. It ensures the working directory is clean and not tampered with
Answer: D
Explanation:
A user, or previous build, could create or change a file in a workspace which could cause problems with future builds.
NEW QUESTION 24
What's "Infrastructure as Code?"
- A. Source code is hosted in your Infrastructure
- B. None of these
- C. Infrastructure is defined in source code, like the Jenkinsfile for a pipeline.
- D. There's no hardware
Answer: C
Explanation:
This is also shown in config management tools, like Puppet and Chef. The Jenkinsfile represents a "pipeline as code" concept, specifically.
NEW QUESTION 25
Which plugin provides Git hook functionality?
- A. Both the Git and GitHub Plugins
- B. The GitHub Plugin
- C. None of these
- D. The Git Plugin
Answer: A
Explanation:
Both of these very common plugins provide hook functionality
NEW QUESTION 26
How can you organize Jenkins projects (or jobs)?
- A. Folders
- B. Views
- C. Folders and views
- D. Relational databases
Answer: C
Explanation:
Projects can be organized in either folders or views.
NEW QUESTION 27
What's the difference between pushing and pulling code from a CI perspective?
- A. When the source informs the build system of a code change, that's pulling. When the build system asks if there are changes to the source code, that's pushing
- B. Pulling is more efficient.
- C. When the source informs the build system of a code change, that's pushing. When the build system asks if there are changes to the source code, that's pulling
- D. Pushing uses more resources.
Answer: C
Explanation:
Pushing is generally preferred as it assures the action is only performed as changes are made.
NEW QUESTION 28
You need to grant permissions, via matrix-based security, to run a specific command in a Jenkins pipeline. The project parameters will not allow you to create a specific user to run this task, and you have no relevant groups. Which of the following is an option?
- A. Change the workflow to require an existing user to run the task, and assign permissions to that user.
- B. Either creating a group or reassigning the user will work.
- C. Create a group, add an existing user to the task, and grant permissions to that group
- D. Set permissions in Jenkins to allow anonymous users to run the command
Answer: D
Explanation:
You can set permissions for anonymous users with matrix-based security. Since this requires the least impact on existing workflows, it's the best solution.
NEW QUESTION 29
What interval syntax could I use to trigger a build 30 minutes after every hour?
- A. * * * * 30
- B. * * * H/30 *
- C. * 30 * * *
- D. 30 * * * *
Answer: D
NEW QUESTION 30
What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?
- A. Delete or restore old credentials details.
- B. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.
- C. Clean up workspaces left by deleted Jenkins users.
- D. Delete artifacts, togs, and backups that are no longer required.
- E. Prepare for migration from Jenkins 1 to Jenkins 2.
Answer: B
NEW QUESTION 31
......
Achive your Success with Latest CloudBees CJE Exam: https://www.practicedump.com/CJE_actualtests.html
The CJE Exam Test For Brief Preparation: https://drive.google.com/open?id=1pKgP2TDt7H_hdAqjq_ZQzr98ARaWd4cf