CCJE Pre-Exam Practice Tests (Updated 90 Questions) [Q42-Q65]

Share

CCJE Pre-Exam Practice Tests | (Updated 90 Questions)

Valid CCJE Exam Q&A PDF - One Year Free Update

NEW QUESTION 42
Which of these tasks are ONLY available from the "Manage Jenkins" page?
Choose 2 answers

  • A. Configure credentials
  • B. Open Blue Ocean
  • C. Manage plugins
  • D. Configure Global Security
  • E. Define views

Answer: A,D

 

NEW QUESTION 43
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. Download the value from a URL during the build itself.
  • 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. Define the environment variable in a shared library function that each Job calls.
  • E. Put all the pipelines and Jobs on one master or in one folder and set the environment variable in that master or folder.

Answer: B

 

NEW QUESTION 44
In a Pipeline, the stage step_________.

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

Answer: C

 

NEW QUESTION 45
In addition to the features of the CloudBees Folders plugin, which will CloudBees Folders PLUS allow you to do? Choose 2 answers

  • A. Enable logging for a folder.
  • B. Restrict which kinds of items may be created in a folder.
  • C. Restrict an agent to a folder.
  • D. Assign an administrator to a folder.

Answer: C

 

NEW QUESTION 46
You need to automate the deployment of 20 base Jenkins masters. For this, you set the system property Jenkins, install .runSetupWizard to the value "false".
Which is TRUE aboutyour Jenkins masters?

  • A. No default administrator account Is created; you have to configure security manually.
  • B. A default administrator account Is created and you cannot re-enable security.
  • C. A default administrator account is created with user name "admin" and password "admin".
  • D. A default administrator account is created with username "admin" and password from the fie JENKINS_HOME/secret/initialAdminPassword.

Answer: D

 

NEW QUESTION 47
When you want to validate that your software produces the desired behavior for end users, you need to use________.

  • A. smoke tests
  • B. non regression tests
  • C. functional tests
  • D. acceptance tests

Answer: C

 

NEW QUESTION 48
Which actions can you accomplish using the Cloud Bees Core Install Wizard? Choose 2 answers

  • A. Define the initial security settings for the instance.
  • B. Request an Evaluation License to use with the CloudBees Core instance being installed
  • C. Update the Jenkins release used by an existing Operations Center.
  • D. Define the initial set of users for the instance.
  • E. Install a set of recommended plugins (which includes some proprietary plugins developed by CloudBees).

Answer: D,E

 

NEW QUESTION 49
You are using the Jenkins CLI to communicate with a remote Jenkins master. Which are valid ways to authenticate your identity to gain access?
Choose 2 answers

  • A. An SSH key matching a Jenkins user's public key.
  • B. A Jenkins user's username and GitHub API token.
  • C. A Jenkins user's username and Kerberos token.
  • D. An SSH key matching an entry in the authorized_keys file of the user account that the Jenkins master process runs "as".
  • E. A Jenkins user's username and password or API token.

Answer: C,E

 

NEW QUESTION 50
Which enables you to use artifacts from a completed build In the workspace of the currently running build?

  • A. Copy Artifact plugin.
  • B. Rebufld pkjgin.
  • C. Jenkins core.
  • D. ArtifactDeptoyer plugin.

Answer: C

 

NEW QUESTION 51
In an architecture that includes an Operations Center and one or more Client Masters, you want to share an agent node for several Client Masters. What Is the best way to achieve this?

  • A. Configure "Shared agents' In all CloudBees Core masters.
  • B. Configure a "Shared cloud" In al CloudBees Core masters.
  • C. (Configure the same agent node In all CloudBees Core masters.
  • D. Create an Item of type "Shared Agent" in the Operations Center.

Answer: C

 

NEW QUESTION 52
On a Jenkins master, where would you configure tools like Maven, JDK, and Ant?

  • A. Jenkins Nodes -> Install Tools
  • B. Build tools need to be configured manually on each agent.
  • C. Manage Jenkins -> Configure System
  • D. Manage Jenkins -> Global Tool Configuration

Answer: D

 

NEW QUESTION 53
Which of the following are advantages of a Pipeline job when compared to a Freestyle job? Choose 2 answers

  • A. No extra plugins must be installed.
  • B. Job definition can be loaded from the Source Code Management system at build time.
  • C. Builds can be triggered with millisecond granularity.
  • D. Jenkins can be restarted while a build is In progress without impacting the build.
  • E. Builds can be parameterized.

Answer: C,D

 

NEW QUESTION 54
The main purpose of the Beekeeper Upgrade Assistant is to_________.

  • A. Provide information on the current status and configuration options of the CloudBees Assurance Program.
  • B. Notify the user when a new CloudBees Core release is available.
  • C. Automatically install new CloudBees Core releases as soon as they are available.
  • D. Enforce and lock a specific configuration in the CloudBees Core instance defined by the administrator.

Answer: C

 

NEW QUESTION 55
Which are valid command-line options for the Java command that runs Jenkins as a stand alone application?
Choose 3 answers

  • A. --httpPort -- Specify the port on which Jenkins Iistens.
  • B. --Idap -- Specify an LDAP server location to use for user authentication.
  • C. -prefix - Spedfy a string to be added at the end of the URL for this instance.
  • D. --installPlugin - Install a new plugin.
  • E. --logfile -- Specify the path for the Jenkins log fie.

Answer: E

 

NEW QUESTION 56
What does Jenkins do after activating "Prepare for Shutdown" from "Manage Jenkins"?

  • A. None of the above.
  • B. Wait for existing builds to complete and then shut down Jenkins.
  • C. Cancel the effect of the "quiet-down" command if Jenkins is already in Quiet Down mode.
  • D. Wait for existing builds to complete and then restart Jenkins.

Answer: B

 

NEW QUESTION 57

You have an Operations Center architecture as pictured in the exhibit above, where there are:
* Three folders: F1, F2, and F3
* Three shared agents: SI, S2, and S3
* Four client masters: Ml, M2, M3, and M4
Which statements are true?
Choose 2 answers

  • A. M3 can only perform builds on S2 and S3.
  • B. M1 can only perform builds on S1.
  • C. M3 can only perform builds on S2.
  • D. M4 can perform builds on any shared agent.
  • E. M4 can only perform builds on S3.

Answer: A,D

 

NEW QUESTION 58
Which are ways to influence the number of build artifacts that can be archived? Choose 2 answers

  • A. Change the order of jobs in the pipeline.
  • B. unit build data using the job setting "Discard old builds".
  • C. Increase the size of the JENKINS.HOME partition/logical volume.
  • D. Gear the Jenkins cache.
  • E. Make sure you regularly delete unused views.

Answer: B,C

 

NEW QUESTION 59
What is the default directory whore a build takes place?

  • A. The user's home directory.
  • B. The Workspace directory.
  • C. The Builds directory in the job.
  • D. The JENKINS.HOME directory.

Answer: B

 

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

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

Answer: B,E

 

NEW QUESTION 61
Which of the following "agent" directives are not valid in Declarative Pipeline?

  • A. agent docker
  • B. agent none
  • C. agent { label " linux }
  • D. agent { docker ' centos: latest ' }
  • E. agent {dockerfile {filename * Dockerfile' }}

Answer: A

 

NEW QUESTION 62
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. 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.
  • C. 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.
  • D. 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''.
  • 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.

Answer: B,C,D

 

NEW QUESTION 63
Which statements are TRUE when doing a freshinstall of CloudBees Core 2.x?Choose 2 answers

  • A. Only the OPTIONAL plugins selected in the Setup Wizard and their dependencies will be installed, in their latest versions.
  • B. Only the OPTIONAL plugins selected in the Setup Wizard and their dependencies will be Installed, In the versions defined in the CAP Collection.
  • C. AN the OPTIONAL plugins will be installed, In the versions defined In the CAP Collection.
  • D. All the REQUIRED plugins will be Installed, in the versions defined in the CAP Collection.
  • E. After the initial setup, the Beekeeper Upgrade Assistant will always be disabled.

Answer: D,E

 

NEW QUESTION 64
Which is an element that CANNOT be promoted from a Custom Update Center?

  • A. Custom-developed plugins.
  • B. Open source plugins.
  • C. Jenkins core.
  • D. Build tool installers.

Answer: A

 

NEW QUESTION 65
......

Certified CloudBees Jenkins Engineer (CCJE) Free Update Certification Sample Questions: https://www.bootcamppdf.com/CCJE_exam-dumps.html