High Availability and Scaling Flashcards

1
Q

TRUE or FALSE?
Launch configurations support versioning.

A

FALSE
They are immutable.
Only launch templates support versioning

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

TRUE or FALSE?
Launch templates can be used to configure all autoscaling features.

A

TRUE
It’s launch configurations that only support some.

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

What are 4 things you can specify in a launch template?

A
  • AMI
  • Instance type
  • Security group
  • Networking info
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three autoscaling restriction settings?

A

Minumum, maximum, desired.

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

What’s one example for when would you use a scaling-out lifecycle hook?

A

For installing software.

i.e. you don’t want the instance to be in service before the software is properly installed.

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

What’s one example for when would you use a scaling-in lifecycle hook?

A

For capturing application logs.

i.e. so they are not lost when the instance shuts down.

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

What is a lifecycle hook?

A

A feature that allows you to put instances into a wait state, allowing you to perform tasks before the instance is put into service or before it is fully terminated.

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

TRUE or FALSE?
The autoscaling group config contains the VPC and subnets where the instances will live.

A

TRUE

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

What’s the difference between simple scaling and step scaling?

A

Step scaling provides more granular control.

It allows you to define multiple actions to take based on a range of metric values, rather than a single threshold.

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

What could happen if you don’t have a warm-up period in place?

A

You would get high instance churn, as instances are not ready, fail the health check, and get terminated.

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

What does a CoolDown period do?

A

It pauses autoscaling for a certain amount of time, to give the system time to adjust.

Helps prevent runaway scaling events.

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

TRUE or FALSE?
You can use Reserved Instances as the minimum count in an autoscaling group to save money.

A

TRUE

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

If an exam questions mentions an RDS database solution but with unpredictable workloads, think of…

A

Aurora Serverless

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

TRUE or FALSE?
RDS storage only scales up, not down.

A

TRUE

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

In the exam, a viable scaling option for a relational database is refactoring and…

A

changing to DynamoDB

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

TRUE or FALSE?
Standby RDS instances can be used for reads.

A

FALSE

17
Q

What are the two scaling options for DynamoDB?

A

Provisioned and On-Demand

18
Q

What is the most cost-effective scaling option for DynamoDB?

A

Provisioned

19
Q

What is the best scaling option for DynamoDB with an unpredictable workload?

A

On-Demand

20
Q

TRUE or FALSE?
With DynamoDB, you cannot switch between scaling options.

A

FALSE

You can, but only twice per 24 hours per table

21
Q

If EC2 instances in an autoscaling group are taking too long to provision, consider using…

A

Baked AMIs

22
Q

TRUE or FALSE?
Baked AMIs are better than using user data.

A

TRUE

23
Q

For questions that ask for a highly available solution for a legacy resource where there is only one instance, think of…

A

Steady state groups

i.e. the min, max, and desired are all set to 1

24
Q

To make sure EC2 instances in an autoscaling group are terminated and replaced when unhealthy, be sure to enable…

A

health checks on the load balancer.

25
Q

What are the four different types of disaster recovery strategies?

A
  • Backup and Restore
  • Pilot Light
  • Warm Standby
  • Active/Active Failover
26
Q

What is the default CoolDown period of an autoscaling policy?

A

300 seconds