


















































































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 of the following best describes the primary objective of DevOps? A) Reduce development staff B) Maximize the flow of work across the value stream C) Eliminate all testing activities D) Increase the number of production servers Answer: B Explanation: DevOps focuses on increasing the speed and reliability of delivering value by maximizing flow, reducing hand-offs, and minimizing delays. Question 2.The “Three Ways” of DevOps are foundational. Which statement corresponds to the First Way? A) Amplify feedback loops B) Create a culture of continuous learning C) Emphasize the flow of work from development to operations D) Automate security checks early Answer: C Explanation: The First Way stresses the principle of flow, ensuring work moves smoothly through the pipeline. Question 3.What metric is most directly associated with measuring deployment frequency? A) Mean time to recover (MTTR) B) Lead time for changes C) Number of deployments per unit time D) Change failure rate Answer: C
Explanation: Deployment frequency counts how often code is released to production, reflecting delivery speed. Question 4.In the context of DevOps, what does a “blameless postmortem” aim to achieve? A) Assign responsibility to the person who caused the incident B) Identify systemic issues without focusing on individuals C) Reduce the number of incidents by increasing testing D) Punish teams that breach SLA agreements Answer: B Explanation: Blameless postmortems foster a learning culture by analyzing failures without finger-pointing. Question 5.How does Conway’s Law influence software architecture? A) Architecture is independent of organizational structure B) Teams design systems that mirror the communication structures of the organization C) It mandates a microservices approach for all organizations D) It requires a single, monolithic architecture for efficiency Answer: B Explanation: Conway’s Law states that system design reflects the organization’s communication patterns. Question 6.Which organizational model is most aligned with a “BizDevOps” approach? A) Separate development, operations, and business units with strict hand-offs B) Fully integrated cross-functional teams that include business, development, and operations roles
A) Avoiding any change to maintain stability B) Refusing to adopt new tools without senior approval C) Raising concerns about risky practices and proposing better alternatives D) Delegating all security responsibilities to a separate team Answer: C Explanation: Courage in DevOps means speaking up about problems and championing improvements. Question 10.What does “Infrastructure as Code” (IaC) primarily enable? A) Manual configuration of servers on demand B) Version-controlled, repeatable provisioning of infrastructure C) Exclusive use of physical hardware for production D) Eliminating the need for monitoring tools Answer: B Explanation: IaC treats infrastructure definitions as code, allowing version control, testing, and automated provisioning. Question 11.In Value Stream Mapping, which symbol typically represents a “process step” that adds value? A) A triangle B) A rectangle with rounded corners C) A diamond D) A cloud shape Answer: B Explanation: Rounded-corner rectangles denote value-adding activities in VSM diagrams. Question 12.What type of waste (Muda) does “over-processing” refer to?
A) Performing more work than required by the customer B) Waiting for approvals C) Excess inventory of code builds D) Unnecessary movement between teams Answer: A Explanation: Over-processing adds extra steps or complexity that do not increase customer value. Question 13.Which statement best defines Continuous Integration (CI)? A) Deploying code directly to production after a single test pass B) Merging code changes into a shared repository frequently and automatically building and testing them C) Manually integrating code once per month D) Releasing software only after a major version bump Answer: B Explanation: CI emphasizes frequent integration, automated builds, and tests to detect problems early. Question 14.In a deployment pipeline, which stage typically follows “Build” and precedes “Deploy”? A) Test B) Plan C) Operate D) Release Answer: A Explanation: After building artifacts, automated tests run before the code is released to an environment.
Question 18.In DevSecOps, “Shift-Left Security” means: A) Adding security checks after production deployment B) Integrating security testing and controls early in the CI/CD pipeline C) Performing security audits only once a year D) Delegating security entirely to a separate team after release Answer: B Explanation: Shift-Left Security incorporates security activities early, reducing vulnerabilities and rework. Question 19.Which tool category is typically used for “Infrastructure as Code”? A) Static code analysis tools B) Configuration management tools such as Terraform, Ansible, or CloudFormation C) Load testing tools D) Incident management platforms Answer: B Explanation: IaC tools automate provisioning and configuration of infrastructure resources. Question 20.What does the metric “Change Failure Rate” measure? A) Number of changes rolled back or causing incidents divided by total changes deployed B) Time taken to write a change request C) Number of features delivered per sprint D) Frequency of code commits per developer Answer: A Explanation: Change Failure Rate quantifies the proportion of changes that result in failures, indicating quality.
Question 21.The “Second Way” of DevOps emphasizes which practice? A) Automating the flow of work B) Creating fast feedback loops from operations back to development C) Encouraging continuous experimentation and learning D) Standardizing hardware platforms only Answer: B Explanation: The Second Way focuses on feedback, ensuring rapid detection of problems and learning from operations. Question 22.Which of the following is an example of a “shared services” model for DevOps? A) Each development team maintains its own dedicated operations staff B) A central platform team provides CI/CD tooling and environments to multiple product teams C) Outsourcing all infrastructure to a third-party data center with no internal interaction D) No collaboration between development and operations at all Answer: B Explanation: Shared services centralize expertise (e.g., platform team) while serving many product streams. Question 23.Which practice helps reduce “batch size” in a software delivery process? A) Large, infrequent releases B) Continuous integration with small, frequent commits C) Manual code reviews after every month D) Delaying testing until after a major release Answer: B
Explanation: A monorepo consolidates many projects into one repo, simplifying dependency management and CI. Question 27.What does “Canary Release” aim to achieve? A) Deploy the entire user base to a new version at once B) Deploy a new version to a small subset of users first to monitor impact before full rollout C) Disable all monitoring during a release D) Release only to internal developers Answer: B Explanation: Canary releases limit exposure, allowing early detection of issues. Question 28.Which of the following is a key benefit of “self-service” platforms for developers? A) Increased dependence on operations for every change B) Faster provisioning of environments and resources without manual hand-offs C) Mandatory approval for all code changes D) Reduced visibility into infrastructure state Answer: B Explanation: Self-service platforms empower developers to obtain resources on demand, improving flow. Question 29.What is the primary purpose of a “feature toggle” (or “feature flag”) in a CI/CD pipeline? A) Permanently remove a feature from the codebase B) Enable or disable a feature at runtime without redeploying code C) Replace unit tests with manual testing
D) Enforce a single deployment per day Answer: B Explanation: Feature toggles allow controlled activation of code paths, facilitating gradual rollouts and quick rollback. Question 30.Which statement correctly describes “immutable infrastructure”? A) Servers are constantly patched in place B) Once an environment is provisioned, it is never modified; updates are made by replacing it with a new version C) Configuration files are edited manually on running machines D) All infrastructure is built on physical hardware only Answer: B Explanation: Immutable infrastructure avoids in-place changes, reducing drift and simplifying rollback. Question 31.What does “Mean Time to Detect” (MTTD) measure? A) Average time taken to write a user story B) Average time from incident occurrence to its detection by monitoring systems C) Time required to complete a sprint planning meeting D) Number of tests executed per build Answer: B Explanation: MTTD reflects the speed of detecting problems, a key reliability metric. Question 32.In a microservices architecture, which pattern helps manage inter-service communication failures? A) Direct synchronous calls without timeout handling
A) Manual configuration of production environments B) Managing infrastructure and application deployments declaratively via Git repositories C) Using Git only for source code, not for configuration D) Eliminating the need for continuous delivery pipelines Answer: B Explanation: GitOps treats Git as the single source of truth for both code and infrastructure state. Question 36.In the context of DevOps, “value stream” refers to: A) The total cost of ownership of a product B) The sequence of activities that deliver a product or service from concept to customer C) The number of developers on a team D) The amount of storage used by a repository Answer: B Explanation: A value stream maps all steps needed to create and deliver value to the end user. Question 37.What is a “runbook” used for? A) Documenting a user’s feature request B) Providing step-by-step operational procedures for routine or emergency tasks C) Storing source code in a version control system D) Generating automated test data only Answer: B Explanation: Runbooks guide operators through predictable actions, reducing manual errors.
Question 38.Which practice helps ensure that secrets (e.g., API keys) are not stored in plain text within source code? A) Hard-coding them in configuration files B) Using a secret management solution integrated with the pipeline (e.g., Vault, AWS Secrets Manager) C) Sharing them via email among developers D) Writing them directly in README files Answer: B Explanation: Secret management tools provide secure storage and controlled access, preventing exposure. Question 39.What does “Chaos Engineering” aim to improve? A) The speed of writing code B) System resilience by intentionally injecting failures into production-like environments C) The visual design of user interfaces D) The number of lines of code per developer Answer: B Explanation: Chaos Engineering validates that systems can survive unexpected disruptions. Question 40.In a CI pipeline, which step is typically responsible for “static code analysis”? A) Build B) Deploy C) Test D) Review Answer: A
C) CD only applies to database changes D) CD eliminates the need for any testing Answer: B Explanation: Continuous Delivery guarantees a deployable artifact; deployment may still be gated by a manual approval. Question 44.In a microservices environment, which pattern helps trace a request across multiple services? A) Singleton pattern B) Distributed tracing (e.g., using OpenTelemetry) C) In-memory caching only D) Direct database access from each service Answer: B Explanation: Distributed tracing propagates context IDs, enabling end-to-end visibility of a request’s path. Question 45.What is the main advantage of using “container orchestration” platforms such as Kubernetes? A) Manual scaling of each container B) Automated deployment, scaling, and management of containerized workloads C) Eliminating the need for any monitoring D) Requiring developers to write low-level networking code Answer: B Explanation: Orchestrators automate container lifecycle tasks, improving reliability and scalability. Question 46.Which of the following is a typical sign of a “siloed” organization that hinders DevOps adoption?
A) Frequent cross-team stand-ups B) Teams sharing a common backlog C) Work being handed off across “walls” with little feedback D) Joint retrospectives involving developers and operators Answer: C Explanation: Silos create hand-offs without feedback, slowing flow and increasing waste. Question 47.What does the term “fail-fast” encourage in a DevOps culture? A) Delaying detection of defects until after release B) Quickly identifying and surfacing failures early in the pipeline to reduce cost of fixing them C) Ignoring failures to maintain momentum D) Releasing code without any testing Answer: B Explanation: Fail-fast promotes early detection, enabling rapid remediation and learning. Question 48.Which of the following tools is primarily used for continuous integration in many organizations? A) Jenkins B) Nagios C) Terraform D) Grafana Answer: A Explanation: Jenkins is a widely adopted CI server that automates builds and tests.
Explanation: Kanban visualizes work, enforces WIP limits, and encourages continuous flow. Question 52.What is the main purpose of “feature branching” in version control? A) To keep all work on the main branch only B) To isolate development of a new feature until it is ready to be merged, reducing risk to the mainline C) To prevent any code reviews D) To enforce a monolithic architecture Answer: B Explanation: Feature branches allow safe, isolated development, enabling integration when stable. Question 53.Which metric would best indicate the reliability of a production system? A) Number of commits per day B) Change lead time C) Mean time between failures (MTBF) D) Lines of code added per sprint Answer: C Explanation: MTBF measures average uptime between incidents, reflecting reliability. Question 54.What does “branch-by-abstraction” aim to achieve? A) Reduce the number of branches in Git B) Enable continuous integration of incomplete features by abstracting behind interfaces, allowing safe merging C) Force all developers to work on a single branch only
D) Eliminate the need for code reviews Answer: B Explanation: Branch-by-abstraction isolates unfinished work behind feature toggles or interfaces, facilitating integration. Question 55.In the context of cloud computing, which model provides the most control over the underlying infrastructure? A) Software-as-a-Service (SaaS) B) Platform-as-a-Service (PaaS) C) Infrastructure-as-a-Service (IaaS) D) Function-as-a-Service (FaaS) Answer: C Explanation: IaaS offers virtualized compute, storage, and networking, giving users low-level control. Question 56.What is a “pipeline as code” approach? A) Writing pipeline definitions manually in a UI each time B) Storing pipeline configuration in version-controlled source files (e.g., YAML) to enable reuse and review C) Hard-coding pipeline steps in compiled binaries D) Using spreadsheets to track pipeline stages Answer: B Explanation: Pipeline-as-code treats the pipeline definition as code, enabling versioning, review, and automation. Question 57.Which of the following is a common anti-pattern when implementing automated testing? A) Running unit tests on every commit