Docsity

PrepIQ CloudBees CI Essentials Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
PrepIQ CloudBees CI Essentials Ultimate Exam
Question 1. Which component of CloudBees CI centralizes the
management of multiple Jenkins controllers?
A) Shared Libraries
B) Operations Center
C) Pipeline Template Catalog
D) Kubernetes Agent Manager
Answer: B
Explanation: The Operations Center provides a single pane of glass to
administer, monitor, and configure a fleet of Jenkins controllers.
Question 2. In CloudBees CI, a “Managed Controller” primarily serves
which purpose?
A) Hosts user-generated pipelines only
B) Executes jobs on behalf of a specific team while being centrally
administered
C) Provides a sandbox for plugin development
D) Acts as a backup repository for artifacts
Answer: B
Explanation: Managed Controllers are centrally controlled by the
Operations Center but run workloads for designated teams or projects.
Question 3. What UI element in the Operations Center dashboard lists all
registered controllers?
A) Plugin Manager
B) Controllers Overview panel
C) Agent Pool view
D) Credential Store
Answer: B
Explanation: The Controllers Overview panel displays each controller’s
status, version, and health metrics.
Question 4. Which of the following best describes the benefit of using the
Operations Center over standalone Jenkins instances?
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54

Partial preview of the text

Download PrepIQ CloudBees CI Essentials Ultimate Exam and more Exams Technology in PDF only on Docsity!

Question 1. Which component of CloudBees CI centralizes the management of multiple Jenkins controllers? A) Shared Libraries B) Operations Center C) Pipeline Template Catalog D) Kubernetes Agent Manager Answer: B Explanation: The Operations Center provides a single pane of glass to administer, monitor, and configure a fleet of Jenkins controllers. Question 2. In CloudBees CI, a “Managed Controller” primarily serves which purpose? A) Hosts user-generated pipelines only B) Executes jobs on behalf of a specific team while being centrally administered C) Provides a sandbox for plugin development D) Acts as a backup repository for artifacts Answer: B Explanation: Managed Controllers are centrally controlled by the Operations Center but run workloads for designated teams or projects. Question 3. What UI element in the Operations Center dashboard lists all registered controllers? A) Plugin Manager B) Controllers Overview panel C) Agent Pool view D) Credential Store Answer: B Explanation: The Controllers Overview panel displays each controller’s status, version, and health metrics. Question 4. Which of the following best describes the benefit of using the Operations Center over standalone Jenkins instances?

A) Eliminates the need for any plugins B) Enables unified security, plugin, and configuration management across all controllers C) Guarantees zero-downtime deployments without HA configuration D) Removes the requirement for backups Answer: B Explanation: The Operations Center synchronizes security policies, plugins, and configuration, simplifying enterprise governance. Question 5. A “Client Controller” in CloudBees CI is best characterized as: A) A controller that runs inside a Kubernetes pod only B) A controller that developers directly interact with for building pipelines C) A controller dedicated to plugin testing D) A controller that provides read-only access to logs Answer: B Explanation: Client Controllers are the primary interface for developers to create and run pipelines. Question 6. How can an administrator navigate from the Operations Center to a specific Managed Controller’s detailed view? A) Click the controller’s name in the Controllers Overview list B) Use the “Search Plugins” field C) Open the “Agent Configuration” page D) Access the “System Log” dropdown Answer: A Explanation: Selecting a controller name opens its individual dashboard with health, jobs, and configuration details. Question 7. Which backup strategy is most appropriate for a CloudBees CI deployment running on Kubernetes? A) Periodic tar of the $JENKINS_HOME directory on the host VM B) Snapshot of the persistent volume claim (PVC) storing Jenkins data

D) Operations Center Dashboard Answer: B Explanation: Shared Libraries provide a central location for common Groovy code that pipelines can load, promoting reuse. Question 11. The CloudBees Assurance Program (CAP) primarily ensures: A) Unlimited free plugins for all users B) That plugins meet defined stability, security, and support criteria C) Automatic code generation for pipelines D) Real-time log streaming to external services Answer: B Explanation: CAP certifies plugins for enterprise use, offering support tiers and guaranteeing compatibility. Question 12. Which CAP tier provides the highest level of support and guaranteed compatibility? A) Community Tier B) Standard Tier C) Enterprise Tier D) Basic Tier Answer: C Explanation: The Enterprise tier includes proactive monitoring, guaranteed compatibility windows, and priority issue handling. Question 13. The Jenkins Health Advisor assists administrators by: A) Automatically fixing all failing builds B) Providing proactive warnings about configuration drift, plugin incompatibilities, and security issues C) Generating pipeline code from user stories D) Managing user passwords Answer: B

Explanation: Health Advisor scans the environment and suggests remediation actions for health and security concerns. Question 14. How do SCM integrations in CloudBees CI reduce context switching for developers? A) By requiring manual checkout of source code before each build B) By automatically linking pull requests, commits, and build results within the same UI C) By disabling Git access from pipelines D) By storing source code in Jenkins master workspace only Answer: B Explanation: Tight SCM integration surfaces build status directly in the code repository, letting developers stay in their IDE or PR view. Question 15. Which of the following best describes a Declarative Pipeline’s “agent” directive? A) Defines the plugin version to use B) Specifies the node or container where the pipeline’s stages will execute C) Sets the global environment variables for the entire Jenkins instance D) Manages user authentication Answer: B Explanation: The agent directive tells Jenkins where (which node, label, or Docker container) the pipeline should run. Question 16. In a Declarative Pipeline, what is the purpose of the “post” section? A) To define the stages of the pipeline B) To run steps after the pipeline completes, such as cleanup or notifications C) To specify the SCM repository URL D) To install required plugins at runtime Answer: B

Question 20. What is the main role of a build agent in a CI pipeline? A) Store source code permanently B) Execute the steps defined in a pipeline’s stages C) Manage user permissions D) Host the Jenkins UI Answer: B Explanation: Agents (executors) run the actual build, test, and deployment commands defined in pipelines. Question 21. Which type of agent is provisioned dynamically on demand in a Kubernetes cluster? A) Static SSH agent B) Kubernetes Ephemeral Agent C) Shared Windows agent D) Legacy Java Web Start agent Answer: B Explanation: Kubernetes agents are created as pods for each build, then destroyed, providing elasticity. Question 22. What is a key benefit of using shared agents across multiple controllers? A) Reduces the need for plugin management B) Improves resource utilization by pooling executor capacity C) Guarantees zero latency builds D) Eliminates the need for SCM integration Answer: B Explanation: Shared agents allow different controllers to draw from a common pool of executors, balancing load. Question 23. In CloudBees CI, artifacts are:

A) Temporary files deleted after each build B) Files produced by a build that are archived for later retrieval C) Configuration files for plugins D) Credentials stored in plain text Answer: B Explanation: Artifacts are saved outputs (e.g., binaries, reports) that can be downloaded or used by downstream jobs. Question 24. Which statement best describes Single Sign-On (SSO) in CloudBees CI? A) Users must create separate Jenkins passwords for each controller B) Authentication is delegated to an external identity provider, allowing one credential for all CI resources C) SSO disables all role-based permissions D) SSO only works for read-only users Answer: B Explanation: SSO integrates with IdPs (e.g., SAML, OIDC) so users log in once to access all Jenkins resources. Question 25. Role-Based Access Control (RBAC) in CloudBees CI allows administrators to: A) Grant the same permissions to every user automatically B) Assign granular permissions (read, write, admin) to users or groups per controller, folder, or job C) Disable all security features for faster builds D) Store passwords in the job configuration file Answer: B Explanation: RBAC enables fine-grained security policies, ensuring users only have the rights they need. Question 26. Which feature assists organizations in meeting audit requirements by providing immutable logs of CI activity?

B) The Operations Center propagates the plugin update automatically to all attached Managed Controllers C) Plugins are disabled on Managed Controllers until a restart D) No changes occur; Managed Controllers retain their original plugin set Answer: B Explanation: The Operations Center centrally manages plugins and pushes updates to all connected controllers. Question 30. Which backup method is recommended for a CloudBees CI deployment that uses a traditional VM-based Jenkins master? A) Snapshot of the entire VM disk B) Exporting the Kubernetes pod spec C) Using the “Export Job DSL” feature only D) No backup is needed because HA is built-in Answer: A Explanation: For VM-based masters, taking a consistent snapshot of the disk (including $JENKINS_HOME) provides a reliable backup. Question 31. What does “ephemeral agent” imply in the context of CloudBees CI? A) The agent persists forever after creation B) The agent is created for a single build and destroyed afterward, reducing configuration drift C) The agent runs only on Windows machines D) The agent cannot access external networks Answer: B Explanation: Ephemeral agents are short-lived, ensuring a clean environment for each build. Question 32. Which of the following is a direct benefit of using Pipeline Templates? A) They eliminate the need for source control

B) They allow standardization of common stages (e.g., checkout, test, publish) across many pipelines C) They automatically generate unit tests D) They bypass security scans Answer: B Explanation: Templates encapsulate best-practice flow, ensuring consistency across projects. Question 33. How does the “Pipeline Policy” feature help enforce compliance? A) By automatically fixing code style errors B) By restricting the usage of unsafe steps, limiting resource consumption, and enforcing approved agents C) By encrypting all pipeline scripts D) By disabling all plugins except those from the CAP Enterprise tier Answer: B Explanation: Policies define allowed/denied steps, agents, and resource limits, ensuring pipelines adhere to governance rules. Question 34. Which of the following best describes the purpose of the “Operations Center Dashboard”? A) To edit pipeline scripts directly on the master node B) To provide a consolidated view of controller health, job status, and resource utilization across the fleet C) To manage only the shared libraries D) To host the Jenkins CLI tool Answer: B Explanation: The dashboard aggregates data from all controllers, giving administrators an overview of the entire CI landscape. Question 35. In the context of CloudBees CI, what is a “Team Controller”? A) A controller that runs only on a developer’s laptop

B) Store them in the Jenkins Credentials Store and reference them with the credentials() step C) Keep them in a plain-text file on the agent D) Email them to the build team each night Answer: B Explanation: The Credentials Store encrypts secrets and allows safe injection via the credentials() binding. Question 39. How does CloudBees CI simplify disaster recovery for a multi-controller environment? A) By requiring manual copy-paste of configuration files B) By providing a centralized backup/restore mechanism in the Operations Center that can restore all controllers from a single snapshot C) By disabling all plugins during a disaster D) By automatically deleting all jobs after a failure Answer: B Explanation: The Operations Center can orchestrate backups of each controller’s data, enabling coordinated restoration. Question 40. Which of the following best illustrates the concept of “Infrastructure as Code” in CloudBees CI? A) Writing pipeline steps in Groovy B) Defining controller and agent configurations in YAML/JSON files that are version-controlled and applied automatically C) Manually installing plugins via the UI D) Storing logs in a database Answer: B Explanation: IaC treats configuration files as code, enabling reproducible, automated provisioning. Question 41. What is the effect of enabling “Agent Retention Strategy” set to “Delete after build” on a Kubernetes-based agent pool? A) Agents will never be removed, leading to resource exhaustion

B) Agents are automatically terminated after completing a build, freeing resources for new pods C) Agents will be paused instead of deleted D) Agents will ignore any pod scheduling constraints Answer: B Explanation: The retention strategy ensures ephemeral agents are cleaned up, maintaining a lean pool. Question 42. Which of the following statements about “Shared Libraries” is false? A) They can be versioned and referenced by a specific tag or branch B) They must be stored in the same repository as the Jenkinsfile C) They enable code reuse across multiple pipelines and controllers D) They can contain global variables, custom steps, and classes Answer: B Explanation: Shared Libraries can reside in separate repositories; they are not required to be in the same repo as the Jenkinsfile. Question 43. In CloudBees CI, what does the “Operations Center” use to authenticate administrators? A) Local file-based user database only B) Integration with external identity providers (e.g., LDAP, SAML, OIDC) for SSO C) Hard-coded admin password in the UI D) No authentication is required for the Operations Center Answer: B Explanation: The Operations Center supports SSO, allowing centralized authentication via external IdPs. Question 44. Which of the following is NOT a typical reason to use a “Team Controller” rather than a “Client Controller”? A) To isolate resources and permissions per business unit

B) CAP Security Advisories and the Jenkins Security Advisory feed integrated into the Operations Center C) Pipeline Templates D) Agent Auto-Scaling Answer: B Explanation: CAP and the integrated security advisory system alert admins to known plugin vulnerabilities. Question 48. What is the primary purpose of the “Operations Center → Controllers → Add Managed Controller” wizard? A) To install new plugins on the Operations Center itself B) To register a new Jenkins controller under centralized management, providing its URL and authentication token C) To create a new shared library repository D) To delete an existing controller from the fleet Answer: B Explanation: The wizard enrolls a new Jenkins instance as a Managed Controller, enabling central oversight. Question 49. Which of the following statements about “Kubernetes Agents” is true? A) They require manual configuration of each agent node on the master B) They can be automatically provisioned as pods based on demand, scaling up and down with workload C) They cannot run Docker containers inside the pod D) They are only compatible with Windows agents Answer: B Explanation: Kubernetes agents are provisioned dynamically as pods, providing elastic compute resources. Question 50. In the context of CloudBees CI, what does “audit logging” capture? A) Only successful builds

B) Detailed records of user actions, configuration changes, plugin installations, and job executions C) The contents of source code repositories D) Real-time video of the UI Answer: B Explanation: Audit logs provide a comprehensive trail of administrative and operational events for compliance. Question 51. Which of the following best explains why “ephemeral agents” improve build reproducibility? A) They retain previous build artifacts across runs B) Each build starts with a fresh environment, eliminating leftover state from prior builds C) They run on the same static hardware forever D) They bypass security checks for faster execution Answer: B Explanation: Fresh, disposable agents ensure no hidden state influences the build, leading to consistent results. Question 52. What is the effect of enabling “Plugin Compatibility Checks” in the Operations Center? A) It disables all plugins automatically B) It continuously monitors installed plugins for known incompatibilities with the current Jenkins core version and alerts admins C) It forces all plugins to downgrade to the oldest supported version D) It removes the need for any backup strategy Answer: B Explanation: Compatibility checks help prevent runtime failures due to mismatched plugin versions. Question 53. Which of the following is a key benefit of using “Shared Agents” across multiple controllers? A) Guarantees that each controller has a dedicated physical machine

B) By providing pre-approved, reusable templates that new teams can adopt, ensuring compliance from day one C) By disabling all plugins for new teams until they request access D) By automatically generating code reviews for each pipeline commit Answer: B Explanation: Catalog templates embed best practices, reducing the learning curve and ensuring standards. Question 57. Which of the following is an example of a “policy” that can be enforced via Pipeline Policies? A) Maximum allowed build duration per pipeline run B) Preferred color scheme of the UI C) Number of users allowed to log in simultaneously D) Frequency of automatic OS patches on the master node Answer: A Explanation: Policies can limit resources such as build time, memory usage, or specific steps. Question 58. What is the primary advantage of using “Configuration as Code” (CasC) when migrating a Jenkins instance to a new environment? A) Manual re-configuration of each plugin is required B) The entire configuration can be reproduced by applying the same YAML file to the new instance, ensuring consistency C) CasC disables all security features during migration D) CasC only works for the Operations Center, not individual controllers Answer: B Explanation: CasC enables declarative replication of configuration, simplifying migrations. Question 59. Which of the following best describes the “Operations Center → Controllers → Health” view? A) Shows only the number of installed plugins

B) Provides metrics such as CPU, memory, queue length, and agent availability for each controller C) Lists all usernames and passwords in plain text D) Displays only the last successful build per controller Answer: B Explanation: The Health view aggregates performance and resource utilization data for monitoring. Question 60. In CloudBees CI, what is the purpose of the “Credential Binding” step in a pipeline? A) To permanently store the secret in the workspace B) To inject a secret (e.g., password, token) into the build environment as an environment variable or file, without exposing it in the script C) To delete all credentials after the build finishes D) To convert credentials into plain text for debugging Answer: B Explanation: Credential Binding safely provides secrets to steps while keeping them encrypted at rest. Question 61. Which of the following statements about “Kubernetes Agent Pools” is correct? A) All agents in a pool must run on the same physical node B) Pools allow the Operations Center to allocate pods to specific namespaces or clusters, enabling multi-tenant isolation C) Agent pools are only usable with static SSH agents D) Pools prevent any scaling of agents based on demand Answer: B Explanation: Pools can be scoped to particular Kubernetes clusters or namespaces, supporting tenant isolation. Question 62. What does the “Operations Center → Security → SSO Configuration” screen allow administrators to do? A) Define custom password policies for local users only