Certbus > CloudBees > Jenkins Engineer > CJE > CJE Online Practice Questions and Answers

CJE Online Practice Questions and Answers

Questions 4

Why Is the performance of a Jenkins master Improved by using a distributed builds architecture?

A. Because executors cannot be allocated on the master.

B. Because executors offloaded onto build nodes are not performant.

C. Because it prevents the CPU being overloaded during parallel polls.

D. Because it prevents builds from overloading a master's CPU/memory.

E. Because builds cannot be run In parallel on a master.

Browse 60 Q&As
Questions 5

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.

Browse 60 Q&As
Questions 6

What is the purpose of the "Manage Old Data" screen under "Manage Jenkins"?

A. Delete artifacts, togs, and backups that are no longer required.

B. Clean up workspaces left by deleted Jenkins users.

C. Delete outdated configurations left by uninstalled, deleted, or upgraded plugins.

D. Delete or restore old credentials details.

E. Prepare for migration from Jenkins 1 to Jenkins 2.

Browse 60 Q&As
Questions 7

In Jenkins, which section in a Freestyle job configuration is used to execute a Linux (shell) or Windows (batch) command?

A. Build

B. Build Environment

C. Source Code Management

D. Build Triggers

E. Post-build Actions

Browse 60 Q&As
Questions 8

Pipelines often require access to protected resources such as servers, databases, and SCMs. Without using an external credentials manager, which of the following provides the most secure centralized mechanism for managing the "secrets" that Jenkins requires to login/authenticate (for example: keys, tokens, passwords)?

A. Store the secrets on the Jenkins master using the Credentials plugin.

B. Include the secrets In the home directory of the Jenkins agent account.

C. Store the secrets required in the SCM alongside the application source code.

D. Embed secrets into the build and deployment scripts invoked by the job.

E. Store the secrets as Node Properties for each agent definition.

Browse 60 Q&As
Questions 9

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

A. Jenkins can be restarted while a build is In progress without impacting the build.

B. Job definition can be loaded from the Source Code Management system at build time.

C. No extra plugins must be installed.

D. Builds can be parameterized.

E. Builds can be triggered with millisecond granularity.

Browse 60 Q&As
Questions 10

When you upgrade a plugin and find an issue in the new version, how ran you move hade to the previously installed version? Choose 2 answers

A. Use the pluginManager.downgrade method in the script console.

B. Select the version you want to use in the global configuration section for this plugin.

C. Select one of the previous versions in the Plugin Manager.

D. Manually download and install the previously installed version.

E. Use the "downgradeplugin" command In the Jenkins CI I

F. Use the button on the Plugin Manager that allows a downgrade to the previously installed version.

Browse 60 Q&As
Questions 11

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. /build?Parameter =Value

B. /buiWWithParameters?Parameter=Value

C. /buildWithParameters

D. /build?Parameters=Value

Browse 60 Q&As
Questions 12

A multi-configuration job contains the combination filter index% 4=1. What does this filter achieve?

A. It removes 3 combinations In every 4.

B. It removes one combination in every 4.

C. It removes the fourth combination.

D. Nothing. The syntax is Invalid.

E. It removes the first combination.

Browse 60 Q&As
Questions 13

Which of the following is true about resuming a Declarative Pipeline?

A. Declarative Pipelines cab be restarted after a Jenkins failure but not after a transient outage (such as a network failure or disk space exhaustion).

B. Declarative Pipelines can be resumed only after a transient outage (such as a network failure or disk space exhaustion).

C. All Declarative Pipelines are restartable by default, with the same inputs (commit to build, parameters, etc) as the original run. Any data that was built In the original run Is available only If the preserveStashes() optionIs specified In the Jenkinsfile

D. Declarative Pipelines that use Docker containers can not be resumed because the docker APIs that Jenkins calls to createthe container are not serialized

E. A Declarative Pipeline can be restarted only If the preserveStashes() option Is set In the pipeline.

Browse 60 Q&As
Questions 14

What does a flashing build icon in the Build History indicate? Choose 3 answers

A. A groovy script needs to be approved.

B. A build is waiting for Input.

C. The build is waiting for an executor to be available.

D. An agent is being spawned.

Browse 60 Q&As
Questions 15

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. Use a credential "SSH Username with private key", restricted to the Scope "System", for the node's SSH authentication.

B. 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.

C. Use a credential "SSH Username with private key", restricted to the Scope "Agents", for the node's SSH authentication.

D. The SSH key will be stored in the JENKINS_HOME/.ssh folder. Configure the agent to use a key from the "standard" SSH folder.

Browse 60 Q&As
Questions 16

You need to automate the deployment of 20 base Jenkins masters. I or this, you set the system property jenkins.install.runSetupWizard to the Value "false".

Which Is TRUF about your Jenkins masters?

A. No default administrator account is created; you have to configure security manually.

B. A default administrator account is created with username "admin" and password "ad

C. A default administrator account is created with username "admin" and password from the file JENKINS_HOME/secrets/initialAdminPassword

D. A default administrator account is created and you cannot re-enable security.

Browse 60 Q&As
Questions 17

Which TIIKII of the following are considered best practices when setting up rules for notifications?

A. Send notifications only when direct intervention is needed.

B. Do not send developers too many email notifications.

C. Make sure the notification's target Is the right person.

D. Send notifications by multiple channels (email, chat room, PagerDuty, etc.) to make sure they are received.

E. Periodically change the recipient of emails, to make sure they are not classified as spam.

Browse 60 Q&As
Questions 18

Where do you find alerts about Jenkins security issues? Choose 3 answers

A. Beekeeper Upgrade Assistant if you are running CloudBees Jenkins Distribution or CloudBees Core.

B. An email message that is automatically sent to all users who have registered with the mailing list at [email protected].

C. A banner displayed in the upper right section of the master's home page.

D. An email message sent to all users who are listed in the "Send security notifications'' field of the "Extended E-mail Notification" configuration.

E. Jenkins logs.

Browse 60 Q&As
Exam Code: CJE
Exam Name: Certified Jenkins Engineer (CJE)
Last Update: May 01, 2024
Questions: 60 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99