AWS Certified Solutions Architect – Professional (SAP-C02) — Question 470

A company needs to improve the reliability of its ticketing application. The application runs on an Amazon Elastic Container Service (Amazon ECS) cluster. The company uses Amazon CloudFront to serve the application. A single ECS service of the ECS cluster is the CloudFront distribution’s origin.

The application allows only a specific number of active users to enter a ticket purchasing flow. These users are identified by an encrypted attribute in their JSON Web Token (JWT). All other users are redirected to a waiting room module until there is available capacity for purchasing.

The application is experiencing high loads. The waiting room module is working as designed, but load on the waiting room is disrupting the applications availability.
This disruption is negatively affecting the application's ticket sale transactions.

Which solution will provide the MOST reliability for ticket sale transactions during periods of high load?

Answer options

Correct answer: C

Explanation

Option C is correct because offloading the JWT parsing and routing logic to a CloudFront function at the edge prevents excess waiting-room traffic from reaching the backend container instances. By decoupling the waiting room into its own ECS service with independent scaling, the system ensures that high waiting-room traffic does not compete for resources with the core ticketing service. Options A, B, and D are less effective because they still require the primary ticketing application container to handle and route the initial high-volume traffic, exposing it to potential resource exhaustion.