Docsity

[DevOpsGEN] Official Certified DevOps Generalist DevOps GEN Program Certification Exam Pre, Exams of Technology

Toggle sidebar
bg1
[DevOpsGEN] Official Certified DevOps Generalist
DevOps GEN Program Certification Exam
Preparation
**Question 1. Which of the following best describes the “Wall of Confusion” in traditional software
delivery?**
A) A physical barrier separating development and operations teams
B) Misaligned expectations and hand‑offs that cause delays and defects
C) A security firewall that blocks code deployment
D) An automated testing suite that is difficult to understand
Answer: B
Explanation: The “Wall of Confusion” refers to the lack of shared understanding and communication
gaps between development and operations, leading to inefficiencies and errors.
**Question 2. In the Three Ways of DevOps, the First Way focuses on:**
A) Amplifying feedback loops
B) Continuous learning and experimentation
C) Optimizing flow of work from development to operations
D) Reducing security vulnerabilities
Answer: C
Explanation: The First Way emphasizes a smooth, fast flow of value from left (development) to right
(operations) through system thinking and eliminating bottlenecks.
**Question 3. Which metric is most commonly used to compare high‑performing and low‑performing
DevOps organizations?**
A) Number of servers managed
B) Deployment frequency
C) Lines of code written per developer
D) Average meeting duration
Answer: B
Explanation: High‑performing organizations typically deploy more frequently, indicating faster delivery
and better feedback cycles.
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

Partial preview of the text

Download [DevOpsGEN] Official Certified DevOps Generalist DevOps GEN Program Certification Exam Pre and more Exams Technology in PDF only on Docsity!

DevOps GEN Program Certification Exam

Preparation

Question 1. Which of the following best describes the “Wall of Confusion” in traditional software delivery? A) A physical barrier separating development and operations teams B) Misaligned expectations and hand‑offs that cause delays and defects C) A security firewall that blocks code deployment D) An automated testing suite that is difficult to understand Answer: B Explanation: The “Wall of Confusion” refers to the lack of shared understanding and communication gaps between development and operations, leading to inefficiencies and errors. Question 2. In the Three Ways of DevOps, the First Way focuses on: A) Amplifying feedback loops B) Continuous learning and experimentation C) Optimizing flow of work from development to operations D) Reducing security vulnerabilities Answer: C Explanation: The First Way emphasizes a smooth, fast flow of value from left (development) to right (operations) through system thinking and eliminating bottlenecks. Question 3. Which metric is most commonly used to compare high‑performing and low‑performing DevOps organizations? A) Number of servers managed B) Deployment frequency C) Lines of code written per developer D) Average meeting duration Answer: B Explanation: High‑performing organizations typically deploy more frequently, indicating faster delivery and better feedback cycles.

DevOps GEN Program Certification Exam

Preparation

Question 4. The CALMS model does NOT include which of the following components? A) Culture B) Automation C) Lean D) Security Answer: D Explanation: CALMS stands for Culture, Automation, Lean, Measurement, and Sharing; security is not a separate element though it is integrated throughout. Question 5. Which Agile principle aligns most closely with the DevOps goal of “continuous delivery”? A) Customer collaboration over contract negotiation B) Responding to change over following a plan C) Working software is delivered frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale D) Business people and developers must work together daily throughout the project Answer: C Explanation: Frequent delivery of working software is a core Agile principle that directly supports continuous delivery in DevOps. Question 6. In Lean terminology, “Muda” refers to: A) Continuous improvement B) Value‑adding activities only C) Waste that does not add value D) The final product delivered to the customer Answer: C Explanation: “Muda” is a Japanese term for waste, which Lean and DevOps aim to eliminate to improve flow.

DevOps GEN Program Certification Exam

Preparation

A) GitFlow with long‑lived develop branch B) Trunk‑based development C) Fork‑and‑pull‑request model without rebasing D) Centralized Subversion‑style workflow Answer: B Explanation: Trunk‑based development encourages frequent merges to the main branch, supporting fast integration and delivery. Question 11. In Git, the command git rebase is primarily used to: A) Merge two unrelated repositories B) Rewrite commit history to create a linear sequence C) Delete a remote branch D) Create a new tag on the current commit Answer: B Explanation: git rebase reapplies commits on top of another base, producing a clean, linear history. Question 12. An immutable infrastructure approach means that: A) Servers are patched in place without redeployment B) Once an environment is provisioned, it is never changed; updates are made by replacing it with a new version C) Configuration files are stored in a read‑only directory D) Only the operating system is immutable, while applications can be modified Answer: B Explanation: Immutable infrastructure treats servers as disposable; any change results in a new instance being provisioned. Question 13. Which of the following is a key benefit of using a single source of truth for infrastructure definitions?

DevOps GEN Program Certification Exam

Preparation

A) Reduced need for version control B) Eliminates the need for testing C) Guarantees consistency across environments and enables reproducibility D) Allows developers to bypass security checks Answer: C Explanation: A single source of truth ensures that the same definitions are used everywhere, reducing drift and enabling repeatable builds. Question 14. Shift‑Left testing primarily aims to: A) Move testing activities earlier in the development lifecycle to catch defects sooner B) Perform security scans only after production release C) Delay unit testing until integration testing is complete D) Shift responsibility for testing from developers to operations Answer: A Explanation: Shift‑Left testing encourages early testing (unit, static analysis) to reduce defect leakage and cost. Question 15. Which CI practice ensures that only code that passes automated tests is merged into the main branch? A) Manual code review without testing B) Pre‑commit hooks that run unit tests before allowing a commit C) Post‑deployment monitoring only D) Running tests only on a nightly schedule Answer: B Explanation: Pre‑commit or pre‑push hooks enforce testing before code can be merged, maintaining code quality. Question 16. In a Continuous Delivery pipeline, the “manual gate” typically refers to:

DevOps GEN Program Certification Exam

Preparation

A) Maven Central B) NPM Registry C) Docker Hub or Azure Container Registry D) PyPI Answer: C Explanation: Docker Hub and other container registries store Docker images as artifacts for deployment. Question 20. Dependency management tools such as Maven, npm, or pip primarily help to: A) Encrypt source code at rest B) Automatically provision cloud infrastructure C) Resolve, download, and version third‑party libraries required by an application D) Perform load testing on APIs Answer: C Explanation: These tools manage third‑party package versions, ensuring consistent builds. Question 21. Public cloud services are characterized by: A) Being hosted on-premises within an organization’s data center B. Exclusively used for development environments only C) Providing resources over the internet on a pay‑as‑you‑go model D) Requiring custom hardware for each workload Answer: C Explanation: Public clouds deliver compute, storage, and services over the internet with flexible pricing. Question 22. Hybrid cloud architecture combines: A) Only on‑premises private clouds B) Multiple public cloud providers without any private resources C) Both private (on‑premises) and public cloud resources, allowing workload portability

DevOps GEN Program Certification Exam

Preparation

D) Only serverless functions Answer: C Explanation: Hybrid cloud blends private and public cloud resources to achieve flexibility and control. Question 23. Which characteristic distinguishes microservices from monolithic applications? A) All functionality resides in a single codebase B) Services are independently deployable, loosely coupled, and communicate via APIs C) They require a single database instance for all data D) They cannot be containerized Answer: B Explanation: Microservices are small, independent services that can be deployed separately, unlike monoliths. Question 24. Declarative IaC tools such as Terraform describe the desired state of resources. Which of the following is a benefit of this approach? A) Requires writing complex procedural scripts for each action B) Allows the engine to compute the necessary steps to achieve the target state, leading to idempotent runs C) Prevents version control of infrastructure code D) Makes it impossible to roll back changes Answer: B Explanation: Declarative tools let the system figure out how to reach the desired state, ensuring repeatable, idempotent executions. Question 25. Imperative IaC tools like Ansible are best suited for: A) Defining the final state of cloud resources only B) Executing a series of explicit commands or tasks in a specific order C) Managing only container orchestration

DevOps GEN Program Certification Exam

Preparation

D) A secret management component Answer: B Explanation: A Pod groups one or more containers that share the same network namespace and storage volumes. Question 29. Which Kubernetes object provides a stable IP address and DNS name to expose a set of Pods? A) ConfigMap B) Deployment C) Service D) Namespace Answer: C Explanation: A Service abstracts a set of Pods and provides a stable endpoint for internal or external access. Question 30. Namespaces in Kubernetes are primarily used to: A) Deploy containers on a single node only B. Isolate resources, policies, and access controls within a cluster for multi‑tenant environments C) Store container images D) Manage secret keys globally Answer: B Explanation: Namespaces enable logical separation of resources, facilitating multi‑tenant clusters and access control. Question 31. Which observability pillar provides information about “what is happening” in a system? A) Logs B) Traces C) Metrics

DevOps GEN Program Certification Exam

Preparation

D) Dashboards Answer: C Explanation: Metrics are numerical data points (e.g., CPU usage) that indicate the current state of a system. Question 32. Distributed tracing is essential for understanding: A) The total number of log entries generated per day B. The exact location (service and method) where a request traveled across microservices C) Disk space utilization on a single server D) Static code analysis results Answer: B Explanation: Traces follow a request across service boundaries, revealing latency and bottlenecks. Question 33. A Service Level Indicator (SLI) is: A) A target value for a metric that defines acceptable performance (e.g., 99.9% availability) B. The actual measured value of a performance metric (e.g., latency 120 ms) C) A budget allocated for infrastructure costs D) An automated security scan result Answer: B Explanation: An SLI is the quantitative measure of a service’s reliability, such as request latency or error rate. Question 34. The relationship between SLI, SLO, and error budget is best described as: A) SLO is the desired target for an SLI; the error budget is the allowable deviation from that target B) Error budget defines the SLI, while SLO is the budget amount C) SLI and SLO are unrelated; error budget is a financial metric D) All three are synonymous terms

DevOps GEN Program Certification Exam

Preparation

Explanation: DAST interacts with a running application, looking for runtime vulnerabilities such as injection flaws. Question 38. Software Composition Analysis (SCA) primarily helps organizations to: A) Write unit tests for custom code B) Identify known vulnerabilities in open‑source components and ensure license compliance C) Manage database migrations D. Automate container orchestration Answer: B Explanation: SCA scans third‑party libraries for known CVEs and license issues. Question 39. The Principle of Least Privilege (PoLP) dictates that: A) Users should have administrative rights on all systems B) Access rights should be granted only to the resources necessary for a role or task C. All services run as root by default D) Secrets are stored in plain text for ease of use Answer: B Explanation: PoLP minimizes risk by limiting permissions to the minimum required. Question 40. In secret management, “encryption at rest” means: A) Encrypting data only while it is being transmitted over the network B) Storing secret values in encrypted form on disk or in storage services C. Keeping secrets in environment variables in plain text D) Using a password manager only on developer laptops Answer: B Explanation: Encryption at rest protects data stored on disks from unauthorized access.

DevOps GEN Program Certification Exam

Preparation

Question 41. Which tool is commonly used for policy‑as‑code to enforce compliance in cloud environments? A) Jenkins B) Terraform Sentinel or Open Policy Agent (OPA) C) JUnit D. SonarQube Answer: B Explanation: Sentinel and OPA allow writing compliance policies as code that are evaluated during provisioning. Question 42. Automated auditing in DevSecOps helps to: A. Replace all manual security testing B) Continuously verify that infrastructure and code comply with defined policies, generating alerts when drift occurs C) Remove the need for version control D) Disable logging for performance Answer: B Explanation: Automated auditing continuously checks for compliance, ensuring swift detection of violations. Question 43. Which of the following is a primary benefit of integrating ITIL processes with DevOps practices? A. Eliminating all change management steps B) Providing structured incident, problem, and change management while maintaining rapid delivery C) Requiring longer release cycles D) Disallowing automation of any tasks Answer: B Explanation: ITIL offers mature service management processes that complement DevOps’ speed and automation.

DevOps GEN Program Certification Exam

Preparation

Question 47. Which of the following best describes a “rolling update” in Kubernetes? A) All Pods are terminated simultaneously and new Pods start at once B) Pods are updated incrementally, maintaining a minimum number of available replicas throughout the process C) Traffic is switched to a completely separate cluster D) Only the Service object is changed, not the Pods Answer: B Explanation: Rolling updates replace Pods gradually while preserving service availability. Question 48. In the context of DevOps, “measurement” in CALMS primarily refers to: A) Counting the number of developers in a team B) Defining and tracking key performance indicators (KPIs) such as lead time, deployment frequency, and MTTR C. Measuring the physical size of servers D) Recording the number of coffee cups consumed during sprints Answer: B Explanation: Measurement focuses on metrics that reflect delivery performance and system health. Question 49. Which of the following is an example of “sharing” in the CALMS model? A. Keeping all knowledge within a single team’s wiki B) Publishing runbooks, metrics dashboards, and lessons learned across the organization to foster collaboration C) Restricting access to deployment pipelines D) Using proprietary tools that no one else can see Answer: B Explanation: Sharing promotes transparency and collective learning across teams. Question 50. The main purpose of “feature flags” in a delivery pipeline is to:

DevOps GEN Program Certification Exam

Preparation

A. Permanently remove code from the repository B) Enable or disable functionality at runtime without redeploying, allowing controlled releases and quick rollbacks C) Encrypt source code files D) Increase the size of the binary artifact Answer: B Explanation: Feature flags decouple deployment from release, giving flexibility to turn features on/off. Question 51. Which of the following best describes “Infrastructure as Code” (IaC)? A. Manual configuration of servers via SSH B) Defining and managing infrastructure using version‑controlled code that can be automated and reproduced C) Outsourcing all infrastructure to a third‑party vendor without any code D) Using spreadsheets to track hardware inventory Answer: B Explanation: IaC treats infrastructure definitions as code, enabling automation, versioning, and repeatability. Question 52. In Terraform, the command terraform plan is used to: A) Apply changes directly to the cloud provider B) Show a preview of actions Terraform will take to achieve the desired state without making changes C) Delete all resources in the state file D) Initialize the backend only Answer: B Explanation: terraform plan calculates the diff between current and desired states and displays the actions. Question 53. Which of the following is a key advantage of using a container registry that supports image signing (e.g., Docker Content Trust)?

DevOps GEN Program Certification Exam

Preparation

A) Storing pipeline definitions in a version‑controlled file (e.g., YAML) that can be reviewed and audited like source code B) Writing pipelines only in a proprietary UI C) Hard‑coding credentials directly in the pipeline script D. Using only shell scripts without any configuration files Answer: A Explanation: Pipeline as code treats the CI/CD workflow itself as source code, enabling versioning and collaboration. Question 57. Which of the following is a common reason to use “canary releases” over “blue‑green deployments”? A. Need to switch all traffic instantly B) Desire to test a new version with a small subset of users before full rollout, while still keeping the old version active C) Requirement to destroy the old environment completely before testing D) Want to avoid any monitoring of the new version Answer: B Explanation: Canary releases allow gradual exposure and real‑world validation with limited risk. Question 58. The term “MLOps” extends DevOps principles to which domain? A. Network routing only B) Machine learning model development, training, and deployment pipelines C) Physical hardware manufacturing D) Legal contract management Answer: B Explanation: MLOps applies CI/CD, automation, and monitoring to the lifecycle of ML models. Question 59. Which of the following best describes “GitOps”?

DevOps GEN Program Certification Exam

Preparation

A) Using Git as the only source of truth for both application code and infrastructure definitions, with automated agents reconciling desired state B. Storing binary files directly in Git repositories C) Replacing all CI tools with Git commands only D) Using Git for issue tracking exclusively Answer: A Explanation: GitOps leverages Git repositories to drive deployments and infrastructure changes via automation. Question 60. In a CI pipeline, “artifact caching” is used to: A) Store compiled dependencies between builds to speed up subsequent runs B. Delete all build outputs after each run C) Encrypt source code before building D) Automatically promote artifacts to production without testing Answer: A Explanation: Caching reuses previously built artifacts, reducing build time. Question 61. Which of the following is a key characteristic of a “serverless” compute model? A) Developers must manage the underlying operating system patches B) Billing is based on actual usage (e.g., invocations, duration) rather than pre‑provisioned capacity C) Applications run on dedicated virtual machines only D) All code must be written in Java Answer: B Explanation: Serverless platforms charge per execution, abstracting away server management. Question 62. Which metric is most directly associated with Mean Time To Recovery (MTTR)? A. Number of commits per day