Certified DevOps Practitioner (CDP) Exam — Questions and Answers
Question 1: What does 'shift-left' mean in the context of DevOps testing practices?
- Running regression tests after each production deployment
- Introducing testing earlier in the software development lifecycle (Correct answer)
- Moving test environments closer to production
- Assigning testing responsibilities to operations teams
Correct answer: Introducing testing earlier in the software development lifecycle
Shift-left means incorporating testing, security, and quality checks earlier in the development pipeline rather than waiting until the end.
Question 2: How often should performance monitoring & optimization metrics be reviewed in Certified DevOps Practitioner?
- Regularly at defined intervals with additional reviews triggered by significant events (Correct answer)
- When problems are reported
- When external audits are scheduled
- Only during annual performance reviews
Correct answer: Regularly at defined intervals with additional reviews triggered by significant events
Regular scheduled reviews ensure ongoing monitoring while event-triggered reviews capture the impact of significant changes.
Question 3: What does 'value stream mapping' help DevOps teams identify?
- The business value generated by each microservice
- The mapping between user stories and architectural components
- The monetary cost of cloud infrastructure per feature
- Bottlenecks and waste in the software delivery process from idea to production (Correct answer)
Correct answer: Bottlenecks and waste in the software delivery process from idea to production
Value stream mapping visualizes every step of the software delivery pipeline to identify delays, handoffs, and waste that reduce flow efficiency.
Question 4: In the DevOps testing pyramid, which layer should contain the largest number of tests?
- UI/End-to-end tests
- Unit tests (Correct answer)
- Service/Integration tests
- Manual exploratory tests
Correct answer: Unit tests
The testing pyramid places the most tests at the unit level because they are fast, cheap, and stable compared to higher-level tests.
Question 5: How should system architecture & design upgrades be managed in a Certified DevOps Practitioner environment?
- Only during business hours for maximum visibility
- Through a structured change management process with testing and rollback plans (Correct answer)
- By implementing changes immediately without testing
- By upgrading all systems simultaneously without staging
Correct answer: Through a structured change management process with testing and rollback plans
A structured change management process with testing and rollback plans minimizes risk and ensures upgrades do not disrupt operations.
Question 6: What is the PRIMARY objective of troubleshooting & problem resolution within the Certified DevOps Practitioner profession?
- To limit the scope of professional activities
- To create additional requirements for practitioners
- To ensure quality outcomes through standardized practices and continuous improvement (Correct answer)
- To maintain the status quo without change
Correct answer: To ensure quality outcomes through standardized practices and continuous improvement
The primary objective is ensuring quality outcomes through established standards while continuously improving practices and processes.
Question 7: Which metric BEST indicates successful data management & integration in Certified DevOps Practitioner?
- Achievement of defined key performance indicators and stakeholder satisfaction (Correct answer)
- Volume of emails sent
- Hours worked by team members
- Number of meetings held per week
Correct answer: Achievement of defined key performance indicators and stakeholder satisfaction
KPI achievement and stakeholder satisfaction directly measure whether management activities are producing desired outcomes.
Question 8: Why is centralized logging considered a best practice in DevOps environments?
- It reduces system security.
- It slows down application performance.
- It eliminates the need for system monitoring.
- It helps quickly identify and resolve issues across distributed systems. (Correct answer)
Correct answer: It helps quickly identify and resolve issues across distributed systems.
Centralized logging is a best practice in DevOps environments because it aggregates log data from all distributed systems and applications into a single, searchable platform. This consolidation allows teams to quickly identify, diagnose, and resolve issues by correlating events across different services. It significantly improves troubleshooting efficiency and provides a holistic view of system health.
Question 9: What is 'release orchestration' in a DevOps context?
- Writing release notes automatically from commit history
- Coordinating and managing the end-to-end release process across teams and environments (Correct answer)
- Load balancing traffic between releases
- Automating container scheduling across clusters
Correct answer: Coordinating and managing the end-to-end release process across teams and environments
Release orchestration tools coordinate complex multi-team, multi-environment release workflows including approvals, timing, and dependencies.
Question 10: In Certified DevOps Practitioner, how should performance monitoring & optimization initiatives be prioritized?
- Based on the most recent complaints
- In order of ease of implementation only
- By the department requesting the improvement
- Based on impact on outcomes, feasibility, and alignment with strategic goals (Correct answer)
Correct answer: Based on impact on outcomes, feasibility, and alignment with strategic goals
Prioritizing by impact, feasibility, and strategic alignment ensures resources are directed where they will produce the greatest benefit.
Question 11: In release management, what does 'change freeze' mean?
- Archiving old release branches
- A period during which no new changes are deployed to production (Correct answer)
- Locking configuration files in version control
- Disabling auto-scaling during peak load
Correct answer: A period during which no new changes are deployed to production
A change freeze is a planned window where deployments are halted to reduce risk, often around holidays or major business events.
Question 12: Which characteristic BEST describes a successful performance monitoring & optimization culture in Certified DevOps Practitioner?
- Top-down directives without employee input
- Continuous learning where all team members actively seek improvement (Correct answer)
- Focus on compliance over genuine improvement
- Periodic campaigns without sustained effort
Correct answer: Continuous learning where all team members actively seek improvement
A culture where all team members actively seek improvement opportunities creates sustainable quality enhancement across the organization.
Question 13: Which practice in DevOps involves deliberately injecting failures into a system to test its resilience?
- Penetration testing
- Chaos engineering (Correct answer)
- Load testing
- Disaster recovery testing
Correct answer: Chaos engineering
Chaos engineering, popularized by Netflix's Chaos Monkey, proactively introduces failures to discover weaknesses before they cause real outages.
Question 14: Which practice encourages team ownership and transparency in DevOps workflows?
- Assigning blame for failures.
- Silently fixing issues.
- Shared ownership of code and deployments. (Correct answer)
- Avoiding cross-functional meetings.
Correct answer: Shared ownership of code and deployments.
Shared ownership of code and deployments is a key practice that encourages team ownership and transparency in DevOps workflows. When teams collectively own the entire lifecycle of a service, from development to operations, it fosters a sense of responsibility, promotes knowledge sharing, and leads to more robust and maintainable systems.
Question 15: Which metric BEST indicates successful project planning & deployment in Certified DevOps Practitioner?
- Hours worked by team members
- Achievement of defined key performance indicators and stakeholder satisfaction (Correct answer)
- Volume of emails sent
- Number of meetings held per week
Correct answer: Achievement of defined key performance indicators and stakeholder satisfaction
KPI achievement and stakeholder satisfaction directly measure whether management activities are producing desired outcomes.
Question 16: Which type of monitoring focuses on tracking application-specific metrics such as request rates and error counts?
- Network monitoring
- Application monitoring (Correct answer)
- Compliance auditing
- Infrastructure monitoring
Correct answer: Application monitoring
Application monitoring specifically focuses on tracking the performance, availability, and health of software applications themselves. It collects metrics such as request rates, error counts, response times, and transaction throughput. This type of monitoring provides deep insights into how an application is performing from a user's perspective and helps identify application-specific bottlenecks or issues.
Question 17: Which Kubernetes object is used to ensure a specified number of pod replicas are running at any given time?
- Job
- DaemonSet
- StatefulSet
- ReplicaSet (Correct answer)
Correct answer: ReplicaSet
A ReplicaSet maintains a stable set of replica pods running at any given time to guarantee pod availability.
Question 18: Which DevOps DORA metric measures the frequency with which an organization successfully releases software to production?
- Mean time to restore
- Lead time for changes
- Change failure rate
- Deployment frequency (Correct answer)
Correct answer: Deployment frequency
Deployment frequency is one of the four DORA key metrics measuring how often a team successfully deploys to production, indicating delivery throughput.
Question 19: In DevOps, what is 'mean time to recovery' (MTTR) a measure of?
- The percentage of time a system is operational
- The average time between two consecutive failures
- The average time to restore a service after a failure (Correct answer)
- The average time to detect a production incident
Correct answer: The average time to restore a service after a failure
MTTR measures the average time it takes to restore a system or service to normal operation after a failure occurs.
Question 20: Which metric type is commonly used to track the frequency of a specific event over time?
- Summary
- Gauge
- Counter (Correct answer)
- Histogram
Correct answer: Counter
A counter is a type of metric that represents a single numerical value that only ever increases or is reset to zero. It is specifically designed to track the frequency of a specific event over time, such as the total number of HTTP requests, errors encountered, or tasks completed. This allows for monitoring cumulative occurrences.
Question 21: Which performance monitoring & optimization tool is MOST valuable for identifying root causes in Certified DevOps Practitioner?
- Historical trend analysis alone
- Root cause analysis with systematic investigation methods (Correct answer)
- Blame assignment without investigation
- Quick fixes based on symptoms
Correct answer: Root cause analysis with systematic investigation methods
Root cause analysis with systematic methods identifies underlying causes rather than symptoms, leading to lasting solutions.
Question 22: What is the PRIMARY benefit of standardizing system architecture & design practices in Certified DevOps Practitioner?
- Reducing the number of tools available
- Limiting innovation and creativity
- Consistency, easier maintenance, and improved collaboration among team members (Correct answer)
- Increasing dependency on specific vendors
Correct answer: Consistency, easier maintenance, and improved collaboration among team members
Standardization promotes consistency across the organization, simplifies maintenance, and enables better collaboration between team members.
Question 23: What does the `kubectl rollout undo` command accomplish?
- It pauses an ongoing rolling update
- It rolls back a deployment to the previous revision (Correct answer)
- It reverts a ConfigMap to its original values
- It deletes all pods in a deployment
Correct answer: It rolls back a deployment to the previous revision
The `kubectl rollout undo` command reverts a deployment to the previously deployed revision, useful for recovering from a bad release.
Question 24: What is the main goal of 'trunk-based development' in a DevOps workflow?
- The main branch is reserved exclusively for production-ready releases
- Developers commit small, frequent changes directly to the main branch to reduce merge conflicts (Correct answer)
- All code changes are reviewed in a separate integration branch before merging
- Each developer maintains a long-lived feature branch until fully complete
Correct answer: Developers commit small, frequent changes directly to the main branch to reduce merge conflicts
Trunk-based development keeps all developers working on a single shared branch with short-lived feature branches, minimizing integration pain and enabling CI.
Question 25: What is the MOST important skill for effective project planning & deployment in Certified DevOps Practitioner?
- Technical expertise alone without people skills
- Avoiding conflict at all costs
- Maintaining strict authority over all decisions
- Clear communication and the ability to align team efforts with objectives (Correct answer)
Correct answer: Clear communication and the ability to align team efforts with objectives
Clear communication is essential for aligning team efforts, building consensus, and ensuring everyone understands and works toward shared objectives.
Question 26: Which of the following is a collaborative practice for managing code changes in DevOps?
- Pull requests (Correct answer)
- Sharing USB drives
- Manual file transfers
- Emailing code snippets
Correct answer: Pull requests
Pull requests (or merge requests) are a collaborative practice for managing code changes in DevOps, typically used with version control systems like Git. They allow developers to propose changes, discuss them with teammates, and get feedback before merging their code into the main branch, ensuring code quality and team alignment.
Question 27: Which Agile metric measures the amount of work a team completes during a single sprint?
- Cycle time
- Lead time
- Velocity (Correct answer)
- Throughput
Correct answer: Velocity
Velocity measures the total story points or work units completed in a sprint, helping teams forecast future capacity.
Question 28: What is the BEST approach to documentation & best practices standardization in Certified DevOps Practitioner?
- Allowing each department to create its own standards
- Implementing consistent formats, terminology, and processes across the organization (Correct answer)
- Standardizing only external-facing documents
- Using whatever format is most convenient at the time
Correct answer: Implementing consistent formats, terminology, and processes across the organization
Organization-wide consistency in formats, terminology, and processes ensures data can be shared, compared, and analyzed effectively.
Question 29: Which language is primarily used to write Terraform configuration files?
- JSON
- HCL (Correct answer)
- XML
- YAML
Correct answer: HCL
Terraform primarily uses HashiCorp Configuration Language (HCL) for writing its configuration files. HCL is a declarative language designed to be human-readable and machine-friendly, making it intuitive to define infrastructure resources and their desired state. While it supports JSON, HCL is the native and preferred language for Terraform configurations.
Question 30: What is a 'blameless post-mortem' in DevOps culture?
- A disciplinary process after a production failure
- A report generated automatically by monitoring tools after downtime
- An incident review focused on systemic improvements rather than individual fault (Correct answer)
- A meeting where team members accept responsibility for outages
Correct answer: An incident review focused on systemic improvements rather than individual fault
A blameless post-mortem analyzes the root causes of an incident without assigning personal blame, fostering psychological safety and systemic learning.
Question 31: What is the MOST important consideration when implementing system architecture & design solutions in Certified DevOps Practitioner?
- Minimizing initial cost without considering long-term value
- Selecting solutions based on vendor popularity alone
- Alignment with organizational needs and scalability requirements (Correct answer)
- Using the newest technology regardless of fit
Correct answer: Alignment with organizational needs and scalability requirements
Technology solutions must align with organizational needs and scale appropriately to deliver value both now and in the future.
Question 32: What is the PRIMARY purpose of documentation & best practices in Certified DevOps Practitioner?
- To limit access to information
- To provide accurate, accessible information for decision-making and compliance (Correct answer)
- To create paperwork for filing purposes
- To satisfy audit requirements only
Correct answer: To provide accurate, accessible information for decision-making and compliance
Data and documentation exist primarily to provide accurate, accessible information that supports both decision-making and regulatory compliance.
Question 33: In Agile/DevOps, what does a 'retrospective' meeting primarily focus on?
- Reviewing what went well and what to improve in the previous iteration (Correct answer)
- Estimating story points for backlog items
- Planning the features for the next sprint
- Demonstrating completed work to stakeholders
Correct answer: Reviewing what went well and what to improve in the previous iteration
A retrospective is a team meeting held after each sprint or release to reflect on processes and identify actionable improvements.
Question 34: What is the purpose of a 'dry run' in a deployment pipeline?
- Deploying to production without notifying users
- Generating a deployment report for auditors
- Simulating the deployment steps without making actual changes (Correct answer)
- Running only unit tests without integration tests
Correct answer: Simulating the deployment steps without making actual changes
A dry run executes pipeline logic and shows what changes would occur without actually applying them, helping catch errors before real deployment.
Question 35: Which practice involves development teams deploying small, frequent code changes to production multiple times per day?
- Feature branching
- Trunk-based development
- Continuous Integration
- Continuous Deployment (Correct answer)
Correct answer: Continuous Deployment
Continuous Deployment automatically releases every code change that passes all pipeline stages directly to production without manual approval.
Question 36: In DevOps, what is the primary benefit of using feature flags (feature toggles)?
- They generate automated test cases for new features
- They allow features to be enabled or disabled in production without redeploying code (Correct answer)
- They automatically revert broken deployments to previous versions
- They enforce access control policies on new application features
Correct answer: They allow features to be enabled or disabled in production without redeploying code
Feature flags decouple feature release from code deployment, allowing teams to gradually roll out, A/B test, or instantly disable features without a new deploy.
Question 37: What is the MOST effective way to stay current with developments in troubleshooting & problem resolution for Certified DevOps Practitioner?
- Following a single expert opinions
- Participating in professional development, industry events, and peer collaboration (Correct answer)
- Relying on experience gained early in career
- Reading only internal communications
Correct answer: Participating in professional development, industry events, and peer collaboration
A multi-faceted approach including formal development, industry events, and peer collaboration provides the broadest perspective on current developments.
Question 38: What is the PRIMARY objective of implementation & configuration within the Certified DevOps Practitioner profession?
- To create additional requirements for practitioners
- To maintain the status quo without change
- To ensure quality outcomes through standardized practices and continuous improvement (Correct answer)
- To limit the scope of professional activities
Correct answer: To ensure quality outcomes through standardized practices and continuous improvement
The primary objective is ensuring quality outcomes through established standards while continuously improving practices and processes.
Question 39: When troubleshooting system architecture & design issues in Certified DevOps Practitioner, what is the BEST approach?
- Making multiple changes simultaneously to save time
- Systematic diagnosis starting with the most likely causes and documenting steps (Correct answer)
- Restarting systems without investigating the root cause
- Escalating immediately without initial investigation
Correct answer: Systematic diagnosis starting with the most likely causes and documenting steps
Systematic diagnosis with documentation ensures efficient problem resolution and prevents recurrence by addressing root causes.
Question 40: Which principle promotes openness and honesty in DevOps culture?
- Penalty-based performance tracking
- Blameless postmortems (Correct answer)
- Strict reporting hierarchies
- Isolated teams
Correct answer: Blameless postmortems
Blameless postmortems are a core principle in DevOps that promotes openness and honesty by focusing on systemic improvements rather than individual blame after an incident. This approach encourages teams to openly discuss failures, learn from them, and implement preventative measures without fear of retribution, fostering a culture of continuous learning and psychological safety.
Certified DevOps Practitioner (CDP) Exam
The Certified DevOps Practitioner certification validates an individual's understanding and practical application of DevOps principles, practices, and tools.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds
These practice questions were written with AI tools. They are not real exam questions. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- gsdcouncil.org — Eligibility, fees, exam format, passing score, renewal, retake policy, time limit, score validity, test delivery, score release · verified Oct 2026