Practice CI/CD Pipelines Questions Now
Start a timed practice session focusing on CI/CD Pipelines on AWS topics from the DOP-C02 question bank.
Start DOP-C02 Practice Quiz →DOP-C02 CI/CD Pipelines Question Bank (45 Questions)
Browse all 45 practice questions covering CI/CD Pipelines on AWS for the DOP-C02 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.
- Question 1SDLC Automation
A CodePipeline pipeline has a source action pointing to a CodeCommit repository. The pipeline is not triggering on new commits. What is the MOST LIKELY cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 2SDLC Automation
A company wants to automatically create a new CodePipeline pipeline when a new microservice repository is created in CodeCommit. What is the most automated implementation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 3SDLC Automation
A company needs to create a CodePipeline that automatically deploys infrastructure changes when a CloudFormation template is modified in CodeCommit. What is the pipeline structure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 4SDLC Automation
A company's CodePipeline fails at the Deploy stage. The team wants to get detailed error messages from the CodeDeploy deployment. Where is this information found?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 5SDLC Automation
A company uses Jenkins integrated with AWS CodeDeploy. When a Jenkins build succeeds, it calls the CodeDeploy API to deploy. Jenkins is being deprecated and they want to replace it with CodePipeline while keeping CodeDeploy. What is the migration approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 6SDLC Automation
A company wants their entire CI/CD infrastructure (CodePipeline, CodeBuild projects, IAM roles, S3 buckets) to be provisioned via Infrastructure as Code. What is the RECOMMENDED approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 7SDLC Automation
A team runs security scans in their CodePipeline. They want the pipeline to automatically fail if a critical vulnerability is found in a container image before deployment. Which action implements this automated quality gate?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 8Resilient Cloud Solutions
A team uses CodePipeline to deploy changes to multiple regions. They want automatic rollback across all regions if a canary deployment fails within 5 minutes. Which approach implements this automated cross-region rollback?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 9Security and Compliance
A DevOps team wants to scan CloudFormation templates in their CodeBuild pipeline to reject templates that create overly permissive IAM roles. Which AWS-native tool provides rule-based CloudFormation template validation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 10SDLC Automation
A DevOps team uses CodePipeline to deploy a Lambda function. After deployment they want to automatically run integration tests against the new function. If tests fail, the pipeline should roll back. What is the CORRECT implementation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 11SDLC Automation
A company has a CodePipeline that builds a Docker image and pushes to ECR, then deploys to ECS. They want to ensure only images with no CRITICAL vulnerabilities are deployed. How should this be enforced?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 12SDLC Automation
A team needs to run automated browser-based UI tests as part of their pipeline. Tests require a full browser environment. Which CodeBuild configuration supports this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 13SDLC Automation
A team uses CodePipeline with three stages: Source, Build, Deploy. They want different AWS accounts for build and deploy (build in dev account, deploy in prod account). How should cross-account pipeline actions be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 14SDLC Automation
A company runs a multi-stage CodePipeline that should run in response to both code changes AND scheduled events (nightly builds). How should the pipeline be triggered?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 15SDLC Automation
A company uses GitHub for source control and CodePipeline for CI/CD. After connecting GitHub to CodePipeline, commits to the main branch should trigger the pipeline. What connection type is RECOMMENDED for new integrations?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 16SDLC Automation
A DevOps engineer needs to implement a deployment pipeline where the same pipeline artifact is deployed to dev, staging, and prod environments sequentially. What CodePipeline feature ensures each environment completes before the next begins?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 17Resilient Cloud Solutions
A company wants to implement multi-region deployments. Their CodePipeline pipeline currently deploys to us-east-1 only. What configuration extends deployment to a second region (eu-west-1)?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 18Monitoring and Logging
A company wants to monitor their CodePipeline pipeline's execution history and receive notifications when a deployment fails. What is the SIMPLEST implementation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 19SDLC Automation
A company runs microservices where each service has its own CodePipeline. They want to trigger a downstream service's pipeline when an upstream service completes its deployment. How should inter-pipeline dependencies be implemented?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 20SDLC Automation
A DevOps engineer needs to create reusable CodePipeline pipeline templates for 20 microservices. All pipelines follow the same pattern but differ in repository name and environment variables. What is the most maintainable approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 21SDLC Automation
A company uses Terraform for infrastructure provisioning. They want to integrate Terraform into CodePipeline. What is the CORRECT setup for running Terraform plan and apply in separate stages?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 22SDLC Automation
A team's pipeline fails intermittently due to CodeBuild builds timing out. The build downloads external packages that are sometimes slow. What is the BEST long-term solution?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 23SDLC Automation
A company wants to implement a pull request validation pipeline that checks code quality, security scanning, and unit tests. Results should be posted to the pull request as status checks. Which CodeBuild feature supports this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 24SDLC Automation
A company's CodePipeline source action uses an S3 bucket as the source. The pipeline should trigger when a new zip file is uploaded to a specific S3 key prefix. What enables this trigger?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 25SDLC Automation
A company wants to run performance/load tests as part of their CodePipeline after deploying to staging. If p99 latency exceeds 500ms, the pipeline should fail and not promote to production. What is the CORRECT implementation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 26SDLC Automation
A company needs to ensure the production CodePipeline can only be triggered by the release manager, not by code commits. How should this be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 27SDLC Automation
A company uses AWS CodeStar Connections to connect CodePipeline to a GitHub repository. The connection requires authorization. When is the authorization step required?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 28Incident and Event Response
A company wants to detect when their CodePipeline pipeline is stuck in a stage for more than 1 hour (potential hung deployment). What monitoring solution detects this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 29Security and Compliance
A team wants to ensure their CodePipeline pipeline cannot be disabled or modified by anyone other than the DevOps leads. What controls enforce this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 30SDLC Automation
A team has a CodePipeline that deploys to production. A deployment was successful but caused a performance regression. The team wants to automatically detect performance regressions in future deployments. What approach implements this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 31SDLC Automation
A company wants to create isolated test environments on demand using CodePipeline. Each test run should create its own CloudFormation stack, run tests, then destroy the stack. What CodePipeline action type supports creating and deleting CloudFormation stacks?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 32SDLC Automation
A company wants to ensure that changes to a production ECS service configuration (task definition, desired count) can only be made through CodePipeline. Direct console or CLI modifications should be prevented. What control implements this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 33SDLC Automation
A team's CodePipeline frequently fails because a production hotfix branch needs to bypass the normal release process. What CodePipeline configuration supports expedited hotfix deployments?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 34SDLC Automation
A company's build pipeline should be triggered by changes in multiple CodeCommit repositories. A shared library change in repo-A should trigger builds for all 10 services in their own repositories. What is the most scalable approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 35SDLC Automation
A team uses CodePipeline with GitHub source (via CodeStar Connection). A GitHub organization policy change revoked the CodeStar Connection app's access. The pipeline stops triggering. What is required to fix this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 36SDLC Automation
A company wants to implement testing for their CloudFormation templates using TaskCat. TaskCat deploys the template in multiple regions with different parameter configurations. How should this integrate with CodePipeline?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 37Security and Compliance
A company's CloudFormation deployment creates IAM policies. Security team requires that all IAM policies go through a review process. What CodePipeline control enforces human review of IAM changes?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 38Security and Compliance
A company uses AWS CodePipeline to deploy infrastructure changes. The security team requires that every pipeline execution is logged, including who triggered it, what changed, and the result. What provides this audit trail?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 39SDLC Automation
A company wants to implement contract testing between microservices. Consumer-driven contract tests should run in CI to ensure service changes don't break consumers. What approach integrates contract testing into CodePipeline?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 40SDLC Automation
A team uses AWS CodePipeline to deploy containerized applications. After a successful deployment to staging, a manual tester runs exploratory tests. If issues are found, how should the tester reject the deployment and prevent promotion to production?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 41SDLC Automation
A company's pipeline builds a Node.js application. They want to enforce code coverage thresholds: unit test coverage must be at least 80%. Builds failing the threshold should fail the pipeline. How is this implemented in CodeBuild?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 42SDLC Automation
A company's pipeline produces multiple artifacts (Docker image, Lambda zip, CloudFormation template). They need to store all artifacts and share them between pipeline stages. What is the correct CodePipeline configuration?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 43SDLC Automation
A company wants to run their CodePipeline in a highly regulated environment where all artifacts must stay within a specific AWS region. What configuration ensures artifacts don't leave the region?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 44SDLC Automation
A company's microservices each have independent CodePipeline pipelines. They want a dashboard showing the health of all pipelines simultaneously. What AWS tool provides this without custom development?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz - Question 45SDLC Automation
A company's CodePipeline deployment to production fails. After manual hotfix and resolution, they want to ensure the same pipeline is used to deploy the fix (not bypass the pipeline). What prevents bypassing the pipeline?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DOP-C02 Quiz
Key CI/CD Pipelines Concepts for DOP-C02
DOP-C02 CI/CD Pipelines Exam Tips
CI/CD Pipelines on AWS questions in DOP-C02 are typically scenario-based. Focus on CI/CD automation, reliability engineering, and feedback-driven operations. Priority concepts: cicd, codepipeline, codebuild, codedeploy, codecommit, pipeline.
What DOP-C02 Expects
- Anchor your answer in choose auditable, automated release and operations patterns with strong rollback readiness.
- CI/CD Pipelines scenarios for DOP-C02 are frequently mapped to Domain 1 (22%), Domain 2 (17%), so read the objective carefully before picking controls or architecture.
- Expect multi-topic scenarios where CI/CD Pipelines interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Professional) and vendor best practices.
High-Value CI/CD Pipelines Concepts
- Know the core CI/CD Pipelines building blocks cold: cicd, codepipeline, codebuild, codedeploy.
- Review the edge-case features and limits for codecommit, pipeline; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how CI/CD Pipelines pairs with Deployment Strategies, CloudFormation, Containers in real deployment patterns.
- For DOP-C02, explain why the chosen CI/CD Pipelines design meets reliability, security, and cost expectations better than the alternatives.
Common DOP-C02 Traps
- Watch for manual promotion and approval logic where pipeline automation is expected.
- Questions in SDLC Automation often include distractors that look correct for CI/CD Pipelines but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two CI/CD Pipelines implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to SDLC Automation (22%) outcomes for DOP-C02?
- Can you explain security and access boundaries for CI/CD Pipelines without relying on default-open assumptions?
- Can you describe how CI/CD Pipelines integrates with Deployment Strategies and CloudFormation during failure, scaling, and monitoring events?