High Availability and Scaling Flashcards
Do any other service have auto scaling other than EC2?
No
When auto scaling. Is it best to have the AMI pre loaded with installs or do them in the user data?
Preloading the AMI if faster so it is better.
Should you spread your autoscaling group over multiple AZ’s?
Yes.
What AWS service would you use if you need to have a resource that cant be scaled be able to automatically recover from failure?
Steady state group
How can you create a highly available application using EC2 Auto Scaling?
Define multiple AZs in your Auto Scaling group.
Documentation: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-groups.html
What tool can be used to notify you of scaling events?
SNS
Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html
How can you automatically register EC2 instances with an ELB load balancer when they are launched?
Attaching the load balancer to an Auto Scaling group
When you use Elastic Load Balancing with your Auto Scaling group, it’s not necessary to register individual EC2 instances with the load balancer. Instances that are launched by your Auto Scaling group are automatically registered with the load balancer. Likewise, instances that are terminated by your Auto Scaling group are automatically deregistered from the load balancer
Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
If you need to change the AMI included in a launch template, what should you do?
Create a new version of the launch template with the updated AMI.
Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
You would select _____ capacity for a DynamoDB table with a predictable workload.
Provisioned
Documentation:
https://aws.amazon.com/dynamodb/pricing/provisioned/
Amazon _____ is the most common service used to trigger a scaling event in an EC2 Auto Scaling group.
CloudWatch
Documentation:
https://repost.aws/knowledge-center/autoscaling-policy-cloudwatch-alarm
What setting in your Amazon EC2 Auto Scaling group determines how many instances you need online right now?
Desired capacity
Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-capacity-limits.html
What RDS database engine offers a serverless scaling option?
Aurora
Documentation:
https://aws.amazon.com/rds/aurora/serverless/
What should you add to your RDS database to help with a read-heavy workload?
Read replicas
Documentation:
https://aws.amazon.com/rds/features/read-replicas/
What type of capacity should be selected for a DynamoDB table with a sporadic workload?
On-Demand