
Updated May-2023 100% Cover Real CJE Exam Questions Make Sure You 100% Pass
CJE dumps Accurate Questions and Answers with Free and Fast Updates
NEW QUESTION 28
Which of the following "agent" directives are not valid in Declarative Pipeline?
- A. agent { docker ' centos:latest' }
- B. agent { label 'Minux' }
- C. agent none
- D. agent docker
- E. agent (dockerfile {filename ' Dockerfile' } }
Answer: D
NEW QUESTION 29
What types of credentials does Jenkins support?
- A. All of these
- B. Username/API Token
- C. SSH Keys
- D. Username/Password
Answer: A
Explanation:
Jenkins supports all of these credential types.
NEW QUESTION 30
How can you configure a Declarative Pipeline to record the fingerprint of an artifact?
- A. Enable the Declarative Pipeline 'enableFingerprints' 'option' .
- B. Set the "fingerprint: true" argument for the archiveArtifactsQ step.
- C. CaII the fingerprintArtifact() step immediately after the archiveArtifacts( ) step.
- D. No action is required; Declarative Pipelines automatically record a fingerprint for each artifact.
- E. Set the Fingerprint Artifacts global configuration option.
Answer: B
NEW QUESTION 31
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. 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.
- E. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
Answer: A,B,C
NEW QUESTION 32
Where do you configure a shared global library?
- A. Project Configuration
- B. None of these
- C. Configure System -> Global Pipeline Libraries
- D. Configure Global Security
Answer: C
Explanation:
You can establish inter-project functionality in a shared global library.
NEW QUESTION 33
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. There are not enough idle executors available on agent A.
- D. Each build in the build queue must be manually attached to an available executor.
Answer: C
NEW QUESTION 34
In a JUnit report, if we set the "Health report amplification factor" to 3 and there's a 10% failure, what's the health score?
- A. 60%
- B. 70%
- C. 75%
- D. 98%
Answer: B
Explanation:
You would take 100% then subtract (10%*3), thus 70%.
NEW QUESTION 35
What's the term for an item produced and retained from a build?
- A. source code
- B. fingerprint
- C. artifact
- D. config
Answer: C
Explanation:
Artifacts are items produced by a build.
NEW QUESTION 36
DevOps teams can implement traceability of artifacts in a continuous delivery pipeline by using
- A. manual recording
- B. the Downstream Builds plugin
- C. the Pipeline plugin to fingerprint files
- D. Pipeline labels
Answer: C
NEW QUESTION 37
What do you need to configure an SSH agent?
- A. A username and password configured for the slave node
- B. SSH keys with the Master's pub key set as an authorized key on the agent node
- C. None of these
- D. No special authorization setup
Answer: B
Explanation:
You'll need to configure key-based auth to utilize the SSH agent.
NEW QUESTION 38
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. Dashboard Left Panel -> Manage Jenkins -> Manage Plugins
- B. Dashboard Left Panel -> Manage Jenkins -> Configure System -> Manage Plugins
- C. None of these
- D. There is no graphical Plugin Manager
Answer: A
Explanation:
This is how you can reach the Plugin Manager from the dashboard.
NEW QUESTION 39
When you want to validate that your software produces the desired behavior for end users, you need to use
- A. functional tests
- B. acceptance tests
- C. smoke tests
- D. non-regression tests
Answer: C
NEW QUESTION 40
What's "Infrastructure as Code?"
- A. There's no hardware
- B. None of these
- C. Source code is hosted in your Infrastructure
- D. Infrastructure is defined in source code, like the Jenkinsfile for a pipeline.
Answer: D
Explanation:
This is also shown in config management tools, like Puppet and Chef. The Jenkinsfile represents a "pipeline as code" concept, specifically.
NEW QUESTION 41
Your company's DevOps staff is new to the continuous integration methodology. Some users are unclear on best practices, and you're hearing all kinds of feedback from them, some of it wrong. Which of the following statements is NOT a CI best practice?
- A. Builds should be self-testing. That allows us maximum flexibility in spotting breaking changes and prevents a lot of staff time spent trying to both integrate a change and determine why it broke the build.
- B. Every commit should be built. That ensures we don't wind up with a lot of stray code and that any future change will be testable.
- C. Build everything manually, because that prevents errors.
- D. We should really use a single source repository. That makes it easier for us to manage what gets into the build pipeline.
Answer: C
Explanation:
CI relies heavily on automation, especially build automation, to enable the sped-up pace of code commits. If things are built manually, the pipeline is slowed down, and the ability to maintain a fast change pace is inhibited.
NEW QUESTION 42
Which is not a function provided by the Jenkins CLI?
- A. db-dump
- B. who-am-i
- C. restart
- D. shutdown
Answer: A
Explanation:
The others are all common functions of the CLI
NEW QUESTION 43
......
Real CJE Quesions Pass Certification Exams Easily: https://certkingdom.practicedump.com/CJE-practice-dumps.html