Compute - Application Load Balancer Flashcards

1
Q

At which layer of the OSI model does the Application Load Balancer (ALB) operate?

A
  • Layer 7, the application layer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some examples of application processes or services offered by the application layer of the OSI model?

A
  • HTTP
  • FTP
  • SMTP
  • NFS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When is it recommended to use the Application Load Balancer (ALB)?

A
  • When you need a flexible feature set including advanced routing and visibility features.
  • When you are working with application architectures such as microservices and containers.
  • When using HTTP or HTTPS protocols.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a target group in the context of an ALB?

A
  • A group of resources that the ALB routes requests to.
  • Different target groups can be configured based on the nature of the requests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you configure a target group for an ALB?

A
  • Go to the EC2 service in the AWS Management Console.
  • Under the load balancing section, select “Target Groups.”
  • Click on “Create target group” and provide the necessary information such as name, target type, protocol, and VPC.
  • Configure health check settings if desired.
  • Add targets (instances) to the target group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can you create an Application Load Balancer (ALB)?

A
  • Go to the AWS Management Console and navigate to the load balancing section.
  • Select “Load Balancers” and click on “Create Load Balancer.”
  • Choose “Application Load Balancer.”
  • Provide a name and select the appropriate settings such as listener protocol and port.
  • Configure availability zones and security settings.
  • Select or create a target group.
  • Review the configuration and click on “Create.”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you customize traffic routing with ALB listeners?

A
  • In the ALB configuration, go to the “Listeners” tab.
  • View and edit the rules for the listener.
  • Add conditions such as source IP and specify actions, such as forwarding to different target groups, based on the conditions.
  • Rules allow for customized traffic routing based on specific criteria.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some additional options available when configuring an ALB?

A
  • Setting up target groups
  • Configuring security groups
  • Defining availability zones
  • Customizing traffic routing through listener rules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some monitoring options available for ALBs?

A
  • CloudWatch metrics associated with the ALB, such as the number of healthy and unhealthy hosts.
  • Monitoring metrics provide insights into the performance and health of the load balancer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What type of security considerations should be taken into account when configuring ALBs?

A
  • Consider using HTTPS for secure communication.
  • Set up appropriate security groups to control access to the load balancer.
  • Configure health checks to ensure the availability and health of target instances.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly