Read Online CJE Test Practice Test Questions Exam Dumps [Q79-Q104]

Share

Read Online CJE Test Practice Test Questions Exam Dumps

Easily To Pass New CJE Premium Exam Updated [Oct 15, 2022]

NEW QUESTION 79
What's the difference between an upstream project and a downstream project?

  • A. A downstream project triggers an upstream project.
  • B. A downstream project produces no artifacts.
  • C. An upstream project has more build steps
  • D. An upstream project triggers a downstream project.

Answer: D

Explanation:
The relationship between the projects is what determines downstream versus upstream. The upstream job triggers the downstream job, and vice versa.

 

NEW QUESTION 80
Which of the following practices are recommended for a Declarative Pipeline? Choose 3 answers

  • A. Simplify the test/debug process and improve performance of your pipeline by defining separate steps for each Important task performed by the pipeline.
  • B. Use the pipeline DSL to implement intricate networking and computational tasks that your Pipeline needs to do.
  • C. 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.
  • D. Encapsulate common Jenkins logic within shared libraries when leveraging Declarative Pipelines.
  • 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,C,D

 

NEW QUESTION 81
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 Triggers
  • C. Build Environment
  • D. Post-build Actions
  • E. Build

Answer: E

 

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

Answer: B

 

NEW QUESTION 83
Which is an invalid default project parameter?

  • A. File
  • B. md5
  • C. Boolean
  • D. String

Answer: B

Explanation:
"md5" is not a common project parameter.

 

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

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

Answer: E

 

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

Answer: A,B

 

NEW QUESTION 86
What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?

  • A. It Is deleted Immediately.
  • B. It is deleted on the next restart of Jenkins.
  • C. It Is deleted on the next configuration reload.
  • D. Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc.).
  • E. The data is backed up and then deleted from the live configuration.

Answer: D

 

NEW QUESTION 87
Which is a valid agent declaration?

  • A. agent none
  • B. agent { label 'Slave 1'}
  • C. agent any
  • D. All of these

Answer: D

Explanation:
These are all valid invocations of agents in a Jenkinsfile.

 

NEW QUESTION 88
What's the difference between authentication and authorization?

  • A. Authorization is more strict
  • B. Authentication identifies a user, while authorization dictates what a user is allowed to do.
  • C. Authorization identifies a user, while authentication dictates what a user is allowed to do.
  • D. None of these

Answer: B

Explanation:
Authorization and authentication are different but related concepts. They don't vary or indicate a level of strictness.

 

NEW QUESTION 89
Which statements about a Distributed Version Control System are correct? Choose 2 answers

  • A. It makes It easy to fork and merge code.
  • B. It requires one server in each location.
  • C. It requires a central server and a standby server.
  • D. It requires fast network access for daily work.
  • E. It operates without a central server.

Answer: A,E

 

NEW QUESTION 90
Which are Source Code Management tools?
Choose 3 answers

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

Answer: B,D,E

 

NEW QUESTION 91
What's a functional test?

  • A. It tests a small piece of functionality, usually at the class method level.
  • B. It tests against the product specifications.
  • C. It tests components coming together
  • D. It tests the functionality of the project as a whole.

Answer: D

 

NEW QUESTION 92
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 reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."
  • D. It must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.

Answer: B

 

NEW QUESTION 93
You have started work on a project with Docker integration. What is the proper syntax to invoke a Docker agent?

  • A. agent {docker 'openjdk'}
  • B. docker 'openjdk' { install: true }
  • C. deploy { docker 'openjdk' }
  • D. docker { agent 'openjdk:latest' }

Answer: A

Explanation:
"agent {docker 'openjdk'}" is the correct syntax to invoke a docker agent with the 'openjdk' image. This syntax will provide the latest version.

 

NEW QUESTION 94
Which are benefits of binary reuse (compiling once and reusing the built artifact across the rest of the pipeline)? Choose 3 answers

  • A. allows the inclusion of environment configurations into the artifact
  • B. allows a shorter cycle time
  • C. ensures a single version b used throughout the pipeline
  • D. guarantees the same source is tested in each environment
  • E. enables selectively linking stubs and real classes representing an external interface

Answer: A,C,D

 

NEW QUESTION 95
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 pushing. When the build system asks if there are changes to the source code, that's pulling
  • B. Pulling is more efficient.
  • C. 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
  • D. Pushing uses more resources.

Answer: A

Explanation:
Pushing is generally preferred as it assures the action is only performed as changes are made.

 

NEW QUESTION 96
Which is not an option in the Install Wizard?

  • A. Create an Admin user with username and password
  • B. Add SSH Credentials
  • C. Add common plugins
  • D. Add specific plugins

Answer: B

Explanation:
By default, you are only prompted to add user/password credentials for the administrator user.

 

NEW QUESTION 97
In a Pipeline, the stage step_________.

  • A. transfers artifacts to a staging server for testing
  • B. can be used to group a number of other steps into a logical unit for display
  • C. prepares a test environment in Jenkins
  • D. collects a set of artifacts that can be referenced in a later Pipeline step

Answer: B

 

NEW QUESTION 98
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 reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."
  • D. It must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.

Answer: B

 

NEW QUESTION 99
What determines what can be seen in a "My View"?

  • A. It shows items that match a filter regular expression.
  • B. It shows all items configured in Jenkins.
  • C. It shows all items a user has permission to view in Jenkins.
  • D. None of these

Answer: C

Explanation:
"My View" shows items that the user has permission to view.

 

NEW QUESTION 100
What best describes DevOps?

  • A. A pioneer in education
  • B. An organizational culture where developers and operations are working in harmony
  • C. The practice of developing optimal work practices
  • D. None of these

Answer: B

Explanation:
DevOps is a cultural movement that helps facilitate continuous integration concepts by bringing Dev and Ops into harmony, where they may have been separate previously.

 

NEW QUESTION 101
How can you trigger a downstream build?

  • A. Use the run() function passing the downstream projects name from within an upstream project build step.
  • B. Both "Triggered by another project" and the "Parameterized Trigger Plugin"
  • C. In the downstream build, you can select "Triggered by another project."
  • D. You could use the Parameterized Trigger Plugin to trigger from an upstream project.

Answer: B

Explanation:
Both of these options will work. "Triggered by another project" is configured by the downstream project, and the "Parameterized Trigger Plugin" is invoked from the upstream project. You'd only want to use one of these options.

 

NEW QUESTION 102
You want to allow regular users to configure limited aspects of a job but not allow them to change everything, What Jenkins mechanism do to use?

  • A. Job Configuration Restriction plugin
  • B. System environment variables
  • C. Declarative Pipeline
  • D. Build parameters
  • E. Matrix-based security

Answer: B

 

NEW QUESTION 103
In a JUnit report, if we set the "Health report amplification factor" to 2 and there's a 1% failure, what's the health score?

  • A. 75%
  • B. 80%
  • C. 60%
  • D. 98%

Answer: D

Explanation:
You would take 100% then subtract (1%*2), thus 98%.

 

NEW QUESTION 104
......

CJE Certification All-in-One Exam Guide Oct-2022: https://www.dumpsquestion.com/CJE-exam-dumps-collection.html