nerdexam
Amazon

SOA-C02 · Question #10

A SysOps Administrator runs a web application that is using a microservices approach whereby different responsibilities of the application have been divided in a separate microservice running on a…

The correct answer is C. Use an Application Load Balancer (ALB) and do path-based routing. An Application Load Balancer (ALB) natively supports path-based routing (e.g., /api/users → Service A, /api/orders → Service B), making it the purpose-built, low-overhead solution for routing HTTP/HTTPS traffic to different EC2 instances based on URL path - no custom logic…

Submitted by suresh_in· Mar 30, 2026Networking and Content Delivery

Question

A SysOps Administrator runs a web application that is using a microservices approach whereby different responsibilities of the application have been divided in a separate microservice running on a different Amazon EC2 instance. The administrator has been tasked with reconfiguring the infrastructure to support this approach. How can the administrator accomplish this with the LEAST administrative overhead?

Options

  • AUse Amazon CloudFront to log the URL and forward the request.
  • BUse Amazon CloudFront to rewrite the header based on the microservice and forward the
  • CUse an Application Load Balancer (ALB) and do path-based routing.
  • DUse a Network Load Balancer (NLB) and do path-based routing.

How the community answered

(54 responses)
  • A
    7% (4)
  • B
    17% (9)
  • C
    72% (39)
  • D
    4% (2)

Explanation

An Application Load Balancer (ALB) natively supports path-based routing (e.g., /api/users → Service A, /api/orders → Service B), making it the purpose-built, low-overhead solution for routing HTTP/HTTPS traffic to different EC2 instances based on URL path - no custom logic required.

Why the distractors are wrong:

  • A & B (CloudFront): CloudFront is a CDN designed for content delivery and caching, not microservice routing. Using it for URL-based forwarding to EC2 services adds unnecessary complexity and cost for a purely internal routing problem.
  • D (NLB): A Network Load Balancer operates at Layer 4 (TCP/UDP) and has no awareness of HTTP paths - it cannot perform path-based routing at all, only port/IP-based routing.

Memory tip: Think "ALB = Application layer = Aware of URLs." Whenever you see HTTP path routing, microservices, or content-based routing in an exam question, ALB is almost always the answer. NLB is for raw TCP speed/performance, not smart HTTP routing.

Topics

#Microservices#Application Load Balancer (ALB)#Path-based routing#Load Balancing

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice