AWS Certified Solutions Architect Professional SAP-C02 Practice Question
A global media company runs a dynamic web application on EC2 instances behind Application Load Balancers (ALBs) in multiple AWS Regions. The application provides real-time, personalized news feeds and requires session affinity to maintain user context during a visit. Users in geographic locations far from the AWS Regions report high latency and inconsistent application performance. A solutions architect must design a solution that provides a low-latency, reliable connection path for global users and preserves session affinity with the backend application servers. Which AWS service should be used as the primary component to meet these requirements?
Place AWS Global Accelerator in front of the regional ALBs and configure client affinity.
Use Amazon Route 53 with a latency-based routing policy pointing to the regional ALBs.
Configure an Amazon CloudFront distribution with the ALBs as origins and forward all session cookies.
Implement AWS Transit Gateway with inter-region peering to connect the regional VPCs.
The correct answer is to use AWS Global Accelerator. This service is specifically designed to improve the performance and availability of global applications by routing user traffic over the highly available and congestion-free AWS global network. It provides static anycast IP addresses that act as a fixed entry point, and it directs traffic to the optimal endpoint based on health, client location, and configured policies. Critically for this scenario, Global Accelerator supports client affinity, which ensures that requests from a specific user are consistently routed to the same endpoint to maintain session state.
Incorrect Answers:
Amazon CloudFront: While CloudFront is excellent for delivering static and dynamic web content with low latency by caching it at edge locations, it is primarily a content delivery network (CDN). For stateful applications requiring optimized network paths and session affinity for non-cacheable dynamic content, Global Accelerator is the more suitable primary solution because it focuses on optimizing the network path itself rather than just caching.
Amazon Route 53 with latency-based routing: This solution operates at the DNS level, directing users to the region with the lowest latency at the time of the DNS query. However, it does not improve the performance of the actual data path over the public internet. Global Accelerator, in contrast, ingresses traffic onto the AWS global network at the nearest edge location, providing a more reliable and performant path from the user to the application.
AWS Transit Gateway with inter-region peering: Transit Gateway is a network transit hub used to interconnect VPCs and on-premises networks. It is a solution for simplifying backend network topology and does not address the performance of traffic between end-users on the internet and the application endpoints.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AWS Global Accelerator and how does it improve application performance?
Open an interactive chat with Bash
How does client affinity work in AWS Global Accelerator?
Open an interactive chat with Bash
Why is AWS Global Accelerator better suited for dynamic content compared to CloudFront?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access