Medium1 markMultiple Choice
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)
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
Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
Expert