Docsity

DASA DevOps Practice Exam: Questions and Answers, Exams of Technology

Toggle sidebar
bg1
DASA DevOps Practice Exam
**Question 1.** Which of the following best describes the primary objective of DevOps?
A) Maximizing the number of releases per day
B) Reducing the cost of hardware procurement
C) Maximizing flow of work, increasing feedback, and fostering continuous learning
D) Eliminating the need for a separate operations team
**Answer:** C
**Explanation:** DevOps aims to improve the delivery pipeline by enhancing flow, feedback
loops, and a culture of continuous improvement.
**Question 2.** The “Three Ways” of DevOps correspond to which set of principles?
A) Automation, Monitoring, Security
B) Flow, Feedback, Continuous Learning
C) Planning, Execution, Review
D) Design, Build, Operate
**Answer:** B
**Explanation:** The Three Ways are Flow (fast delivery), Feedback (shortening cycles), and
Continuous Learning (improving over time).
**Question 3.** Which metric directly measures the speed at which new code reaches
production?
A) Change failure rate
B) Deployment frequency
C) Mean time to recovery (MTTR)
D) Lead time for changes
**Answer:** D
**Explanation:** Lead time for changes is the elapsed time from code commit to production
deployment, indicating speed.
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
pf55
pf56
pf57

Partial preview of the text

Download DASA DevOps Practice Exam: Questions and Answers and more Exams Technology in PDF only on Docsity!

Question 1. Which of the following best describes the primary objective of DevOps? A) Maximizing the number of releases per day B) Reducing the cost of hardware procurement C) Maximizing flow of work, increasing feedback, and fostering continuous learning D) Eliminating the need for a separate operations team Answer: C Explanation: DevOps aims to improve the delivery pipeline by enhancing flow, feedback loops, and a culture of continuous improvement. Question 2. The “Three Ways” of DevOps correspond to which set of principles? A) Automation, Monitoring, Security B) Flow, Feedback, Continuous Learning C) Planning, Execution, Review D) Design, Build, Operate Answer: B Explanation: The Three Ways are Flow (fast delivery), Feedback (shortening cycles), and Continuous Learning (improving over time). Question 3. Which metric directly measures the speed at which new code reaches production? A) Change failure rate B) Deployment frequency C) Mean time to recovery (MTTR) D) Lead time for changes Answer: D Explanation: Lead time for changes is the elapsed time from code commit to production deployment, indicating speed.

Question 4. In the context of DevOps, “blameless postmortems” are intended to: A) Assign responsibility for failures to the appropriate team B) Identify and punish the root cause of an incident C) Encourage learning by focusing on systemic issues rather than individuals D) Document legal liabilities for compliance audits Answer: C Explanation: Blameless postmortems promote psychological safety and learning by avoiding finger‑pointing. Question 5. Which historical movement most directly influenced the emergence of DevOps? A) Waterfall development B) Agile software development C) Structured programming D) Object‑oriented design Answer: B Explanation: Agile introduced iterative delivery and collaboration, which paved the way for DevOps practices. Question 6. Which of the following is not one of the Four Types of Waste (Muda) identified in Lean? A) Overproduction B) Waiting C) Over‑engineering D) Defects Answer: C

Explanation: “Throwing work over the wall” creates silos and hampers flow, an anti‑pattern DevOps seeks to eliminate. Question 10. T‑shaped skills refer to: A) Team members who specialize in testing only B) Engineers who have deep expertise in one area and broad knowledge across others C) Developers who can write code in two programming languages D) Operations staff who only manage infrastructure Answer: B Explanation: T‑shaped skills combine deep specialization (vertical bar) with broad cross‑functional knowledge (horizontal bar). Question 11. Which DASA competence is most closely associated with “embracing failure as a learning opportunity”? A) Courage B) Collaboration C) Continuous Improvement D) Delivery Answer: A Explanation: Courage involves taking risks, admitting mistakes, and learning from them. Question 12. In a value‑stream map, the “lead time” metric is measured from: A) Idea conception to code commit B) Code commit to production deployment C) Deployment to customer feedback D) Incident detection to resolution Answer: B

Explanation: Lead time for changes tracks the duration from commit to live deployment. Question 13. Which of the following is not a typical stage in a deployment pipeline? A) Source control B) Build C) Manual approval only D) Automated testing Answer: C Explanation: While manual approval can be part of a pipeline, a “pipeline” is defined by automated stages; manual‑only steps break the flow. Question 14. Infrastructure as Code (IaC) primarily provides which benefit? A) Reduced need for version control B) Manual configuration of servers C) Consistent, repeatable environment provisioning D) Eliminates the need for monitoring Answer: C Explanation: IaC codifies infrastructure, enabling repeatable and consistent provisioning. Question 15. The PDCA cycle stands for: A) Plan, Deploy, Control, Assess B) Prepare, Design, Create, Analyze C) Plan, Do, Check, Act D) Predict, Develop, Communicate, Adapt Answer: C Explanation: PDCA is the classic continuous improvement loop: Plan, Do, Check, Act.

Question 19. Which of the following is a key component of a “self‑service platform” for developers? A) Mandatory manual change‑request forms B) Automated environment provisioning via IaC C) Centralized ticketing system for all deployments D) Fixed, pre‑approved hardware configurations only Answer: B Explanation: Self‑service platforms let developers provision resources automatically, often using IaC. Question 20. In DevSecOps, “Shift‑Left security” primarily aims to: A) Perform security scans only after production release B) Integrate security testing early in the CI/CD pipeline C) Replace all security personnel with automated tools D) Delay security reviews until the final audit Answer: B Explanation: Shift‑Left security embeds security checks early, preventing costly later fixes. Question 21. Which metric indicates how often a deployment causes a service outage? A) Deployment frequency B) Change failure rate C) Lead time for changes D) Mean time to detect (MTTD) Answer: B Explanation: Change failure rate measures the percentage of deployments that result in failures.

Question 22. A “blue‑green deployment” is used to: A) Simultaneously run two versions of an application for A/B testing B) Deploy to a staging environment without user impact C) Switch traffic from the old version (blue) to a new version (green) with minimal downtime D) Roll back automatically after each deployment Answer: C Explanation: Blue‑green provides a seamless cut‑over by keeping two identical production environments. Question 23. Which of the following best illustrates “continuous delivery” (CD)? A) Code is automatically deployed to production after every commit without human approval B) Code is built, tested, and made ready for production, but deployment requires manual authorization C) Only the build stage is automated, while testing remains manual D) Deployments occur once a month on a fixed schedule Answer: B Explanation: Continuous Delivery ensures that code is always in a deployable state; the final push may be manual. Question 24. What is the main purpose of a “feature flag” in a CI/CD pipeline? A) To permanently disable a feature after release B) To enable selective activation of functionality without redeploying code C) To enforce coding standards during build D) To replace automated testing with manual verification Answer: B

D) Replacing all developers with operations staff Answer: B Explanation: Configuration management enforces consistent state across servers, reducing drift. Question 28. A “canary release” is best described as: A) Deploying to a single user for feedback before full rollout B) Releasing a new feature to a small subset of production traffic to monitor impact C) Rolling back automatically after any failure D) Using a different programming language for new features Answer: B Explanation: Canary releases expose a small portion of traffic to the new version, enabling risk mitigation. Question 29. Which practice helps to reduce “batch size” in a value stream? A) Large monolithic releases once per quarter B) Continuous integration with small, frequent commits C) Manual code reviews after each sprint D) Delaying testing until after deployment Answer: B Explanation: Smaller, frequent commits reduce batch size, improving flow and feedback. Question 30. In a DevOps culture, psychological safety primarily enables: A) Strict hierarchy enforcement B) Open sharing of mistakes and ideas without fear of retribution C) Mandatory overtime for faster delivery D) Isolation of development teams from operations

Answer: B Explanation: Psychological safety encourages transparent communication and learning from failures. Question 31. Which of the following is not a typical component of a modern CI pipeline? A) Source code checkout B) Static code analysis C) Manual server provisioning D) Automated unit testing Answer: C Explanation: Manual provisioning contradicts the automation goals of CI. Question 32. “Mean Time to Recovery” (MTTR) measures: A) Average time between code commits B) Time needed to restore service after an incident C) Duration of a sprint planning meeting D) Time taken to write unit tests Answer: B Explanation: MTTR quantifies how quickly a service is restored after a failure. Question 33. Which of the following best defines “continuous improvement” in DevOps? A) Implementing a new tool every month B) Incrementally refining processes based on feedback and metrics C) Replacing all legacy systems annually D) Maintaining the status quo to avoid disruption Answer: B

Answer: C Explanation: Containers and orchestration enable each service to be packaged and deployed independently. Question 37. Which of the following statements about “immutable infrastructure” is true? A) Servers are patched in place to avoid downtime B) Once an environment is deployed it is never changed; updates are made by redeploying a new version C) Configuration files are edited directly on production machines D) Immutable infrastructure requires no monitoring tools Answer: B Explanation: Immutable infrastructure treats deployed artifacts as unchangeable, replacing them for updates. Question 38. A “deployment pipeline” typically includes which of the following stages in order? A) Build → Deploy → Test → Release → Monitor B) Plan → Code → Deploy → Operate → Retire C) Source → Build → Test → Release → Deploy → Verify D) Design → Code → Test → Operate → Decommission Answer: C Explanation: The canonical pipeline flows from source checkout through build, test, release, deployment, and verification. Question 39. Which tool is most commonly associated with “infrastructure as code” for provisioning cloud resources? A. GitHub B. Jenkins

C. Terraform D. JIRA Answer: C Explanation: Terraform allows declarative definition and provisioning of cloud infrastructure. Question 40. In the context of monitoring, “alert fatigue” occurs when: A. Alerts are never generated, causing complacency B. Too many non‑critical alerts overwhelm engineers, leading to ignored warnings C. Alerts are sent only during business hours D. Monitoring tools crash frequently Answer: B Explanation: Excessive low‑priority alerts cause teams to ignore important signals. Question 41. Which of the following best exemplifies “continuous learning” in a DevOps team? A. Conducting a quarterly training session only for senior staff B. Maintaining a shared knowledge base updated after each incident review C. Requiring developers to read a book once a year D. Assigning a single person to handle all documentation Answer: B Explanation: Continuous learning involves ongoing knowledge sharing, such as updating a knowledge base after each incident. Question 42. Which of the following is a primary advantage of “feature toggles” over separate release branches? A. They eliminate the need for version control

A. Writing code that logs every user action B. Defining logs, metrics, and traces configuration in version‑controlled files C. Embedding monitoring dashboards directly into source files D. Using hard‑coded thresholds for alerts Answer: B Explanation: Observability as code treats monitoring configurations as code, enabling versioning and automation. Question 46. In a DevOps transformation, the “first way” primarily focuses on: A. Creating a culture of blameless postmortems B. Optimizing the flow of work from left to right across the value stream C. Automating security testing D. Building self‑service platforms for developers Answer: B Explanation: The first way emphasizes flow, ensuring work moves smoothly through the pipeline. Question 47. Which of the following is a key characteristic of a “shared services” model for DevOps? A. Every team owns its own full stack, from code to infrastructure B. Centralized platform team provides reusable services (e.g., CI, monitoring) to product teams C. No collaboration between development and operations D. All deployments are performed manually by a dedicated ops team Answer: B Explanation: Shared services centralize common capabilities while product teams focus on domain logic.

Question 48. Which of the following is an example of “technical debt” that can be addressed through continuous improvement? A. Adding a new feature without any testing B. Maintaining legacy scripts that are hard to understand and modify C. Deploying once per year D. Using a cloud provider for hosting Answer: B Explanation: Legacy scripts that are difficult to maintain constitute technical debt, which CI/CD and refactoring can reduce. Question 49. Which metric best reflects the frequency with which a team delivers changes to production? A. Lead time for changes B. Deployment frequency C. Change failure rate D. Mean time to detect (MTTD) Answer: B Explanation: Deployment frequency directly measures how often production changes are made. Question 50. Which of the following best explains “continuous deployment” (as opposed to continuous delivery)? A. Every change that passes automated tests is automatically released to production without manual approval B. Teams release on a fixed schedule once a month C. Only security patches are automatically deployed D. Deployment requires a manual sign‑off after testing Answer: A

Answer: B Explanation: Golden images ensure each environment is built from a known baseline, avoiding in‑place changes. Question 54. Which of the following is a primary purpose of “post‑implementation review” (PIR)? A. To assign blame for failures B. To capture lessons learned and identify improvement actions after a change is released C. To approve budget for the next quarter D. To archive source code for compliance Answer: B Explanation: PIR focuses on learning from completed work to feed continuous improvement. Question 55. Which of the following best describes the “second way” of DevOps? A. Emphasizing automation of security checks B. Amplifying feedback loops to create a culture of learning C. Implementing a single monolithic deployment pipeline D. Using only proprietary tools for CI/CD Answer: B Explanation: The second way stresses feedback, ensuring rapid detection and response to problems. Question 56. Which of these tools is primarily used for continuous integration and build automation? A. Grafana B. Jenkins

C. Prometheus D. Vault Answer: B Explanation: Jenkins is a widely used CI server for automating builds and tests. Question 57. In a DevOps environment, “chatops” refers to: A. Using instant messaging platforms to execute automation commands and receive feedback B. Conducting daily stand‑ups via email C. Replacing all code reviews with chat discussions D. Storing all source code in a chat application Answer: A Explanation: ChatOps integrates chat tools with automation, allowing operations via conversational interfaces. Question 58. Which of the following is an example of “environment as code”? A. Manually installing software on a test server B. Defining development, staging, and production environments in version‑controlled YAML files C. Using a spreadsheet to track server IP addresses D. Relying on a single shared database for all environments Answer: B Explanation: Environment as code treats environment definitions as code, enabling reproducibility. Question 59. Which of the following is a common indicator of “slow feedback” in a CI pipeline? A. Immediate test results after each commit B. Long queue times before builds start