[Jan 13, 2022] CJE certification guide Q&A from Training Expert BraindumpsPrep
CJE Certification Overview Latest CJE PDF Dumps
NEW QUESTION 34
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. /buildWithParameters
- B. /build?Parameters=Value
- C. /build?Parameter =Value
- D. /buiWWithParameters?Parameter=Value
Answer: D
NEW QUESTION 35
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 36
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 37
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 must be configured with a dedicated "Health Metric" setting before it can report its health with weather icons.
- B. It does not report its health on the folder level; only Jobs report health.
- C. It reports its health as "success" ("Sunny" weather icon), because that is the health of the "latest built item."
- D. It reports its health as "failed" {"Raining Cloud" weather icon), because that is the "worst health of the sub-items".
Answer: D
NEW QUESTION 38
What happens to all associated configuration metadata (on jobs, builds, etc) after a plugin is uninstalled?
- A. The data is backed up and then deleted from the live configuration.
- B. Nothing happens. The data remains on the persisted form of the configuration until the next save of that Rem (job, etc.).
- C. It Is deleted on the next configuration reload.
- D. It is deleted on the next restart of Jenkins.
- E. It Is deleted Immediately.
Answer: B
NEW QUESTION 39
Which of the following build steps is most appropriate to use to publish the artifact files of a build?
- A. Upload the artifact files to a central artifact repository.
- B. Stash artifact files.
- C. Commit the artifact files to git.
- D. Copy artifact files to the agent file system
Answer: A
NEW QUESTION 40
What does the M# of executors" field on the Jenkins master control?
- A. Number of external build agents that can be used forjobs run on this Jenkins master.
- B. Number of Java threads that can run Jenkins jobs.
- C. Number of jobs that can execute simultaneously on the Jenkins master
- D. Number of CPU cores configured for this master.
- E. Maximum number of jobs which can be run concurrently on attached agents.
Answer: C
NEW QUESTION 41
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 42
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 43
Which are benefits of binary reuse (compiling once and reusing the built artifact across the rest of the pipeline)? Choose 3 answers
- A. allows a shorter cycle time
- B. ensures a single version b used throughout the pipeline
- C. allows the inclusion of environment configurations into the artifact
- D. guarantees the same source is tested in each environment
- E. enables selectively linking stubs and real classes representing an external interface
Answer: B,C,D
NEW QUESTION 44
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. Most credentials called from a pipeline have Global scope, not System scope.
- C. The credential types supported are defined by the binding plugin (or the resource being accessed.
- D. Credential IDs are case Insensitive.
Answer: A,D
NEW QUESTION 45
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 46
A freestyle job is set up to "Enable concurrent builds if necessary" and configured to run on a single node.
How can you ensure that multiple concurrent runs share the same workspace?
- A. Multiple concurrent runs can never share the same workspace.
- B. Define a "Custom workspace" path for the job.
- C. Pass the argument -Dhuason.model .Run. lockworkspace=false in the Jenkins master Invocation.
- D. Check "Do not lock workspace" In the Advanced Project Options of the project.
Answer: B
NEW QUESTION 47
What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?
- A. Clean up workspaces left by deleted Jenkins users.
- B. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.
- C. Prepare for migration from Jenkins 1 to Jenkins 2.
- D. Delete or restore old credentials details.
- E. Delete artifacts, togs, and backups that are no longer required.
Answer: B
NEW QUESTION 48
In order to send email notifications on build completion using Jenkins' built in mail functionality, which TWO of the following must be true?
- A. Jenkins must be successfully configured to point to a mail server.
- B. The job must be configured to send email.
- C. Sendmail must be Installed and running on the same machine as Jenkins.
- D. Jenkins must be directly connected to the Internet.
- E. Jenkins must have a unique email address.
Answer: A,B
NEW QUESTION 49
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 50
How can you configure a Declarative Pipeline to record the fingerprint of an artifact?
- A. CaII the fingerprintArtifact() step immediately after the archiveArtifacts( ) step.
- B. Enable the Declarative Pipeline 'enableFingerprints' 'option' .
- C. Set the Fingerprint Artifacts global configuration option.
- D. Set the "fingerprint: true" argument for the archiveArtifactsQ step.
- E. No action is required; Declarative Pipelines automatically record a fingerprint for each artifact.
Answer: D
NEW QUESTION 51
One quality of an ideal build node K that it is_________.
- A. on-master
- B. static
- C. ephemeral and replaceable
- D. tailored to specific builds
Answer: C
NEW QUESTION 52
A Freestyle job has the configuration shown here:
You run the following command from a Unix terminal: curl http: ///git/notifyCommit?
url-gitagithub.com: cloudbees/github test.git Will the Job be triggered?
- A. It will be triggered if the polling detects a change In any git branch.
- B. It will be triggered if the polling detects a change In the git branch "master".
- C. It will be triggered if the polling detects a change in the git branch "development".
- D. It will not be triggered.
Answer: C
NEW QUESTION 53
......
The Best CloudBees CJE Study Guides and Dumps of 2022: https://www.briandumpsprep.com/CJE-prep-exam-braindumps.html
Top CloudBees CJE Exam Audio Study Guide! Practice Questions Edition: https://drive.google.com/open?id=1f4F11y0X8CuwghdYw7WjKGYep-iz24Xd
