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
With ___________ Load Balancers, cross-zone load balancing is enabled by default
With **Application** Load Balancers, cross-zone load balancing is enabled by default
26
With Network Load Balancers and Gateway Load Balancers, cross-zone load balancing is _____ by \_\_\_\_\_\_
With Network Load Balancers and Gateway Load Balancers, cross-zone load balancing is **disabled by default**
27
Gateway Load Balancer listens for packets on which ports?
Listens for all IP Packets on all ports
28
Gateway Load Balancer are used with Virtual Appliances such as: (3)
Firewalls (IDS)/ (IPS) Deep packet inspection systems (DPI)
29
Application Load Balancers listeners check for connection requests from clients using the **\_\_\_\_\_\_\_\_\_** and **\_\_\_\_** you configure
Application Load Balancers listeners check for connection requests from clients using the **protocol** and **port** you configure
30
Application Load Balancers **\_\_\_\_** determine how to **\_\_\_\_** requests to its **\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_**
Application Load Balancers **rules** determine how to **route** requests to its **registered targets**
31
A limitation of Application Load Balancers is that they only support
HTTP and HTTPS
32
To use an **\_\_\_\_\_** listener with an Application Load Balancer, you must deploy at least one SSL/TLSS server **\_\_\_\_\_\_\_\_\_\_** on your load balancer
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
Classic Load Balancer gives you a 504 error: The gateway has **\_\_\_\_\_\_ \_\_\_** which means the application is not **\_\_\_\_\_\_\_\_\_\_** within the idle **\_\_\_\_\_\_\_** period
The gateway has **timed out,** which means the application is **not responding** within the idle **timeout** period
34
When using an internet-facing ELB, you need one ______ \_\_\_\_\_\_ in each ___ where the ELB is defined
When using an internet-facing ELB, you need one **public subnet** in each **AZ** where the ELB is defined
35
Sticky sessions enable your users to **\_\_\_\_\_\_** to the same **\_\_\_\_ \_\_\_\_\_\_\_\_\_** every time they connect
Sticky sessions enable your users to **stick** to the same **EC2 instance** every time they connect
36
If you remove an instance from a pool, but the (ELB) continues to direct traffic to that EC2 instance. What is the fix?
Disable sticky sessions
37
When Deregistration Delay is enabled existing **\_\_\_\_\_\_\_\_\_\_\_\_\_** will remain **\_\_\_\_** if the EC2 instance becomes **\_\_\_\_\_\_\_\_\_**
When Deregistration Delay is enabled existing **connections** will remain **open** if the EC2 instance becomes **unhealthy**
38
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 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
When Cross-Zone Load Balancing is **\_\_\_\_\_\_\_\_\_**, it only distributes traffic across the registered **\_\_\_\_\_\_\_** in its \_\_\_
When Cross-Zone Load Balancing is **disabled**, it only distributes traffic across the registered **targets** in its AZ
40
Group metrics is an Auto Scaling Monitoring feature that is **\_\_\_ \_\_\_\_\_\_\_** by default
Group metrics is an Auto Scaling Monitoring feature that is **not** **enabled** by default
41
What is the default time period for the Auto Scaling setting, known as Cooldowns?
The default value for the Auto Scaling setting, known as Cooldowns is **300 sec or 5 min**
42
When enabled what is the default time a lifecycle hook provides you?
When enabled what is the default time a lifecycle hook provides you? **1** **hour by default**
43
When Deregistration Delay is disabled existing **\_\_\_\_\_\_\_\_\_\_\_\_** is immediately **\_\_\_\_\_** if the EC2 instance becomes **\_\_\_\_\_\_\_\_\_\_**
When Deregistration Delay is disabled existing **connections** is immediately **closed** if the EC2 instance becomes **unhealthy**