High Availability and Scaling Flashcards

1
Q

Do any other service have auto scaling other than EC2?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When auto scaling. Is it best to have the AMI pre loaded with installs or do them in the user data?

A

Preloading the AMI if faster so it is better.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Should you spread your autoscaling group over multiple AZ’s?

A

Yes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What AWS service would you use if you need to have a resource that cant be scaled be able to automatically recover from failure?

A

Steady state group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you create a highly available application using EC2 Auto Scaling?

A

Define multiple AZs in your Auto Scaling group.

Documentation: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-groups.html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What tool can be used to notify you of scaling events?

A

SNS

Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you automatically register EC2 instances with an ELB load balancer when they are launched?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If you need to change the AMI included in a launch template, what should you do?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You would select _____ capacity for a DynamoDB table with a predictable workload.

A

Provisioned

Documentation:
https://aws.amazon.com/dynamodb/pricing/provisioned/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Amazon _____ is the most common service used to trigger a scaling event in an EC2 Auto Scaling group.

A

CloudWatch

Documentation:
https://repost.aws/knowledge-center/autoscaling-policy-cloudwatch-alarm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What setting in your Amazon EC2 Auto Scaling group determines how many instances you need online right now?

A

Desired capacity

Documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-capacity-limits.html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What RDS database engine offers a serverless scaling option?

A

Aurora

Documentation:
https://aws.amazon.com/rds/aurora/serverless/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What should you add to your RDS database to help with a read-heavy workload?

A

Read replicas

Documentation:
https://aws.amazon.com/rds/features/read-replicas/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of capacity should be selected for a DynamoDB table with a sporadic workload?

A

On-Demand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly