


















































































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. What is the primary difference between Continuous Integration (CI) and Continuous Delivery (CD)? A) CI deploys to production automatically, CD does not B) CI focuses on merging code, CD focuses on automated release pipelines C) CI includes security testing, CD does not D) CI is only for frontend code, CD is for backend only Answer: B Explanation: CI ensures code changes are merged and built frequently, while CD extends this by automating the steps needed to release the software to production. Question 2. Which metric measures how often an organization successfully releases to production? A) Lead Time for Changes B) Deployment Frequency C) Change Failure Rate D) Time to Restore Service Answer: B Explanation: Deployment Frequency counts the number of successful releases to production in a given time period. Question 3. In the context of CD, what does the term “blue/green deployment” describe? A) Deploying two versions simultaneously and switching traffic after verification B) Deploying to a single environment with canary testing C) Rolling updates across all nodes at once D) Using feature flags to toggle functionality Answer: A
Explanation: Blue/green deployment maintains two identical environments (blue and green); traffic is switched to the new version after validation. Question 4. Which DORA metric directly reflects the organization’s ability to recover from incidents? A) Deployment Frequency B) Lead Time for Changes C) Change Failure Rate D) Time to Restore Service Answer: D Explanation: Time to Restore Service measures the mean time to recover from a failure in production. Question 5. Which of the following best describes a “canary deployment”? A) Deploying to all users at once B) Deploying to a small subset of users before full rollout C) Deploying to a separate environment for testing only D) Deploying using feature toggles only Answer: B Explanation: Canary deployments release the new version to a limited audience to monitor behavior before broader release. Question 6. Which practice is most aligned with the “Shift‑Left” security approach? A) Running security scans after production deployment B) Performing static code analysis during the CI stage C) Auditing logs only during incident response D) Conducting pen‑tests annually
D) Deploying only during business hours Answer: B Explanation: Progressive Delivery enables staged rollouts (feature flags, traffic splitting) allowing safe, incremental releases with easy rollback. Question 10. Which observability component captures distributed traces across microservices? A) Prometheus B) Jaeger C) Grafana D) Alertmanager Answer: B Explanation: Jaeger is a distributed tracing system that records end‑to‑end request flows across services. Question 11. In a microservices architecture, which design principle most directly supports independent deployments? A) Monolithic codebase B) Tight coupling between services C) Bounded contexts with well‑defined APIs D) Shared database schema for all services Answer: C Explanation: Bounded contexts and clear APIs enable services to evolve and be deployed independently. Question 12. Which metric is NOT part of the DORA four? A) Deployment Frequency
B) Mean Time Between Failures (MTBF) C) Lead Time for Changes D) Change Failure Rate Answer: B Explanation: MTBF is not one of the four DORA metrics; the four are Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Time to Restore Service. Question 13. What is the primary benefit of using feature flags in a CD pipeline? A) Reducing code quality B) Enabling runtime control of features without redeployment C) Eliminating the need for testing D) Enforcing monolithic architecture Answer: B Explanation: Feature flags allow toggling functionality on or off in production without requiring a new deployment. Question 14. Which of the following best describes “Infrastructure as Code” (IaC)? A) Manual configuration of servers via SSH B) Storing infrastructure definitions in version‑controlled files C) Using spreadsheets to track resources D) Deploying hardware physically on site Answer: B Explanation: IaC treats infrastructure definitions as code, stored in version control, enabling automated provisioning. Question 15. In the context of CD, what does “pipeline orchestration” refer to? A) Randomly executing jobs
Question 18. Which concept emphasizes a non‑blaming culture to improve incident response? A) Fear‑based management B) Blame culture C) Post‑mortem without finger pointing D) Ignoring failures Answer: C Explanation: A blameless post‑mortem focuses on learning from incidents rather than assigning individual blame. Question 19. Which of the following is an example of “ChatOps” integration? A) Sending deployment notifications to Slack and triggering pipelines via chat commands B) Writing code in a chat window C) Using email for all alerts only D. Ignoring chat platforms for operations Answer: A Explanation: ChatOps brings operational actions (e.g., start a deployment) into chat tools, enabling collaboration and visibility. Question 20. What does “FinOps” primarily address in a cloud‑native organization? A) Financial operations to optimize cloud spend and cost visibility B) Financial auditing of payroll only C. Legal compliance for software licenses D. None of the above Answer: A Explanation: FinOps combines financial management with DevOps practices to control and predict cloud costs.
Question 21. Which of the following best describes “Rugged DevOps”? A) Ignoring security in the pipeline B) Integrating security, compliance, and resilience into DevOps practices C. Using only open‑source tools without governance D. Deploying without testing Answer: B Explanation: Rugged DevOps extends DevOps by embedding security, compliance, and reliability into the workflow. Question 22. In a CD pipeline, where is the most effective place to run static application security testing (SAST)? A) After production deployment B. During the CI build stage C. During user acceptance testing only D. In the monitoring layer Answer: B Explanation: Running SAST early in CI catches code‑level vulnerabilities before they propagate downstream. Question 23. Which of the following is a common anti‑pattern in CD pipeline design? A. Having a single source of truth for configuration B. Manual approval gates for every commit C. Automated rollback on failure D. Parallel test execution Answer: B
Answer: B Explanation: A high Change Failure Rate often reflects flaky or insufficient tests that allow defective code into production. Question 27. Which of the following best defines “MLOps”? A. Applying DevOps principles to machine‑learning model development and deployment B. Managing only the data pipelines without code C. Ignoring model versioning D. Deploying only static web assets Answer: A Explanation: MLOps extends DevOps practices to the entire ML lifecycle, including data, model training, and serving. Question 28. In the context of CD, what is a “service mesh” primarily used for? A. Storing source code B. Managing inter‑service communication, traffic routing, and observability C. Building monolithic applications D. Compiling Java code Answer: B Explanation: Service meshes provide a dedicated infrastructure layer for service‑to‑service traffic control and telemetry. Question 29. Which of the following is a common practice to reduce “Lead Time for Changes”? A. Large, infrequent releases B. Automated testing and deployment pipelines C. Manual code reviews only
D. Delaying merges until release day Answer: B Explanation: Automation speeds up the path from commit to production, reducing lead time. Question 30. Which of the following is a key component of a “blameless post‑mortem”? A. Assigning blame to the individual who caused the incident B. Focusing on systemic improvements and root cause analysis C. Keeping findings secret from the team D. Ignoring the incident entirely Answer: B Explanation: Blameless post‑mortems aim to uncover systemic issues and drive improvements without finger‑pointing. Question 31. Which of the following best describes the relationship between CD and Agile? A. CD replaces Agile methodology B. CD is a technical practice that supports Agile’s rapid delivery goals C. Agile only concerns project management, not delivery D. CD is incompatible with Agile principles Answer: B Explanation: Continuous Delivery provides the automation needed to fulfill Agile’s frequent delivery commitments. Question 32. Which of these is an open‑source CI/CD platform that originated from Google’s internal toolset? A. Jenkins B. Tekton C. CircleCI
C. Average time to write code D. Amount of money spent on cloud resources Answer: B Explanation: Change Failure Rate measures the proportion of releases that lead to failures, indicating release quality. Question 36. Which practice helps improve developer experience in a CD environment? A. Providing slow, unreliable build servers B. Offering self‑service pipelines and clear feedback loops C. Requiring manual steps for every change D. Hiding build logs from developers Answer: B Explanation: Self‑service pipelines and rapid feedback empower developers and increase productivity. Question 37. Which tool is commonly used for secret management in CD pipelines? A. Grafana B. HashiCorp Vault C. JUnit D. Selenium Answer: B Explanation: Vault securely stores and provides dynamic secrets to applications and pipelines. Question 38. Which of the following describes “GitOps”’s approach to rollbacks? A. Manually editing production servers B. Reverting the Git commit that defines the desired state C. Deleting the entire repository
D. Using a separate rollback script unrelated to Git Answer: B Explanation: In GitOps, rolling back is performed by reverting the Git change that declared the undesired state. Question 39. Which metric would most directly reflect the speed of delivering new features to users? A. Deployment Frequency B. Lead Time for Changes C. Change Failure Rate D. Time to Restore Service Answer: B Explanation: Lead Time for Changes measures the time from code commit to production, indicating how quickly features reach users. Question 40. Which of the following is a key principle of “modular design” for CD? A. Monolithic code with no separation B. Building small, independent components that can be built and deployed separately C. Hard‑coding environment variables in source code D. Using a single large repository for all services without boundaries Answer: B Explanation: Modular design encourages independent modules, facilitating parallel development and isolated deployments. Question 41. Which of the following is an example of “infrastructure as code” tooling? A. Microsoft Word B. Terraform
B. Managing data versioning and reproducibility of training pipelines C. Lack of any testing needs D. Models are always small and simple to deploy Answer: B Explanation: ML pipelines require careful handling of data, model artifacts, and reproducibility, adding complexity to CD. Question 45. Which of these is a best practice for handling test data in CI pipelines? A. Using production databases directly B. Generating synthetic, isolated test data sets for each run C. Hard‑coding passwords in test scripts D. Sharing mutable test data across parallel builds Answer: B Explanation: Isolated synthetic data prevents interference, protects production data, and ensures repeatable tests. Question 46. Which of the following is a primary benefit of “rolling updates” in Kubernetes? A. Immediate full traffic cut‑over B. Zero‑downtime deployments by updating pods incrementally C. Requires manual pod deletion D. Disables health checks during rollout Answer: B Explanation: Rolling updates replace pods gradually, keeping the service available throughout the deployment.
Question 47. Which of the following is a typical governance check that can be automated in a CD pipeline? A. Verifying code style compliance with linting rules B. Manually emailing compliance officers after release C. Ignoring licensing requirements D. Disabling security scans in production Answer: A Explanation: Automated linting, license scanning, and policy enforcement can be built into pipelines to ensure governance. Question 48. Which of the following tools is primarily used for collecting and querying time‑series metrics? A. Jaeger B. Prometheus C. Selenium D. Maven Answer: B Explanation: Prometheus scrapes and stores time‑series data for monitoring and alerting. Question 49. Which of the following best describes “Infrastructure as Code”’s impact on disaster recovery? A. Makes recovery slower because code must be written from scratch B. Enables rapid, repeatable recreation of environments from versioned definitions C. Removes the need for backups entirely D. Requires manual configuration of each server after a failure Answer: B
D. Using only proprietary tools for security Answer: B Explanation: DevSecOps embeds security checks and controls into every stage of the CI/CD pipeline. Question 53. Which of the following is a common metric to monitor in a “service mesh” for progressive delivery? A. Number of lines of code B. Request latency and error rates per version C. Size of the Git repository D. Number of developers on the team Answer: B Explanation: Service meshes can route traffic based on version and expose latency/error metrics for each, supporting progressive rollouts. Question 54. Which of the following best describes “continuous testing” (CT)? A. Executing tests only at the end of the release cycle B. Automating tests at every stage of the pipeline, from unit to acceptance C. Manually executing a single test before deployment D. Ignoring security tests altogether Answer: B Explanation: Continuous testing integrates automated testing throughout the pipeline to provide rapid feedback. Question 55. Which of the following is a primary advantage of using containers in a CD pipeline? A. They prevent any scaling of applications
B. They provide consistent runtime environments across stages C. They make debugging impossible D. They require manual dependency management Answer: B Explanation: Containers encapsulate dependencies, ensuring the same environment from development through production. Question 56. Which of the following best illustrates a “build vs. buy” decision for CD tooling? A. Deciding whether to develop an in‑house pipeline orchestrator or adopt Jenkins B. Choosing a coffee brand for the office C. Selecting a programming language for a new feature D. Hiring more developers instead of improving tooling Answer: A Explanation: Build vs. buy compares creating custom tooling versus adopting existing open‑source or commercial solutions. Question 57. Which of the following is a key principle of “lean” thinking applied to CD? A. Maximizing work‑in‑progress to increase batch size B. Reducing waste by automating repetitive tasks and minimizing handoffs C. Ignoring feedback loops D. Delaying testing until after release Answer: B Explanation: Lean emphasizes waste reduction, automation, and fast feedback, aligning with CD goals.