Exam 4 Flashcards
How would you gradually introduce a new Lambda version by routing 10% of the incoming traffic away from the older version?
Lambda Aliases
What protocols does an ALB support?
HTTP and Websocket
How would you track CPU utilization of EC2 instances that evaluate as frequently as every 10 seconds?
Create a high resolution custom metric and push the data using cron
What is the total size of the set of AWS Lambda environment variables you can create?
4KB
What deployment strategy would you use if you choose to stop instances and install the new application version?
In place deployment
What deployment strategy would you use if you choose to reroute traffic from your applications original environment to the new environment?
Blue/Green
Do EBS volumes support in flight encryption?
Yes
What 2 services rely on CloudFormation to provision resources?
- Step Function
- Elastic Beanstalk
What does the PutMetricData API allow you to do?
It allows you to publish Custom Metrics down to 1-second resolution
How would you allow auto-scaling based on metrics based on CPU utilization and incoming network traffic?
Create a Custom Metric in Cloudwatch and make your instances send data to it using PutMetricData. Create an alarm based on that metric.
What is the max SQS message retention?
14 days
What is the default SQS message retention?
4 days
If your API’s resources receive requests from a domain other than the API’s own domain and you want to restrict servicing these requests, what should you do?
Restrict CORS
How should you do to connect your AWS Lambda function to your RDS instance?
Deploy in a VPC and assign a security group
How would you send email notifications every time someone comments on a pull request for AWS CodeCommit
Cloudwatch Event Rules