Elastic Load Balancing and Auto Scaling Flashcards

1
Q

Auto Scaling responds to EC2 ______ checks and ________ metrics

A

Auto Scaling responds to EC2 status checks and CloudWatch metrics

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

Auto-scaling can be scaled based on _____ or on a _____

A

Auto-scaling can scale based on demand on a schedule

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

_______ policies define how to respond to _______ in demand

A

Scaling policies define how to respond to changes in demand

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

Auto Scaling groups define collections of EC2 instances that are ______ and _________ together

A

Auto Scaling groups define collections of EC2 instances that are scaled and managed together

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

What are the health check options available to EC2 instances? (2)

A

EC2 status checks

ELB uses the ELB health checks in addition to EC2 status checks

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

Auto Scaling - Monitoring:

How long is the granularity with Basic monitoring?

Is this a free service or are you charged?

A

5 minute granularity

No charge

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

Auto Scaling - Monitoring:
How long is the granularity with Detailed monitoring?

Is this a free service or are you charged?

A
  • 1 minute granularity
  • Charges apply
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The Auto Scaling setting, known as Cooldowns, is used with a simple scaling policy to prevent Auto Scaling from __________ or ___________ instances before the effects of previous activities are _______.

A

The Auto Scaling setting, known as Cooldowns, is used with a simple scaling policy to prevent Auto Scaling from launching or terminating instances before the effects of previous activities are visible.

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

The Auto Scaling setting, known as Termination Policy, defines which instances to _________ first when a ______-__ event occurs

A

The Auto Scaling setting, known as Termination Policy, defines which instances to terminate first when a scale-in event occurs

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

The Auto Scaling setting, known as Termination Protection, prevents Auto Scaling from terminating ________ ________

A

The Auto Scaling setting, known as Termination Protection, prevents Auto Scaling from terminating protected instances

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

What is the reason for placing an instance from the “InService” state into the “Standby” state?

A

To update or troubleshoot the instance

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

Additional Scaling Settings:

A _________ ____ provides a specified amount of time to wait for the action to complete before the instance can _________ to the ____ _____

A

A lifecycle hook provides a specified amount of time to wait for the action to complete before the instance can transition to the next state

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

ELB Distributes incoming application traffic across multiple targets: What are they? (4)

A
  • Amazon EC2 Instances
  • Containers
  • IP Addresses
  • Lambda functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ELB Provides _____ _________ for applications

A

ELB Provides Fault tolerance for applications

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

ELB distributes incoming traffic to a _____ __ or ________ __

A

ELB distributes incoming traffic to a Single AZ or Multiple AZs

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

In ELB, only ___ ______ per AZ can be enabled for each ELB

A

In ELB, only one subnet per AZ can be enabled for each ELB

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

Auto Scaling - Monitoring:

Group ______ provides data about the Auto Scaling Group (ASG).

A

Group metrics provide data about the Auto Scaling Group (ASG).

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

To ensure that your load balancer can scale properly, verify that each Availability Zone has a /___ subnet and at least __ IP addresses per subnet

A

To ensure that your load balancer can scale properly, verify that each Availability Zone has a /27 subnet and at least 8 IP addresses per subnet

19
Q

ELB can be Internet facing or ____-____

A

Internal-only

20
Q

Internet-facing ELB nodes have ______ IPs that Route traffic to ______ IP addresses of the EC2 instances

A

Internet-facing ELB nodes have public IPs that Route traffic to private IP addresses of the EC2 instances

21
Q

________ only ELB nodes routes traffic to the ________ IP addresses of the EC2 instances

A

Internal only ELB nodes routes traffic to the private IP addresses of the EC2 instances

22
Q

Application Load Balancer Use Cases: (2)

A
  • Microservices architectures (e.g. Docker containers)
  • Lambda targets
23
Q

Gateway Load Balancer operates at which layer of the OSI model?

A
  • Layer 3/ Networking
24
Q

When Cross-Zone Load Balancing is enabled each load balancer ____ distributes traffic across all enabled ___

A

When Cross-Zone Load Balancing is enabled each load balancer node distributes traffic across all enabled AZs

25
Q

With ___________ Load Balancers, cross-zone load balancing is enabled by default

A

With Application Load Balancers, cross-zone load balancing is enabled by default

26
Q

With Network Load Balancers and Gateway Load Balancers, cross-zone load balancing is _____ by ______

A

With Network Load Balancers and Gateway Load Balancers, cross-zone load balancing is disabled by default

27
Q

Gateway Load Balancer listens for packets on which ports?

A

Listens for all IP Packets on all ports

28
Q

Gateway Load Balancer are used with Virtual Appliances such as: (3)

A

Firewalls
(IDS)/ (IPS)
Deep packet inspection systems (DPI)

29
Q

Application Load Balancers listeners check for connection requests from clients using the _________ and ____ you configure

A

Application Load Balancers listeners check for connection requests from clients using the protocol and port you configure

30
Q

Application Load Balancers ____ determine how to ____ requests to its __________ _______

A

Application Load Balancers rules determine how to route requests to its registered targets

31
Q

A limitation of Application Load Balancers is that they only support

A

HTTP and HTTPS

32
Q

To use an _____ listener with an Application Load Balancer, you must deploy at least one SSL/TLSS server __________ on your load balancer

A

To use an HTTPS listener with an Application Load Balancer, you must deploy at least one SSL/TLSS server certificate on your load balancer

33
Q

Classic Load Balancer gives you a 504 error:

The gateway has ______ ___ which means the application is not __________ within the idle _______ period

A

The gateway has timed out, which means the application is not responding within the idle timeout period

34
Q

When using an internet-facing ELB, you need one ______ ______ in each ___ where the ELB is defined

A

When using an internet-facing ELB, you need one public subnet in each AZ where the ELB is defined

35
Q

Sticky sessions enable your users to ______ to the same ____ _________ every time they connect

A

Sticky sessions enable your users to stick to the same EC2 instance every time they connect

36
Q

If you remove an instance from a pool, but the (ELB) continues to direct traffic to that EC2 instance. What is the fix?

A

Disable sticky sessions

37
Q

When Deregistration Delay is enabled existing _____________ will remain ____ if the EC2 instance becomes _________

A

When Deregistration Delay is enabled existing connections will remain open if the EC2 instance becomes unhealthy

38
Q

A use case for a lifecycle hook would be to run a script to download and install software after _________

or

  • Pause an instance to process data before a _____-__
A

A use case for a lifecycle hook would be to run a script to download and install software after launching

or

  • Pause an instance to process data before a scale-in(termination)
39
Q

When Cross-Zone Load Balancing is _________, it only distributes traffic across the registered _______ in its ___

A

When Cross-Zone Load Balancing is disabled, it only distributes traffic across the registered targets in its AZ

40
Q

Group metrics is an Auto Scaling Monitoring feature that is ___ _______ by default

A

Group metrics is an Auto Scaling Monitoring feature that is
not enabled by default

41
Q

What is the default time period for the Auto Scaling setting, known as Cooldowns?

A

The default value for the Auto Scaling setting, known as Cooldowns is 300 sec or 5 min

42
Q

When enabled what is the default time a lifecycle hook provides you?

A

When enabled what is the default time a lifecycle hook provides you? 1 hour by default

43
Q

When Deregistration Delay is disabled existing ____________ is immediately _____ if the EC2 instance becomes __________

A

When Deregistration Delay is disabled existing connections is immediately closed if the EC2 instance becomes unhealthy