SAA-C03 exam dumps

SAA-C03 practice question 202 of 553

AWS Certified Solutions Architect - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAA-C03 Question 202

Single answer

A company is hosting a web application that serves dynamic content to users. The application is deployed across multiple Availability Zones for high availability. The company wants to distribute incoming traffic based on the URL path (e.g., '/images/' should route to one set of instances, and '/api/' should route to another set of instances). Which AWS service configuration is the MOST suitable for this requirement?

  1. A

    Use an Application Load Balancer (ALB) with path-based routing rules.

  2. B

    Use a Network Load Balancer (NLB) with listener rules for URL paths.

  3. C

    Deploy an Auto Scaling group in each Availability Zone and manage traffic distribution using Route 53.

  4. D

    Use an Application Load Balancer (ALB) with host-based routing rules.

Show answer and explanation

Correct answer: A

Explanation

The most suitable solution for routing traffic based on URL paths is an Application Load Balancer (ALB) with path-based routing rules. ALB operates at the application layer (Layer 7) and supports advanced routing features like path-based and host-based routing. This makes it ideal for dynamic content routing scenarios like the one described in the question.

  • A. Correct.

    Correct. An Application Load Balancer (ALB) supports path-based routing, making it the ideal choice for routing traffic based on URL paths.

  • B. Incorrect.

    Incorrect. A Network Load Balancer (NLB) operates at the transport layer (Layer 4) and does not support advanced routing features like path-based routing.

  • C. Incorrect.

    Incorrect. While Auto Scaling groups and Route 53 can provide high availability, they do not handle routing traffic based on URL paths.

  • D. Incorrect.

    Incorrect. Host-based routing is used to route traffic based on the domain or subdomain in the request, not URL paths. This does not meet the requirement.

Timed practice exam

Take a SAA-C03 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam