Hard1 markMultiple Choice

AWS SAP-C02 · Question 11 · Domain 2.1: Deployment Strategy

A company is designing a CI/CD pipeline for a microservices application deployed on Amazon EKS. The pipeline must support automated testing, container image scanning for vulnerabilities before deployment, and a deployment strategy that shifts traffic gradually to the new version while monitoring error rates. If errors exceed 1%, the deployment must automatically roll back. Which combination of services and features should be used? (Select THREE)

Answer options:

A.

Use AWS CodePipeline to orchestrate the workflow, integrating with AWS CodeBuild for testing and building images.

B.

Use Amazon ECR image scanning to detect vulnerabilities upon image push.

C.

Use AWS CodeDeploy with a canary deployment configuration and CloudWatch alarms for automated rollback.

D.

Use AWS Elastic Beanstalk immutable updates to deploy the new containers and monitor health.

E.

Use AWS CloudTrail to monitor the application error rates and trigger an AWS Lambda function to roll back.

F.

Use AWS Systems Manager Patch Manager to scan the container images for vulnerabilities.

How to approach this question

Select the native AWS developer tools that handle orchestration, container scanning, and advanced deployment strategies.

Full Answer

Use AWS CodePipeline to orchestrate the workflow, integrating with AWS CodeBuild for testing and building images., Use Amazon ECR image scanning to detect vulnerabilities upon image push., Use AWS CodeDeploy with a canary deployment configuration and CloudWatch alarms for automated rollback.
A modern CI/CD pipeline on AWS uses CodePipeline for orchestration. ECR provides native image scanning to catch vulnerabilities early. CodeDeploy handles the complex deployment logic, allowing for canary deployments (shifting traffic gradually) and automatic rollbacks if CloudWatch alarms (e.g., error rates > 1%) are triggered.

Common mistakes

Selecting Elastic Beanstalk when the target is explicitly stated as EKS.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5

75 questions · hints · full answers · grading

More questions from this exam