Medium1 markMultiple Choice
Domain 2.1: Deployment StrategyDeploymentServerlessCI/CD

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

A team is building a CI/CD pipeline for a serverless application using AWS SAM. They need to ensure that deployments are automatically rolled back if the new Lambda function version has a high error rate. Which TWO services/features are required? (Select TWO)

Answer options:

A.

AWS CodeDeploy to manage the traffic shifting.

B.

Amazon CloudWatch Alarms to monitor the error rate.

C.

AWS CloudTrail to monitor API errors.

D.

AWS Systems Manager Parameter Store.

E.

AWS Config rules.

F.

AWS Step Functions.

How to approach this question

Identify the deployment orchestrator and the monitoring trigger.

Full Answer

AWS SAM uses AWS CodeDeploy under the hood to shift traffic gradually. CodeDeploy monitors Amazon CloudWatch Alarms to trigger automatic rollbacks if errors occur.

Common mistakes

Thinking CloudTrail monitors Lambda execution errors.

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

75 questions · hints · full answers · grading

More questions from this exam