AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 123

A company is developing a new application. The application uses AWS Lambda functions for its compute tier. The company must use a canary deployment for any changes to the Lambda functions. Automated rollback must occur if any failures are reported.

The company’s DevOps team needs to create the infrastructure as code (IaC) and the CI/CD pipeline for this solution.

Which combination of steps will meet these requirements? (Choose three.)

Answer options

Correct answer: B, C, F

Explanation

Option B is correct as it utilizes AWS SAM with configurations for canary deployments, which fulfills the deployment requirement. Option C is also correct as it sets up a CodePipeline and CodeBuild project to handle the deployment process. Option F is valid because it creates alarms for each Lambda function to monitor for errors, ensuring automated rollback can occur. Options A, D, and E do not fully meet the specified requirements for deployment and monitoring.