
CJE exam questions for practice in 2022 Updated 188 Questions
Updated Aug-2022 Premium CJE Exam Engine pdf - Download Free Updated 188 Questions
NEW QUESTION 43
Which is an invalid matrix-based security realm?
- A. Administer
- B. Slave
- C. Drive
- D. Run
Answer: C
Explanation:
The Drive security realm does not exist. All of the others do
NEW QUESTION 44
What do you need to configure an SSH agent?
- A. No special authorization setup
- B. A username and password configured for the slave node
- C. SSH keys with the Master's pub key set as an authorized key on the agent node
- D. None of these
Answer: C
Explanation:
You'll need to configure key-based auth to utilize the SSH agent.
NEW QUESTION 45
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 immediately after changes are committed.
- B. The entire repository Is scanned so no commits are missed.
- C. Avoid unnecessary overhead from polling.
- D. Builds are started on a defined a on schedule.
Answer: A,C
NEW QUESTION 46
Your team is working on a new project to build a CI/CD pipeline for your Docker containers. You have discovered a new plugin to help with your image build. Where would you navigate to install this new plugin?
- A. There is no graphical Plugin Manager
- B. Dashboard Left Panel -> Manage Jenkins -> Manage Plugins
- C. Dashboard Left Panel -> Manage Jenkins -> Configure System -> Manage Plugins
- D. None of these
Answer: B
Explanation:
This is how you can reach the Plugin Manager from the dashboard.
NEW QUESTION 47
What's the Jenkinsfile?
- A. It contains the basic configuration for Jenkins
- B. None of these
- C. It's only used for freestyle projects
- D. It contains the definition for a pipeline
Answer: D
Explanation:
The Jenkinsfile lives with project source code and portrays the "Pipeline as code" concept.
NEW QUESTION 48
What's the term for an item produced and retained from a build?
- A. fingerprint
- B. source code
- C. config
- D. artifact
Answer: D
Explanation:
Artifacts are items produced by a build.
NEW QUESTION 49
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. There are not enough idle executors available on agent A.
- B. Each build in the build queue must be manually attached to an available executor.
- C. Changes were made to this job's configuration while this Job had builds in the build queue.
- D. The "Execute concurrent builds if necessary option in the job configuration has reached Its user-defined maximum.
Answer: A
NEW QUESTION 50
Which isn't a common Jenkins build tool?
- A. Docker
- B. Excel
- C. Ant
- D. Gradle
Answer: B
Explanation:
Excel is not used to build things.
NEW QUESTION 51
Which of the following statements are TRUEabout Jenkins Pipeline?
Choose 2 answers
- A. The Pipeline syntax supports running steps in parallel on different agents.
- B. It is not possible to call a Freestyle Job from within a Pipeline Job.
- C. Pipeline jobs survive master restarts only If the Pipeline definition script Is checked into an SCM.
- D. When using a Multibranch Pipeline, Jenkins can automatically create Jobs for each branch in the source code repository.
- E. A Pipeline job must contain at least three stages.
Answer: A,D
NEW QUESTION 52
You're setting up a folder config in Jenkins, and you set a couple of items called "child item with worst health" and "recursive." A colleague turns to you, since you know the answers to the rest of his questions, and asks you, "how do I determine the health of the folder with those items set?What's your answer?
- A. Items in nested sub-folders are used to calculate the folders health.
- B. I don't know. Ask someone else.
- C. Only top scoped projects will determine the health of a folder.
- D. Don't be silly. Folder's don't have health.
Answer: A
Explanation:
When a folder is configured to recursive and "child item with worst health" is selected, the item in the recursive folder structure will be used to determine the folder's health.
NEW QUESTION 53
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 on every branch re-Index process.
- C. All orphaned jobs that match the "Orphaned Item Strategy" are cleaned up automatically every 24 hours.
- D. All orphaned jobs are cleaned up every time the Multibranch project is saved.
Answer: A
NEW QUESTION 54
How can you easily see if a plugin you use needs to be upgraded to a new version?
- A. Email the maintained
- B. Check the Jenkins Update Center.
- C. Check the plugin wiki.
- D. Search for the plugin in the Jenkins artifact repository.
Answer: B
NEW QUESTION 55
How do you set a freestyle project to be parameterized?
- A. From "Project Configuration," select "This project is parameterized."
- B. Freestyle projects don't accept parameters
- C. All freestyle projects are parameterized
- D. Choose the project from the parameterized list in the "Configure System" section.
Answer: A
NEW QUESTION 56
You want to archive and track a build artifact, "build/mybuilt.jar", with a fingerprint from your team's build. How would you invoke the archiveArtifacts function to accomplish this?
- A. archiveArtifacts artifacts: ''build/mybuilt.jar'
- B. archiveArtifacts = 'build/mybuilt.jar', fingerprint: true
- C. archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: false
- D. archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: true
Answer: D
Explanation:
Example with Context: post { success { archiveArtifacts artifacts: 'build/mybuilt.jar', fingerprint: true } }
NEW QUESTION 57
What types of credentials does Jenkins support?
- A. Username/API Token
- B. SSH Keys
- C. Username/Password
- D. All of these
Answer: D
Explanation:
Jenkins supports all of these credential types.
NEW QUESTION 58
Your organization has been carefully and painstakingly performing builds on specific commits which the development team deems as releases or release candidates and subsequently only testing major releases. You have been placed in charge of a new project in which continuous integration is the primary goal. Which part of your organization's existing process do you need to modify in the furtherance of the goal of continuous integration?
- A. Building every commit.
- B. Building everything manually with great care.
- C. Maintaining a single source repository.
- D. Making Builds Self-Testing.
Answer: B
Explanation:
A good CI process should contain all the above, except it should no longer contain a manual build process.
NEW QUESTION 59
What is the purpose of the "Manage Users" section of the Manage Jenkins dashboard?
- A. Defines user groups used for role-based strategy authorization.
- B. Contains entries used for the security matrix or project security matrix.
- C. 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.
- D. Defines aliases for credentials that have been created In the external security realm.
- E. Each user who is allowed access to Jenkins must have an entry in this Jenkins user database.
Answer: E
NEW QUESTION 60
What's the difference between an upstream project and a downstream project?
- A. An upstream project has more build steps
- B. An upstream project triggers a downstream project.
- C. A downstream project produces no artifacts.
- D. A downstream project triggers an upstream project.
Answer: B
Explanation:
The relationship between the projects is what determines downstream versus upstream. The upstream job triggers the downstream job, and vice versa.
NEW QUESTION 61
What does the Build Queue contain?
- A. Pull requests
- B. Scripts waiting approval
- C. Disabled projects
- D. Builds waiting for an executor
Answer: D
Explanation:
The status of executors show in the Build Queue.
NEW QUESTION 62
Which of the following are true about the structure of a Declarative Pipeline? Choose 2 answers
- A. Each pipeline must have a global agent specification.
- B. All stages in a Pipeline must execute on the same type of agent.
- C. Any Pipeline DSL code that Implements complex computational tasks must be located outside any stage block.
- D. Steps are the logical segmentation of a Pipeline; they contain stages that define actual tasks.
- E. Stages are the logical segmentation of a Pipeline; they contain steps that define actual tasks.
Answer: A,E
NEW QUESTION 63
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?Parameter =Value
- B. /build?Parameters=Value
- C. /buiWWithParameters?Parameter=Value
- D. /buildWithParameters
Answer: C
NEW QUESTION 64
Where is the initialAdminPassword stored on the system?
- A. /opt/jenkins/
- B. /usr/lib/jenkins/password/
- C. /var/lib/jenkins/secrets/
- D. /tmp/Jenkins/
Answer: C
Explanation:
The initialAdminPassword file, referenced in the Install Wizard, is stored in /var/lib/jenkins/secrets/.
NEW QUESTION 65
Which step is NOT part of a traditional continuous integration workflow?
- A. Checkout from an SCM.
- B. Ask your manager for permission to commit code.
- C. Update with latest code from the mainline.
- D. Add or change tests as necessary
Answer: B
Explanation:
Asking for permission is against the central tenant of continuous integration, "Automate Everything."
NEW QUESTION 66
The Jenkins Install Wizard allows you to
- A. completely define the security and notification settings of the Jenkins Instance you are installing
- B. define an-admin user for Jenkins
- C. define non-admin users for Jenkins
- D. define the security settings of the Jenkins instance you are installing
- E. define executor agents
Answer: A
NEW QUESTION 67
What interval syntax could I use to trigger a build every 15 minutes?
- A. H/15 * * * *
- B. * * 15 * *
- C. 15 * * * *
- D. * * * * H/15
Answer: A
NEW QUESTION 68
......
Authentic CJE Dumps With 100% Passing Rate Practice Tests Dumps: https://www.testinsides.top/CJE-dumps-review.html