ELB & AGS Flashcards

1
Q

ELB vs ASG

A

“ELB - distributes the traffic load across available target groups.
ASG - increases or decreases the number of available instances in a group as per the scaling policy.”

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

On ASG what is the launch configuration?

A

The template used to launch EC2 instances such as AMI, type, key pair, etc

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

When can you modify a launch configuration?

A

only upon creating it. You can use an existing launch configuration as the basis for a new launch configuration.

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

What are the default metric types for an ASG?

A
"Application load balancer request count per target
Average CPU Utilization
Average Network in (and out)
Disk reads in (and out)
Disk read operations (and writes)"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When does an unhealthy EC2 get spun down and replaced?

A

After the ELB health check completes and the health check grace period expires

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

What is the ASG default termination policy?

A

“Most EC2s with at least one that is not protected
> tie looks for the oldest launch configuration
> tie goes to the next closest billing hour
> tie goes to random between these”

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

What are the target health status’s?

A

“initial - load balancer is regerstering the target or performing initinal health check
healthy - target is healthy
unhealthy - target did not respond to a health check or failed one
unused - target is not registered with a target group, the group is not used ina listener rule of target in AZ not enabled for ELB
draining - target is deregistered and connection draining in progress”

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

What can cause unhealthy status?

A
"a security group does not allow traffic
a NACL does not allow traffic
the ping path does not exist
the connection times out
the target did not return a successful response code"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the application load balancer feature?

A

“ELB feature
Allows developer to configure and route incoming end-user traffic to applications based in the AWS public cloud, pushed across multiple targets in multiple AZs
Cross-zone load balancing is always enabled”

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

What is the cross-zone load balancing feature?

A

Allows work loads to be balanced across multiple AZs via nodes that are established in each AZ

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

What monitoring features can you use with ELB?

A

“CloudWatch metrics
Access Logs
Request tracking
CloudTrail Logs”

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

With what identifier do you register a target with an ELB?

A

“instance - identified by instance ID(different than the ARN)
ip - specified by the IP address of the resource”

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

ELB vs ALB

A

“ELB - routes to a particular pool of homogeneous servers

ALB - routes to unique servers based on the content of the request”

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

Auto scaling groups default wait period?

A

adding lifecycle hooks to an auto scaling group puts the instance into a weight State before termination. during this way to State you can perform custom activities the default wait period is 1 hour.

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

what is an auto scaling group cooldown timer

A

a designated time so the scaling activity may be able to fully take effect and finish its process

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

keywords for ASG scaling policies

A

“Target - alarm event
step - logic
scheduled scale - schedule”

17
Q

Design protocol for availability in a natural disaster situation

A

“Route to other regions if one goes out

it is not enough to backup data within the same region”

18
Q

What happens when to policies are executed simultaneously?

A

“Auto scaling follows the policy with the greater impact

if one creates 2 instances and one creates 4, it will implement the policy that creates 4 instances”