







































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A technical review guide addressing DevOps architecture design, automation strategies, infrastructure planning, CI/CD pipelines, and cloud integration. Includes structured revision notes and exam-focused practice content.
Typology: Exams
1 / 79
This page cannot be seen from the preview
Don't miss anything!








































































Question 1. Which of the three ways of DevOps emphasizes creating fast feedback loops between development and operations? A) Flow B) Feedback C) Continual Learning D) Automation Answer: B Explanation: The “Feedback” way focuses on shortening and amplifying feedback cycles so that problems are detected early and corrected quickly. Question 2. In Westrum’s cultural typology, a Generative culture is characterized by which of the following? A) High bureaucracy and low trust B) Information hoarding and blame C) High cooperation and low fear of failure D) Rigid hierarchy and strict controls Answer: C Explanation: Generative cultures promote sharing, learning from failures, and proactive problem solving, leading to high performance. Question 3. The primary purpose of Value Stream Mapping (VSM) in a DevOps context is to: A) Define coding standards B) Visualize end‑to‑end flow of value and locate bottlenecks C) Create security policies D) Document database schemas Answer: B Explanation: VSM provides a visual map of the entire delivery pipeline, helping teams identify waste and constraints.
Question 4. According to the Theory of Constraints, the “weakest link” in a delivery pipeline is called the: A) Bottleneck B) Throughput C) Buffer D) Lead time Answer: A Explanation: The bottleneck limits overall system performance; improving it raises the whole pipeline’s capacity. Question 5. DORA’s “Deployment Frequency” metric measures: A) Number of incidents per month B) How often code is successfully deployed to production C) Average time to resolve a ticket D) Number of tests executed per build Answer: B Explanation: Deployment Frequency reflects the organization’s ability to deliver changes quickly and reliably. Question 6. In a Capability Maturity Model for DevOps, Level 3 typically signifies: A) Initial/Ad‑hoc processes B) Managed with basic automation C) Defined processes with continuous improvement D) Optimized, data‑driven operations Answer: C Explanation: Level 3 (Defined) indicates standardized, documented processes and a focus on continual improvement.
B) It always produces the same result regardless of the current state C) It requires a database transaction D) It encrypts all variables automatically Answer: B Explanation: Idempotence ensures that applying the same playbook multiple times yields the same final state without unintended side effects. Question 11. Which Kubernetes object provides a stable IP address and DNS name for a set of Pods? A) ConfigMap B) Service C) Ingress D) StatefulSet Answer: B Explanation: A Service abstracts a group of Pods and offers a stable network endpoint. Question 12. A Service Mesh such as Istio primarily adds which capability to a Kubernetes cluster? A) Persistent storage B) Advanced networking features like traffic management, security, and observability at the service level C) Auto‑scaling of nodes D) Container image scanning Answer: B Explanation: Service meshes provide sidecar proxies that handle routing, mTLS, telemetry, and policy enforcement. Question 13. When designing a multi‑cluster Kubernetes environment, which pattern helps achieve global traffic routing? A) DaemonSet B) Cluster‑API
C) Multi‑cluster Ingress (e.g., Gloo Mesh) D) PersistentVolumeClaim Answer: C Explanation: Multi‑cluster Ingress controllers enable routing across clusters, providing a single entry point for users. Question 14. In cloud‑native design, “immutable infrastructure” means: A) Servers are never patched B) Once provisioned, resources are never changed; updates are performed by replacing the whole instance C) All configuration is stored in a database D) Only read‑only storage is used Answer: B Explanation: Immutable patterns avoid in‑place changes, reducing drift and simplifying rollback. Question 15. Which of the following is a key advantage of serverless over microservices? A) Full control over OS patches B) Automatic scaling without managing servers, and pay‑per‑execution billing C) Longer cold‑start times D) Requirement for container orchestration Answer: B Explanation: Serverless abstracts infrastructure management, offering event‑driven scaling and cost efficiency. Question 16. The “CAP theorem” is most relevant when choosing between: A) Different CI/CD tools B) Consistency, Availability, and Partition tolerance in distributed data stores C) IaC languages D) Monitoring dashboards
Explanation: Jenkins pipelines are defined in code (Jenkinsfile) using Groovy, enabling versioned pipeline definitions. Question 20. In GitLab CI, the keyword that defines a job’s execution order relative to others is: A) stage B) script C) when D) only Answer: A Explanation: Stages group jobs; jobs in later stages run after all jobs in previous stages complete successfully. Question 21. A “single source of truth” in GitOps is represented by: A) An artifact repository B) The production database C) The Git repository containing declarative infrastructure and application manifests D) The monitoring dashboard Answer: C Explanation: GitOps treats Git as the authoritative definition of system state; any drift is reconciled automatically. Question 22. ArgoCD performs which type of deployment strategy? A) Blue/Green only B) Declarative, pull‑based synchronization of Kubernetes manifests from Git C) Push‑based Docker image distribution D) Manual rollout via CLI only Answer: B Explanation: ArgoCD continuously monitors Git and pulls changes to the cluster, ensuring the live state matches the declared state.
Question 23. Which release strategy minimizes impact by routing a small percentage of traffic to a new version? A) Blue/Green B) Canary C) Rolling Update D) Recreate Answer: B Explanation: Canary releases expose a limited subset of users to the new version, allowing early detection of issues. Question 24. Feature flags (toggles) primarily help with: A) Reducing code complexity B) Decoupling deployment from release, enabling selective activation of functionality C) Encrypting configuration files D) Automating database migrations Answer: B Explanation: Feature flags let teams deploy code safely while controlling feature exposure at runtime. Question 25. In dependency management, which repository format is most commonly used for storing Docker images? A) Maven B) npm C) OCI (Open Container Initiative) registry such as Artifactory or Nexus D) PyPI Answer: C Explanation: OCI registries host container images, providing versioned storage and access control. Question 26. SAST tools are integrated into a pipeline at which stage for maximum effectiveness?
C) Terraform Cloud/Enterprise D) Azure DevOps Answer: C Explanation: Sentinel allows policy checks on Terraform plans before they’re applied, enforcing governance. Question 30. In observability, the “three pillars” are Metrics, Logs, and: A) Backups B) Traces C) Alerts D) Dashboards Answer: B Explanation: Traces provide end‑to‑end request flow data, complementing metrics and logs for full observability. Question 31. AIOps primarily leverages which technology to detect anomalies? A) Manual threshold configuration B) Machine learning models analyzing telemetry data C) Static code analysis D) Manual log inspection Answer: B Explanation: AIOps applies ML to large volumes of operational data, automatically identifying patterns and outliers. Question 32. Chaos engineering experiments aim to improve: A) Deployment speed only B) System resilience by intentionally injecting failures and measuring recovery (MTTR) C) UI design consistency D) License compliance
Answer: B Explanation: By provoking failures, teams validate that their systems can withstand real‑world disruptions. Question 33. The term “Mean Time To Recovery (MTTR)” measures: A) Average time to develop a feature B) Time taken to restore service after an incident C) Duration of a build job D) Latency of a database query Answer: B Explanation: MTTR quantifies how quickly a system returns to normal after a failure, a key resilience metric. Question 34. An Internal Developer Platform (IDP) most directly improves: A) Network bandwidth B) Developer self‑service and productivity by abstracting infrastructure complexities C. Physical hardware provisioning D. Legal compliance documentation Answer: B Explanation: IDPs expose standardized APIs and portals enabling developers to request resources without manual ops involvement. Question 35. “Golden Path” in Platform Engineering refers to: A) The most expensive deployment route B) A predefined, best‑practice workflow that teams should follow for consistency and speed C) A deprecated legacy system D) The path to the data center rack Answer: B Explanation: Golden Paths codify proven processes, reducing decision fatigue and errors.
A) Low fear of failure B) Information silos C) High collaboration D) Continuous learning Answer: B Explanation: Generative cultures break down silos; information hoarding is a sign of a pathological culture. Question 40. In the “Three Ways” model, “Continual Learning and Experimentation” is primarily supported by which practice? A) Strict change‑control boards B) Automated rollback mechanisms and post‑mortems C) Manual code reviews only D) Fixed release dates Answer: B Explanation: Automation enables rapid experiments and safe rollback, fostering learning from failures. Question 41. The principle of “Reducing Cognitive Load” for developers is best achieved by: A) Providing many configuration options B) Offering opinionated defaults and abstractions (e.g., IDP) that hide complexity C. Requiring deep knowledge of every underlying service D. Enforcing manual server provisioning Answer: B Explanation: Opinionated platforms reduce the mental effort needed to perform routine tasks. Question 42. Which metric from the DORA model reflects the speed at which an organization can deliver changes? A) Change Failure Rate B) Lead Time for Changes
C) Mean Time to Restore D) Availability Answer: B Explanation: Lead Time for Changes measures the time from code commit to production deployment. Question 43. A “Blue/Green” deployment reduces risk by: A) Updating all instances simultaneously B) Keeping two identical production environments and switching traffic after validation C. Rolling updates pod‑by‑pod D. Using feature flags only Answer: B Explanation: Traffic is switched to the new “green” environment only after it passes health checks, enabling instant rollback. Question 44. Which of the following best describes a “Canary” release pattern? A) Deploy to 100 % of users instantly B) Deploy to a small, representative subset of users before full rollout C. Deploy only during off‑peak hours D. Deploy without any testing Answer: B Explanation: Canary releases expose a limited audience to the new version to detect issues early. Question 45. In a GitOps workflow, what happens when the desired state in Git diverges from the live cluster? A. The cluster is shut down automatically B. The GitOps operator reconciles the cluster to match Git (or raises an alert) C. Nothing; divergence is ignored D. Developers must manually edit the cluster Answer: B
A) Run only on a single provider’s proprietary services B. Use open standards and portable components to run on any cloud C. Depend on vendor‑specific APIs D. Require manual re‑deployment for each provider Answer: B Explanation: Cloud‑agnostic designs avoid lock‑in by leveraging open‑source or standardized services. Question 50. Which of the following is NOT a typical characteristic of immutable infrastructure? A) Rebuilding servers from scratch for updates B) Applying patches in‑place on running VMs C) Versioned artifacts (e.g., AMIs) D. Automated provisioning pipelines Answer: B Explanation: In‑place patching violates immutability; updates are performed by creating new instances. Question 51. The “Infrastructure Drift” detection feature in Terraform Cloud is called: A) Sentinel B) Drift Detection C) Run‑Task D) State Locking Answer: B Explanation: Terraform Cloud can automatically compare the live state with the declared configuration to flag drift. Question 52. Which Kubernetes resource is most appropriate for storing non‑confidential configuration data that can be updated without restarting Pods? A) Secret B) ConfigMap C) PersistentVolume
D) ServiceAccount Answer: B Explanation: ConfigMaps provide key‑value configuration that can be reloaded by Pods at runtime. Question 53. In a CI pipeline, “artifact promotion” typically means: A) Deleting old build artifacts B) Moving a verified artifact from a lower environment (e.g., dev) to a higher one (e.g., prod) without rebuilding C. Changing the artifact’s file extension D. Encrypting the artifact for storage Answer: B Explanation: Promotion reuses the same artifact across environments, ensuring consistency. Question 54. Which of the following best describes “GitLab Runner”? A) A repository hosting service B) An agent that executes CI/CD jobs defined in .gitlab-ci.yml C) A monitoring dashboard D. A secret management tool Answer: B Explanation: Runners are the workers that process pipeline jobs. Question 55. The “Blue/Green” deployment strategy is most useful when: A) You need zero‑downtime cut‑over and quick rollback capability B. You want to update databases only C. You have a monolithic architecture that cannot be duplicated D. You prefer manual deployments only Answer: A Explanation: Maintaining two complete environments enables instant traffic switch and rollback.
Question 59. Which observability signal is most useful for pinpointing latency spikes in a microservice call chain? A) Metrics only B) Logs only C) Distributed Traces D) Configuration files Answer: C Explanation: Traces show the path and timing of each request across services, revealing latency sources. Question 60. In Chaos Engineering, “steady state” refers to: A) The system’s normal operational metrics that should remain unchanged unless a fault is introduced B. The configuration files in version control C. The final production release D. The CI pipeline’s build number Answer: A Explanation: Defining a steady state provides a baseline to compare against during fault injection experiments. Question 61. Which of the following is a typical component of an Internal Developer Platform (IDP) portal? A) Direct SSH access to production servers B) Self‑service catalog for provisioning databases, queues, and environments C. Manual ticket submission forms only D. Only read‑only documentation Answer: B Explanation: IDP portals expose a catalog of approved resources that developers can request automatically. Question 62. “Self‑Service Infrastructure” reduces the need for which traditional DevOps activity?
A) Continuous integration B) Manual ticket‑based provisioning by operations teams C) Automated testing D. Version control Answer: B Explanation: Developers can provision resources themselves, decreasing reliance on ops for routine tasks. Question 63. Which of the following best describes “FinOps” maturity level “Predictive”? A) Only reactive cost alerts exist B) Organizations can forecast future spend with high accuracy and allocate budgets proactively C. No cost visibility is available D. Costs are ignored in decision making Answer: B Explanation: Predictive maturity implies sophisticated cost modeling and proactive budgeting. Question 64. In a Kubernetes cluster, “Pod Disruption Budgets (PDBs)” are used to: A) Limit the number of Pods that can be terminated simultaneously during voluntary disruptions (e.g., upgrades) B. Increase CPU limits C. Store secret data D. Define network policies Answer: A Explanation: PDBs protect application availability during maintenance by controlling disruption rates. Question 65. Which of the following is a core principle of Lean thinking applied to DevOps pipelines? A) Maximizing work‑in‑progress (WIP) B) Eliminating waste and optimizing flow