Optimizing API Latency with AWS Global Accelerator
Short answer
C Set up AWS Global Accelerator to distribute traffic via the AWS global network.
Question
Key Takeaways
Tests the distinction between CloudFront (content caching) and Global Accelerator (traffic routing), specifically highlighting that dynamic APIs require routing optimization rather than caching.
AWS Global Accelerator leverages the AWS global network to optimize traffic routing for international users, reducing latency compared to standard internet routing.
Common mistake: Candidates often select Amazon CloudFront because it is a common service for performance improvement, but fail to recognize that dynamic, non-cacheable ERP API traffic does not benefit from edge caching.
Expert Analysis
Why the Answer Is Correct
AWS Global Accelerator directs traffic to the optimal endpoint based on health and routing policies using the AWS global network's private backbone. For international customers accessing a single-region US-based API, this reduces latency by avoiding public internet congestion and providing consistent Anycast IP addresses. This solution is cost-effective as it avoids the high capital expenditure of Direct Connect for each customer.
Why the Other Options Are Wrong
Option A (Direct Connect) is impractical for a public API serving multiple international customers due to the high cost and complexity of provisioning individual connections. Option B (CloudFront) is designed for caching static or semi-static content; since ERP data is dynamic and frequently changing, caching would result in stale data or provide minimal benefit. Option D (Site-to-Site VPN) introduces encryption overhead and does not optimize routing paths across the public internet, offering no significant latency improvement over direct internet access.
Community Comment Notes
Community discussion highlights the critical nature of the API being dynamic. As user TewatiaAmit noted, "CloudFront can reduce response times by caching API responses, but if the API is dynamic... it may not be as effective." Another commenter, GOTJ, emphasized that "exchange information" implies write operations, making caching useless. While some users voted for CloudFront assuming HTTP acceleration, the consensus among experts is that Global Accelerator is the correct architectural choice for dynamic backend connectivity.
Exam Strategy
Always analyze whether the workload involves cacheable content. If the question specifies 'dynamic', 'real-time', or 'write' operations, rule out CloudFront and consider Global Accelerator for latency reduction.
Frequently Asked Questions
Why not use CloudFront for dynamic API acceleration?
Is Global Accelerator more expensive than Direct Connect?
Community Votes
59% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 11 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 11
-
TewatiaAmit 👍 11 Answered CCloudFront can reduce response times by caching API responses, but if the API is dynamic and not cacheable, it may not be as effective. Global Accelerator is better for improving latency when caching is not an option.
-
8621a7c 👍 10 Answered BCloudFront for Dynamic content (such as API acceleration and dynamic site delivery)
-
dragossky 👍 3 Answered CC. Set up AWS Global Accelerator. Configure listeners for the necessary ports. Configure endpoint groups for the appropriate Regions to distribute traffic. Create an endpoint in the group for the API.
-
LeonSauveterre 👍 2 Answered CA - Direct Connect requires dedicated connections for each customer, making it expensive and impractical for a public API. B - CloudFront improves performance but caching efficiency depends on the API use case. Dynamic & personalized API responses may not benefit significantly from caching. CloudFront is best suited for static content or APIs with predictable responses. C - Global Accelerator provides a global static IP address and uses the AWS global network to route traffic optimally, reducing latency for geographically distant users. Unlike CloudFront, it works well in this case because it doesn't rely on caching contents. D - VPNs are not ideal for public APIs because they require specific setup for each customer, so high operational overhead.
-
GOTJ 👍 2 Answered CI think that the following quote "to exchange information with the ERP system" suggest that the clients use the api not only to get, but to add and/or update ERP data. If this is the case, using a Cloudfront distribution for caching should be useless as the add/update operations must be performed by the ERP system itself. Option "C" approach is different: it's "forcing" users to access API ERP via AWS routing optimised networks by configuring the current API as an endpoint for the globally distributed endpoints groups (no need to duplicate current infrastructure or setup replication)
Show 6 more comments
-
tch 👍 1 Answered BHow is AWS Global Accelerator different from Amazon CloudFront? AWS Global Accelerator and Amazon CloudFront are separate services that use the AWS global network and its edge locations around the world. CloudFront improves performance for both cacheable content (such as images and videos) and dynamic content (such as API acceleration and dynamic site delivery). Global Accelerator improves performance for a wide range of applications over TCP or UDP by proxying packets at the edge to applications running in one or more AWS Regions. Global Accelerator is a good fit for non-HTTP use cases, such as gaming (UDP), IoT (MQTT), or Voice over IP, as well as for HTTP use cases that specifically require static IP addresses or deterministic, fast regional failover. Both services integrate with AWS Shield for DDoS protection
-
Anyio 👍 1 Answered CThe correct answer is C. Explanation: Option C: Correct. AWS Global Accelerator provides access via the AWS global network, reducing latency and improving performance for globally distributed users. By using Global Accelerator, you can direct global traffic to optimal AWS endpoints, offering lower latency and better connectivity compared to standard internet routing. It achieves this without modifying the API infrastructure, making it a highly cost-effective solution for improving API response times for international users.
-
FlyingHawk 👍 1 Answered BGiven that the ERP system is hosted in us-east-1 and the API is likely HTTP/HTTPS-based, Option B (Amazon CloudFront) is the best solution. CloudFront’s global edge network and caching capabilities will significantly improve response times for international customers while reducing the load on the backend EC2 instances.
-
joanna91 👍 1 Answered CC. AWS global accelerator is more suitable for cost-effective solutions to improve API respons time for int'l users by using AWS global network to optimize traffic routing. Whereas, D. AWS Cloudfront is less effective for dynamic, real-time API interactions like this ERP system.
-
tch 👍 1 Answered BMOST cost-effectively - (ERP) system in the us-east-1 Region (one region only) will be B AWS Global Accelerator use case for one or multiple AWS regions!
-
DhirajBansal 👍 1 Answered BCloudfront used for API acceleration and Dynamic content delivery
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →