20+ practice questions focused on SDLC Automation — one of the most tested topics on the AWS Certified DevOps Engineer Professional DOP-C02 exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start SDLC Automation PracticeA company uses AWS CodePipeline with a multi-branch strategy. A new feature branch triggers a pipeline that runs unit tests and deploys to a test environment. The deployment step uses AWS CodeDeploy with a deployment group configured for in-place deployment to Amazon EC2 instances. The deployment fails intermittently with the error 'The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.' The instances are healthy and pass health checks. What is the most likely cause?
Explanation: The error occurs when instances fail deployment, which can happen if the CodeDeploy agent is not running or crashing. Instances can be healthy at the EC2 level but unable to run deployments. Options A and C are not related. Option D is misleading because CodeDeploy queues deployments when one is already in progress, rather than failing with this error.
A DevOps team is designing a CI/CD pipeline for a microservices application. Each microservice has its own code repository and build artifacts. The team wants to use AWS CodePipeline with multiple parallel actions to build and test all microservices simultaneously. They also want to ensure that if one microservice's build fails, the pipeline does not block other microservices. Which THREE steps should the team take? (Choose THREE.)
Explanation: Using a parallel action group with separate build actions for each microservice allows simultaneous builds within a single pipeline, and failures in one action do not block others. Option B is correct because creating separate pipelines per microservice fully isolates failures, ensuring that a failure in one microservice does not affect the pipelines of other microservices. Option E is correct because setting the 'RunOrder' field to the same number for multiple build actions in a parallel group allows them to run concurrently. Options C and D are incorrect: C would block subsequent stages on failure, which is not desired; D uses sequential builds, which would slow down the pipeline and cause a single failure to block all.
A company uses AWS CodeBuild to compile a Java application. The buildspec.yml includes a 'pre_build' phase that runs SonarQube for static code analysis. The analysis requires access to a private SonarQube server hosted on an EC2 instance in the same VPC. The CodeBuild project is configured with a VPC ID, subnet IDs, and security group IDs. However, the build fails with a timeout when trying to connect to the SonarQube server. The security group for the SonarQube server allows inbound traffic on port 9000 from the CodeBuild security group. What is the MOST likely reason for the failure?
Explanation: The timeout indicates a network connectivity issue despite the security group being correctly configured. The CodeBuild project must be associated with subnets within the same VPC as the SonarQube server and have appropriate route tables to allow communication. If the subnets are incorrect (e.g., from a different VPC or with no route to the server), traffic cannot reach the server even if the security group allows it. Option B is incorrect because the security group rule is described as allowing traffic; the issue lies in subnet/routing configuration.
A company uses AWS CodePipeline with Amazon S3 as the source stage. The pipeline triggers on object creation events in the S3 bucket. The development team notices that the pipeline does not trigger when multiple files are uploaded simultaneously. What is the most likely cause?
Explanation: Amazon S3 event notifications can be filtered by prefix and suffix. If the filter is configured to only match objects with a specific prefix or suffix (e.g., `images/` or `.zip`), and the uploaded files do not match that filter, the event notification will not be sent to CodePipeline, causing the pipeline not to trigger. This is the most likely cause when the pipeline fails to trigger on simultaneous uploads, as the filter configuration is a common misconfiguration.
A DevOps engineer is managing a CI/CD pipeline using AWS CodePipeline with multiple stages: Source (CodeCommit), Build (CodeBuild), Test (CodeBuild), and Deploy (CodeDeploy). The engineer wants to add manual approval steps before the Test and Deploy stages. Additionally, the pipeline should automatically roll back the deployment if the Deploy stage fails. Which two actions should the engineer take to implement these requirements? (Choose two.)
Explanation: Manual approval actions in AWS CodePipeline must be added as a separate stage, not within an existing stage. By inserting a new stage between Build and Test and adding an Approval action, the pipeline pauses before the Test stage, allowing manual review. Option C is correct because CodeDeploy deployment groups support automatic rollback on deployment failure, which can be enabled in the deployment group configuration to revert to the last known good revision.
+15 more SDLC Automation questions available
Practice all SDLC Automation questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of SDLC Automation. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
SDLC Automation questions on the DOP-C02 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. SDLC Automation is tested as part of the AWS Certified DevOps Engineer Professional DOP-C02 blueprint. Practicing with targeted SDLC Automation questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free DOP-C02 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but SDLC Automation is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full SDLC Automation practice session with instant scoring and detailed explanations.
Start SDLC Automation Practice →