SAA-C03 - Design Resilient Architectures (26% of the exam) - Section 2.2

Design scalable application integration using Amazon API Gateway, load balancers and container orchestration.

Describe Amazon API Gateway as a managed entry point for REST, HTTP, and WebSocket APIs that handles throttling, authentication, and request transformation without managing servers. Distinguish when to place an Application Load Balancer in front of containerised Amazon ECS tasks versus using API Gateway, based on protocol, routing complexity, and the need for native AWS service integrations.

Amazon API GatewayApplication Load BalancerAmazon ECSMicroservices

Practice question for this objective

Free sampleDesign Resilient Architecturesmedium

A team is building a new public HTTP backend that only needs simple proxy routing to AWS Lambda functions, JWT authorisation against an existing OpenID Connect provider, and the lowest possible per-request cost and latency. It does not need request or response transformation, API keys with usage plans, or private VPC link integrations. Which Amazon API Gateway choice best fits these requirements?

  • ABuild a REST API and attach a Lambda authoriser that calls the OpenID Connect provider on every request to validate the incoming token.
  • BBuild a WebSocket API and validate the OpenID Connect token in the connect route before allowing the client to invoke any Lambda function.
  • CBuild an HTTP API with a built-in JWT authoriser pointing at the OpenID Connect provider and Lambda proxy integrations for the routes. Correct
  • DBuild a REST API as a private endpoint behind a VPC link and rely on the resource policy to restrict which callers may reach each method.
Choose API Gateway HTTP APIs for low-cost, low-latency proxy routing with native JWT authorisation and no advanced transformation needs. HTTP APIs are the leaner API Gateway type: they support Lambda proxy integrations and a built-in JWT authoriser that validates tokens from an OIDC or OAuth provider, while costing less and adding less latency per request than REST APIs, which carry features this workload does not use.

Why A is wrong: A REST API with a Lambda authoriser would work, but REST APIs cost more per request and add the authoriser invocation latency the simpler option avoids.

Why B is wrong: WebSocket APIs target persistent two-way messaging, not stateless request-response HTTP, so they add needless complexity for a simple proxy backend.

Why C is correct: HTTP APIs offer native JWT authorisers and Lambda proxy routes at lower cost and latency than REST APIs, matching every stated requirement directly.

Why D is wrong: A private REST API plus VPC link adds the private integration the team explicitly does not need and still carries the higher REST per-request price.

See more SAA-C03 practice questions, answers explained.

Exam traps in Design Resilient Architectures

Answers that look right on this material and are not. Each one is a distractor from a different question in the SAA-C03 bank for this domain.

  • Attach an internet gateway to the private subnets and point the API Gateway integration at the ECS tasks' public IP addresses.

    Why it is wrong: Adding an internet gateway and public IPs would expose the containers to the internet, which directly contradicts the requirement to keep them private.

  • Increase the single task's CPU and memory reservation so one larger task can absorb the rising load without adding tasks.

    Why it is wrong: Vertical scaling of one task is tempting for load, but a single task in one zone is still lost entirely if that zone fails and cannot scale in when load drops.

  • Deploy a separate Network Load Balancer for each microservice and use Amazon Route 53 weighted records to send clients to the matching balancer by hostname.

    Why it is wrong: Three Network Load Balancers plus weighted DNS is more components than needed and NLB operates at layer 4, so it cannot route on the URL path the requirement specifies.

Examworthy is not affiliated with or endorsed by Amazon Web Services. Original, blueprint-aligned practice material only.