
Answer-first summary for fast verification
Answer: Implementing gradual deployment capabilities directly through AWS SAM templates., Configuring deployment preferences in AWS SAM templates with a Canary strategy directing 10% of traffic for 30 minutes, including the use of hooks for deployment testing.
The correct answers are C and D. Enabling gradual deployments through AWS SAM templates (C) allows the development team to progressively introduce changes while minimizing the risk of errors impacting the whole system. Setting the deployment preference type to Canary10Percent30Minutes and using hooks to test the deployment (D) ensures that a small percentage of traffic is gradually directed to the new updates, providing a safe testing environment before a full rollout. This combination aligns with the requirement to test a small percentage of traffic before committing to a full deployment.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a microservices application with AWS Lambda functions, which AWS SAM template configurations are most operationally efficient for the development team to automatically test Lambda functions and gradually direct a small percentage of traffic to new updates before full deployment?
A
Utilizing AWS SAM CLI commands within AWS CodeDeploy for Lambda function invocation during testing.
B
Configuring EventInvokeConfig in AWS SAM templates for Lambda functions with settings for OnSuccess and OnFailure outcomes.
C
Implementing gradual deployment capabilities directly through AWS SAM templates.
D
Configuring deployment preferences in AWS SAM templates with a Canary strategy directing 10% of traffic for 30 minutes, including the use of hooks for deployment testing.
E
Applying a Linear deployment strategy in AWS SAM templates, directing 10% of traffic every 10 minutes, with hooks for deployment testing.