AWS Solutions Architect Associate Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the AWS Solutions Architect Associate Test with our engaging quizzes. Utilize flashcards and multiple-choice questions, each with hints and explanations to enhance your understanding. Get exam-ready today!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What could be a cause for timing out when accessing an EC2 instance through a load balancer's DNS name?

  1. Load balancer in public subnet with IGW

  2. Instances lack private IP addresses

  3. Security groups or ACLs misconfigured

  4. Load balancer in private subnet

The correct answer is: Security groups or ACLs misconfigured

The cause of timing out when accessing an EC2 instance through a load balancer's DNS name can often be attributed to issues with security groups or network ACLs (Access Control Lists). These elements control the inbound and outbound traffic to the EC2 instances and load balancers, and if they are misconfigured, they can prevent successful communication. For example, if the security group attached to the load balancer does not allow incoming traffic on the expected ports (like HTTP or HTTPS), or if the security group for the EC2 instances does not allow traffic from the load balancer, clients will not be able to connect to the instances through the load balancer, resulting in a timeout. In contrast, if a load balancer is placed in a public subnet with an Internet Gateway (IGW), it would typically have the ability to route traffic from the internet to the instances, assuming proper configurations are in place. Instances can have private IP addresses and still be accessible if routing and security settings allow it, and having a load balancer in a private subnet is not inherently an issue, provided that the architecture is designed correctly with appropriate routing and security rules to allow access. Thus, issues with security groups or ACLs are key factors when it comes to connectivity