




























































































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 deep technical assessment focused on DevOps engineering practices including CI/CD pipelines, containerization, Infrastructure as Code (IaC), orchestrations, cloud-native deployment, monitoring, and performance tuning. The exam challenges candidates with engineering-specific scenarios requiring practical judgment across tools and automated deployment workflows.
Typology: Exams
1 / 107
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which of the following best describes the primary role of a DevOps Engineer? A) Writing only application code B) Managing only network hardware C) Bridging development and operations through cross‑functional expertise D) Performing only manual testing Answer: C Explanation: A DevOps Engineer combines development skills with operational knowledge to automate, streamline, and improve the entire delivery pipeline. Question 2. In the “Three Ways” framework, which way focuses on creating feedback loops from production back to development? A) The First Way – Flow B) The Second Way – Feedback C) The Third Way – Continual Learning D) The Fourth Way – Automation Answer: B Explanation: The Second Way emphasizes fast, tight feedback loops that allow teams to detect problems early and improve continuously. Question 3. What does “Continuous Everything” NOT typically include? A) Continuous Integration B) Continuous Delivery C) Continuous Documentation D) Continuous Monitoring
Answer: C Explanation: While documentation can be automated, “Continuous Everything” traditionally refers to integration, delivery, testing, monitoring, and security, not specifically documentation. Question 4. Which stage of the DevOps lifecycle directly follows “Build”? A) Test B) Release C) Deploy D) Operate Answer: A Explanation: After building artifacts, the next logical step is testing them to verify correctness before release. Question 5. According to the Theory of Constraints, what is the most effective first step to improve a CI/CD pipeline? A) Add more servers B) Identify the bottleneck C) Increase developer headcount D) Automate all tests Answer: B Explanation: The Theory of Constraints states that improvement begins by locating the system’s limiting factor (the constraint) and addressing it.
C) Ant build.xml D) Maven pom.xml Answer: B Explanation: GitLab CI defines pipelines in a .gitlab-ci.yml file, allowing version‑controlled, declarative pipeline definitions. Question 9. Which CI/CD pattern is considered an anti‑pattern? A) Trunk‑Based Development B) Deploying directly to production without testing C) Blue/Green deployments D) Canary releases Answer: B Explanation: Deploying to production without testing bypasses quality gates and increases risk, making it an anti‑pattern. Question 10. Which tool category is primarily responsible for configuration management? A) Build automation B) Container orchestration C) Version control D) CM tools like Ansible, Puppet Answer: D Explanation: Configuration Management tools automate the provisioning and maintenance of system configurations.
Question 11. What is the main benefit of Value Stream Management (VSM)? A) Automating code compilation B) Visualizing and optimizing flow of value through the pipeline C) Managing user authentication D) Providing IDE integrations Answer: B Explanation: VSM gives end‑to‑end visibility of work items, enabling teams to identify waste and improve delivery speed. Question 12. Which architecture style encourages independent deployment of services? A) Monolithic B) Microservices C) Layered D) Client‑Server Answer: B Explanation: Microservices break functionality into loosely coupled services that can be built, tested, and deployed independently. Question 13. In Service‑Oriented Architecture (SOA), what is a “service contract”? A) The SLA with customers B) The definition of inputs, outputs, and behavior of a service C) The source code repository URL
Question 16. Which CI strategy helps keep the integration process fast and reliable? A) Merging large feature branches only once a month B) Running a full suite of integration tests on every commit C) Using shallow clones and parallel builds D) Disabling automated tests in favor of manual QA Answer: C Explanation: Shallow clones reduce checkout time and parallel builds speed up execution, supporting rapid feedback. Question 17. In the Test Automation Pyramid, which type of test should be the most numerous? A) End‑to‑End tests B) Integration tests C) Unit tests D) Performance tests Answer: C Explanation: Unit tests are fast, isolated, and inexpensive, so they should form the base of the pyramid. Question 18. Test‑Driven Development (TDD) follows which sequence? A) Write code → Write test → Refactor B) Write test → Write code → Refactor C) Refactor → Write test → Write code D) Write code → Refactor → Write test
Answer: B Explanation: TDD starts by writing a failing test, then minimal code to pass it, followed by refactoring. Question 19. Which BDD framework is commonly used with Java? A) RSpec B) Cucumber C) Mocha D) PyTest Answer: B Explanation: Cucumber allows writing specifications in Gherkin language and maps them to Java step definitions. Question 20. Which technique can accelerate test execution in a CI pipeline? A) Running tests sequentially on a single node B) Using test data from production databases directly C) Parallelizing test suites across multiple agents D) Disabling test caching Answer: C Explanation: Parallel execution distributes tests across agents, reducing overall runtime. Question 21. What is an “ephemeral test environment”?
Answer: B Explanation: Idempotent actions ensure that applying the same configuration repeatedly does not alter the desired state after the first successful run. Question 24. Which IaC tool uses a declarative language based on JSON/YAML for AWS resources? A) Ansible B) Terraform C) CloudFormation D) Chef Answer: C Explanation: AWS CloudFormation templates are written in JSON or YAML and declare the desired state of AWS resources. Question 25. Which Kubernetes object represents a set of identical pods and ensures the desired number of replicas? A) Service B) Deployment C) ConfigMap D) Ingress Answer: B Explanation: A Deployment manages replica sets, rolling updates, and rollbacks for a group of identical pods.
Question 26. What is the primary purpose of a Kubernetes Ingress? A) To store container images B) To provide network routing rules for external traffic into the cluster C) To define persistent volumes D) To schedule pods on nodes Answer: B Explanation: Ingress resources define HTTP(S) routing rules, often backed by an Ingress controller, to expose services outside the cluster. Question 27. In GitOps, where is the single source of truth for both application and infrastructure state stored? A) A private Docker registry B) A CI server’s database C) A Git repository D) An artifact repository Answer: C Explanation: GitOps treats Git repositories as the authoritative source for declarative definitions, enabling automated reconciliation. Question 28. Which deployment strategy minimizes risk by gradually exposing a new version to a small percentage of users? A) Blue/Green B) Rolling C) Canary
Explanation: Lead Time for Changes captures the elapsed time from code commit through the pipeline to production deployment. Question 31. What does DORA’s “Change Failure Rate” indicate? A) Percentage of deployments that cause an incident or require rollback B) Number of commits per developer per day C) Average time to provision infrastructure D) Frequency of automated tests Answer: A Explanation: Change Failure Rate is the proportion of changes that result in degraded service or need remediation. Question 32. Which of the following is NOT a pillar of observability? A) Logs B) Metrics C) Traces D) Documentation Answer: D Explanation: Observability relies on logs, metrics, and distributed traces to infer system behavior; documentation is supporting material but not a pillar. Question 33. Which tool is primarily used for time‑series metric collection in cloud‑native environments? A) Elasticsearch
B) Prometheus C) Jenkins D) SonarQube Answer: B Explanation: Prometheus scrapes metrics from instrumented services and stores them as time‑series data. Question 34. What is the purpose of “Policy as Code”? A) To write business policies in plain English only B) To embed governance rules directly into source‑controlled code for automated enforcement C) To replace all security tools with manual reviews D) To store policies in a separate, non‑versioned system Answer: B Explanation: Policy as Code treats compliance rules as executable code, enabling automated checks during CI/CD. Question 35. Which security testing technique analyzes source code without executing it? A) DAST B) SAST C) Penetration testing D) Fuzz testing Answer: B
C) Competitive incentives D) Individual performance metrics Answer: B Explanation: Psychological safety encourages team members to discuss failures openly without fear of punishment. Question 39. In Team Topologies, which team type focuses on building internal platforms for other teams? A) Stream‑aligned team B) Enabling team C) Platform team D) Complicated Subsystem team Answer: C Explanation: Platform teams create self‑service tools and services that accelerate delivery for stream‑aligned teams. Question 40. Which practice deliberately injects failures into a production system to improve resilience? A) Load testing B) Chaos Engineering C) Regression testing D) Blue‑green deployment Answer: B
Explanation: Chaos Engineering runs controlled experiments that cause failures, helping teams validate recovery mechanisms. Question 41. What is the primary advantage of serverless computing for DevOps teams? A) Full control over underlying OS B) Eliminates the need for any code C) Automatic scaling and reduced operational overhead D) Guarantees zero cost Answer: C Explanation: Serverless platforms handle scaling, patching, and infrastructure management, allowing teams to focus on code. Question 42. Which AI‑driven practice automates the analysis of operational data to detect anomalies? A) AIOps B) DevSecOps C) GitOps D) Test‑Driven Development Answer: A Explanation: AIOps leverages machine learning to ingest logs, metrics, and traces, automatically identifying abnormal patterns. Question 43. Which of the following is a key difference between Continuous Delivery (CD) and Continuous Deployment (CD)?
D) Number of feature flags Answer: B Explanation: MTTR measures how quickly a system recovers from incidents, reflecting post‑deployment stability. Question 46. What is the main purpose of a feature flag? A) To permanently remove code from the repository B) To enable or disable functionality at runtime without redeploying C) To secure secrets in environment variables D) To version control database schemas Answer: B Explanation: Feature flags allow dynamic toggling of features, facilitating canary releases and quick rollbacks. Question 47. Which of the following is a common anti‑pattern in container image management? A) Using multi‑stage builds to reduce image size B) Storing secrets directly in Dockerfiles C) Scanning images for vulnerabilities before push D) Tagging images with immutable version numbers Answer: B Explanation: Embedding secrets in Dockerfiles creates security risks; images should be built without sensitive data.
Question 48. Which CI/CD tool natively supports “pipeline as code” using a Groovy DSL? A) Travis CI B) CircleCI C) Jenkins D) Bamboo Answer: C Explanation: Jenkins pipelines are defined in Jenkinsfile using Groovy DSL, enabling versioned pipeline definitions. Question 49. In the context of monitoring, what does “alert fatigue” refer to? A) Having too few alerts, causing missed incidents B) Overwhelming number of alerts leading to desensitization and ignored warnings C. Alerts that only fire during business hours D. Alerts that automatically resolve themselves Answer: B Explanation: Alert fatigue occurs when excessive noisy alerts cause operators to ignore or miss critical warnings. Question 50. Which of the following best describes “immutable infrastructure”? A) Servers are never patched after deployment. B) Infrastructure components are never changed; updates are performed by replacing them with new instances. C) All configuration is stored in a single monolithic script.