SAA-C03 · Question #613
A company hosts its enterprise resource planning (ERP) system in the us-east-1 Region. The system runs on Amazon EC2 instances. Customers use a public API that is hosted on the EC2 instances to…
The correct answer is B. Set up an Amazon CloudFront distribution in front of the API. Configure the CachingOptimized. To improve API response times for international customers accessing an ERP system hosted on EC2 in us-east-1 most cost-effectively, an Amazon CloudFront distribution should be set up in front of the API.
Question
A company hosts its enterprise resource planning (ERP) system in the us-east-1 Region. The system runs on Amazon EC2 instances. Customers use a public API that is hosted on the EC2 instances to exchange information with the ERP system. International customers report slow API response times from their data centers. Which solution will improve response times for the international customers MOST cost-effectively?
Options
- ACreate an AWS Direct Connect connection that has a public virtual interface (VIF) to provide
- BSet up an Amazon CloudFront distribution in front of the API. Configure the CachingOptimized
- CSet up AWS Global Accelerator. Configure listeners for the necessary ports. Configure endpoint
- DUse AWS Site-to-Site VPN to establish dedicated VPN tunnels between Regions and customer
How the community answered
(30 responses)- A10% (3)
- B83% (25)
- C3% (1)
- D3% (1)
Why each option
To improve API response times for international customers accessing an ERP system hosted on EC2 in us-east-1 most cost-effectively, an Amazon CloudFront distribution should be set up in front of the API.
AWS Direct Connect provides a dedicated private network connection between an on-premises data center and AWS, which is an expensive solution not suitable for optimizing public API access for general international internet users.
Setting up an Amazon CloudFront distribution in front of the API improves response times for international customers by caching API responses at edge locations globally, reducing latency and offloading the origin EC2 instances, making it a highly cost-effective solution for global content delivery.
While AWS Global Accelerator optimizes the network path for global traffic, for an API where caching frequently accessed responses is possible, CloudFront offers more significant performance improvements and is often more cost-effective due to its caching capabilities.
AWS Site-to-Site VPN establishes secure private network connections, typically for connecting an on-premises network to a VPC, and is not designed to improve public API response times for general international internet customers.
Concept tested: Global content delivery, CDN for APIs, CloudFront for performance
Source: https://aws.amazon.com/cloudfront/features/
Community Discussion
No community discussion yet for this question.