This quiz is part of the DevOpsTheHardWay course.

Please answer the quiz and click the "Test" button at the bottom right.

AWS - Elastic Load Balancer - multichoice questions

Question 1

You are designing the architecture for a web application that will be deployed on AWS. The application consists of multiple services running on Amazon EC2 instances. The services communicate over both HTTP and TCP protocols.

Which type of Elastic Load Balancer (ELB) would be most suitable for this scenario?

Question 2

In the security group of an ALB, port 80 is configured to be open for incoming traffic. However, in the security group of the EC2 instances hosting the application, port 80 is not allowed. The instance configured correctly as a target in the ALB.

Given this configuration, would a request to the ALB url, port 80, from a client to the application succeed?

Question 3

After experiencing a DDoS attack during the night, you discovered that your instances are accessed directly using their public IP addresses, allowing bypass the ALB that routes traffic to the instance.

How can you overcome this vulnerability (choose all possible)?

Question 4

You have set up an ALB to distribute incoming traffic across 2 instances. But when you test how is the load being balanced by performing requests from 15 different regions on the globe, you've noticed that requests are always routed to the same EC2 instance.

Which of the below best match the root cause?

Question 5

You are managing a web service that has two types of requests: short-lived requests that require quick response time, and heavy, long-lived requests that involve significant processing and take a longer time to be completed. The service runs on multiple instances behind an ALB.

There is a risk that the heavy, long-lived requests could potentially monopolize the resources of some instances, causing degradation in the performance and responsiveness of the short-lived requests.

Considering this scenario, which load balancing algorithm would be the preferred choice for distributing traffic to the instances?

license