




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which primary benefit does CloudBees Operations Center provide over managing individual standalone Jenkins instances? A) Unlimited free plugins B) Centralized management of jobs, plugins, and security across multiple controllers C) Automatic code generation for pipelines D) Built‑in source‑code hosting Answer: B Explanation: Operations Center enables administrators to manage configuration, plugins, security, and jobs from a single UI for many Jenkins controllers, reducing administrative overhead. Question 2. In the Operations Center UI, where can you view the health status of a specific Managed Controller? A) Under “Global Settings” → “Health” B) In the “Controllers” list, click the controller name to open its details page C) On the Jenkinsfile editor screen D) Inside the “User Management” section Answer: B Explanation: Each controller appears in the Controllers list; selecting it opens a page that displays health metrics, version, and connected agents. Question 3. Which controller type is intended to host pipelines that are shared across multiple teams but owned by a single administrative domain?
A) Client Controller B) Team Controller C) Managed Controller D) Master Controller Answer: C Explanation: Managed Controllers are centrally administered and can host shared pipelines while being managed by Operations Center. Question 4. What is the main function of a Client Controller in CloudBees CI? A) To provide a UI for end‑users only, without executing jobs B) To run pipelines on behalf of a specific development team while being managed centrally C) To store backup archives for the entire CI system D) To act as a load balancer for agents Answer: B Explanation: Client Controllers are assigned to a team, allowing them to own pipelines and agents while still being governed by Operations Center. Question 5. How does an administrator access the Operations Center dashboard? A) By navigating to https://<oc-host>/operations-center/ and authenticating with SSO or local credentials B) Through the Jenkins CLI command oc-login
Answer: B Explanation: The Backup Operator integrates with Kubernetes PVCs to snapshot and restore the data required by Controllers and Operations Center. Question 8. High Availability (HA) for CloudBees CI primarily ensures which of the following? A) Unlimited concurrent builds B) Zero‑downtime during controller or node failures by providing redundant instances C) Automatic code linting for all pipelines D) Free usage of premium plugins Answer: B Explanation: HA deploys multiple controller replicas and a load balancer so that if one instance fails, another takes over, minimizing disruption. Question 9. Which concept allows the entire configuration of a CloudBees CI controller to be stored in a YAML file and version‑controlled? A) Jenkinsfile B) Configuration as Code (CasC) C) Shared Library D) Pipeline Template Answer: B
Explanation: CasC enables declarative definition of system configuration (security, agents, plugins) in YAML, which can be stored in source control. Question 10. When scaling to dozens of controllers, which method is recommended for provisioning new Managed Controllers? A) Manually installing Jenkins on each VM B) Using the Operations Center “Create Controller” wizard with a predefined CasC template C) Copy‑pasting the controller’s home directory across servers D) Relying on developers to install controllers on their laptops Answer: B Explanation: The wizard leverages CasC templates to automatically provision and configure new controllers at scale. Question 11. What primary advantage do Shared Libraries provide in a CloudBees CI environment? A) They replace the need for any Jenkinsfile B) Centralized reusable Groovy code that can be called from multiple pipelines, ensuring consistency C) They encrypt all pipeline logs automatically D) They enable pipelines to run without agents Answer: B Explanation: Shared Libraries store common functions, steps, and variables that pipelines across teams can import, promoting reuse and standardization.
A) Automatically fix all failing pipelines B) Provide proactive warnings about configuration issues, plugin incompatibilities, and security risks C) Generate revenue reports for CloudBees usage D) Replace the need for a backup strategy Answer: B Explanation: Health Advisor scans the system and surfaces recommendations to improve stability and security. Question 15. How does CloudBees CI’s native SCM integration reduce context switching for developers? A) By requiring developers to manually copy code into the CI server B) By allowing pipelines to automatically trigger on SCM events and fetch source without leaving the IDE C) By disabling all SCM features to simplify the UI D) By forcing developers to use a single SCM vendor Answer: B Explanation: Native integrations detect commits, pull requests, and branches, triggering pipelines directly, so developers stay within their development workflow. Question 16. Integrated feedback loops in CloudBees CI primarily aim to: A) Delay test results until the end of the week
B) Provide immediate build and test results back to the developer’s pull‑request or IDE, enabling faster iteration C) Replace unit testing entirely D) Store feedback only in a separate analytics database Answer: B Explanation: Feedback loops deliver real‑time status (pass/fail, code coverage) to the source‑code platform, allowing developers to address issues quickly. Question 17. What is the core purpose of a Jenkins Pipeline? A) To host a static website B) To define a repeatable, automated sequence of stages that build, test, and deploy software C) To replace version control systems D) To manage user authentication only Answer: B Explanation: Pipelines codify the CI/CD workflow, orchestrating build, test, and deployment steps. Question 18. In a Declarative Pipeline, which top‑level directive defines where the pipeline runs? A) steps B) agent
Explanation: In Jenkins console output, * prefixes the start of a step, showing its execution order. Question 21. Pipeline Templates in CloudBees CI are used to: A) Automatically generate documentation for pipelines B) Provide a reusable, pre‑approved pipeline structure that teams can instantiate, ensuring compliance with best practices C) Encrypt pipeline code at rest D) Replace the need for a Jenkinsfile entirely Answer: B Explanation: Templates define a standard skeleton (agents, stages, policies) that can be reused, promoting consistency. Question 22. The Pipeline Template Catalog offers which benefit? A) Unlimited storage for pipeline artifacts B) A searchable library of vetted templates that can be imported into any controller C) Real‑time code compilation for Groovy scripts D) Automatic rollback of failed pipelines Answer: B Explanation: The catalog centralizes approved templates, making them discoverable and reusable across the organization.
Question 23. Pipeline Policies are primarily intended to: A) Speed up pipeline execution by parallelizing stages B) Enforce governance rules such as required approvals, restricted agents, or banned steps C) Generate UI themes for the Operations Center D) Provide free premium plugins to all users Answer: B Explanation: Policies let administrators set constraints (e.g., only certain agents, mandatory code review) to ensure compliance. Question 24. Cross‑Team Collaboration features in CloudBees CI enable: A) Sharing of agents, libraries, and templates across different controllers while maintaining separate security boundaries B) Merging all team repositories into a single monolithic repo C) Automatic assignment of tickets to developers D) Disabling role‑based access control Answer: A Explanation: Collaboration tools allow resources like shared agents and libraries to be leveraged by multiple teams without compromising isolation. Question 25. What is the fundamental role of a build agent in a CI pipeline? A) To store source‑code permanently
C) Dynamic agents cannot access external networks D) Static agents automatically update plugins Answer: A Explanation: Static agents are long‑living resources, whereas dynamic agents (e.g., Kubernetes pods) are spun up for each build and torn down afterward. Question 28. Which advantage do ephemeral Kubernetes agents provide over traditional static agents? A) Unlimited storage capacity B) Faster network latency to on‑prem servers C) Automatic scaling and isolation, reducing resource contention D) Built‑in license management Answer: C Explanation: Ephemeral agents are created per build, ensuring clean environments and allowing the cluster to scale based on demand. Question 29. In the context of a build, what is an artifact? A) A source‑code repository B) A file or set of files produced by a build that are archived for later use (e.g., binaries, reports) C) A plugin that monitors CPU usage D) A security credential stored in Vault Answer: B
Explanation: Artifacts are the outputs of a build that Jenkins can archive, publish, or pass to downstream jobs. Question 30. Shared agents across multiple controllers primarily help to: A) Reduce the number of required licenses B) Centralize resource utilization, allowing idle agents to be used by any controller that needs them C) Eliminate the need for backup D) Provide a single sign‑on experience for developers Answer: B Explanation: Shared agents pool compute resources, improving utilization and reducing costs. Question 31. What is a key benefit of using Kubernetes Agents in a CloudBees CI deployment? A) They require no network configuration B) They allow on‑demand provisioning of pods with exact toolchains, supporting true cloud‑native scaling C) They guarantee zero latency builds D) They store credentials in plain text for faster access Answer: B Explanation: Kubernetes agents spin up pods with defined containers, enabling precise environments and automatic scaling.
Question 34. Which feature helps organizations meet audit and compliance requirements by providing a tamper‑evident record of CI activity? A) Automatic pipeline cancellation after 5 minutes B) Comprehensive logging with immutable storage options and security policy enforcement C) Disabling all user accounts after each build D) Randomly deleting old job histories Answer: B Explanation: Detailed logs stored in immutable storage, together with enforced security policies, satisfy many regulatory mandates. Question 35. CloudBees CI offers a built‑in credentials store. Which best describes its security model? A) Credentials are stored in plain text in the Jenkins home directory B) Credentials are encrypted at rest, scoped to the controller or folder, and can be accessed only by authorized jobs or users C) Credentials are shared globally without restrictions D) Credentials are automatically exposed to all agents for convenience Answer: B Explanation: The credentials store encrypts data, supports scoping, and enforces access controls to protect secrets. Question 36. Which resource can administrators consult to stay informed about newly disclosed vulnerabilities affecting Jenkins plugins?
A) CloudBees weekly newsletter only B) Jenkins Security Advisories published on the Jenkins website and integrated into the Health Advisor C) Random internet forums D) The console output of any pipeline run Answer: B Explanation: Jenkins Security Advisories provide official information on plugin vulnerabilities, and Health Advisor surfaces relevant alerts. Question 37. In Operations Center, what does the “Controller Health” widget display? A) Number of installed plugins only B) CPU, memory, and disk usage of each managed controller, plus any warnings or errors C) List of all usernames in the system D) License expiration dates for each controller Answer: B Explanation: The health widget aggregates resource metrics and alerts for each controller, helping admins monitor performance. Question 38. Which of the following is NOT a typical component of a CloudBees CI backup? A) Jenkins home directory (jobs, plugins, credentials)
C) Disable all agents during business hours D) Force all pipelines to run on the any agent Answer: B Explanation: A policy that mandates a manual approval before a pipeline can acquire a production‑labeled agent enforces the required control. Question 41. What does the “Template Catalog” automatically generate for each stored template? A) A Docker image of the pipeline B) A preview of the pipeline stages and a sample Jenkinsfile snippet for users to instantiate C) A list of all users who have edited the template D) A backup of the template in a separate database Answer: B Explanation: The catalog provides a visual preview and a ready‑to‑use Jenkinsfile fragment to help users adopt the template. Question 42. Which of the following best describes a “Team Controller” in CloudBees CI? A) A controller that runs only on Windows nodes B) A controller owned by a specific development team, isolated from other teams, but still managed centrally C) A read‑only controller that cannot execute jobs
D) The Operations Center itself Answer: B Explanation: Team Controllers give a team its own CI environment while allowing Operations Center to enforce global policies. Question 43. How does the CloudBees Health Advisor detect a plugin that is out‑of‑date with the current controller version? A) By scanning the Jenkins home directory for file timestamps B) By querying the plugin’s metadata against the known compatibility matrix and raising a warning in the UI C) By sending an email to all users daily D) By automatically uninstalling the plugin Answer: B Explanation: Health Advisor checks plugin compatibility data and notifies administrators if a plugin may cause instability. Question 44. Which mechanism allows a pipeline to retrieve a secret stored in the CloudBees credentials store without exposing it in the console log? A) Using sh 'echo $SECRET' directly B) Using the withCredentials step, which masks the secret and injects it as an environment variable C) Storing the secret in a plain‑text file in the workspace D) Hard‑coding the secret in the Jenkinsfile