What Is the most efficient way to configure an environment variable that is needed for several pipelines and/or fobs?
A. Set the environment variable on each pipeline or Job.
B. Define the environment variable in a shared library function that each Job calls.
C. Define the environment variable on the Operations Center so it is available to all pipelines and Jobs, whereever they run in the duster.
D. Download the value from a URL during the build itself.
E. Put all the pipelines and Jobs on one master or in one folder and set the environment variable in that master or folder.
正解:D
質問 2:
In a Freestyle fob, the tests are being executed within a Shell build step and then published vid the "Publish JUnit results" post build action. Which conditions must Alt be met In order for the JUnit publisher to display the job status .is "Unstable''?
Choose 3 answers
A. All build steps are successful.
B. There is at least one SKIPPED test case.
C. There is at least one FAILED test case.
D. All publishers before "Publish JUnit results" assign the SUCCESS status.
E. The overall "stability report amplification factor" is greater than 1.00.
F. The "Publish JUnR results" reporter finds the test reports.
正解:A,B,E
質問 3:
You are an administrator of a base Jenkins master with the recommended pluginset and you wantto 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 NOTbe able to see or access. Which of the following is I Kill assuming your users do not have admin rights?
A. The SSH key will be stored in the )ENKINS_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 "Agents", 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 "System", for the node's SSH authentication.
正解:C
質問 4:
Which is an element that CANNOT be promoted from a Custom Update Center?
A. Open source plugins.
B. Build tool installers.
C. Jenkins core.
D. Custom-developed plugins.
正解:D
質問 5:
When running Cloud Bees Core on traditional platforms, what happens when a fail over lakes place on a High Availability configuredClient Master?
A. Users will notice that builds in progress on the failed node are lost but they will not notice any downtime on the service because the sessions and workload are shared between participating Client Master nodes; we have an active-active HA setup.
B. Users will not notice anything because participating Master nodes share workloads together; we have an active-active HA setup.
C. Users will not notice anything because the sessions are shared between participating Client Masters and the $JE NKINS HOME directory of the failed Client Master Is copied to resume the failed master's work; we have an active passive setup.
D. Users will experience a brief downtime, comparable to the time required to reboot a Jenkins master in a non-HA setup. Freestyle builds that were in progress are lost, but Pipeline builds will resume when the secondary master is online; we have an active passive setup.
正解:D
質問 6:
Declarative Pipelines and Scripted Pipelines are both defined in a Jenkinsfilee and use the same underlying subsystem. Which of the following is NOT true when discussing Declarative versus Scripted Pipelines?
A. Scripted Pipelines usually execute significantly faster than the comparable Declarative Pipeline.
B. You can use the Declarative Directive Generator to help structure statements for Declarative Pipelines and use the Snippet Generator to help structure statements for Scripted Pipelines.
C. Declarative Pipelines usually use the "agent" section to define the node where the code should execute but the "node" parameter can be used instead and allows for additional options such as
"customWorkspace''.
D. Scripted Pipelines require extensive knowledge of the Apache Groovy syntax wher ease Declarative Pipelines can be implemented with minimal understanding of Groovy and so have a lower risk of syntax errors than Scripted Pipelines.
E. Scripted Pipelines can implement some functionality that Declarative Pipeline syntax does not support, although small bits of scripted syntax can be included In a Declarative Pipeline by using the "script" step.
正解:B,C,D
質問 7:
A Source Code Management system records and tracks all changes of a source code repository. What is the feature that enables an SCM system to notify other systems when such changes happen?
A. Polling
B. Tagging
C. Merge Review
D. Version Control
E. Webhooks
正解:D
質問 8:
To track file usage across Jenkins jobs using fingerprints:
A. Enable "record fingerprints of files" in the post-build actions section of a Job to track usage.
B. Use a laptop or personal computer with an integrated fingerprint scanner.
C. All of the above.
D. Purchase the fingerprint license and install the Jenkins fingerprint service pack.
正解:C
質問 9:
In Jenkins, a trigger commonly refers to a mechanism that automatically_______.
A. sends notification once the build is completed
B. updates plugins
C. starts the build of a job
D. detects code changes in the repository
正解:A
Konno -
今日は、無事にCCJE試験に合格しました。嬉しかったです。誠にありがとうございました。