Q59 — AWS SAA-C03 Ch.1
Question 59 of 65 | ← Chapter 1
Q59. A company runs a web-based portal that provides users with global breaking news, local alerts, and weather updates.The portal delivers each user a personalized view by using a mixture of static and dynamic content. Content is served over HTTPS through an API server running on an Amazon EC2 instance behind an Application Load Balancer (ALB).The company wants the portal to provide this content to its users across the world as quickly s possible. How should a solutions architect design the application to ensure the LEAST amount of latency for all users?
- A. Deploy the application stack in a ingle AWS RegionUse Amazon CloudFront to serve all static and dynamic content by specifying the ALB as an origin ✓
- B. Deploy the application stack in two AWS RegionsUse an Amazon Route 53 latency routing policy to serve all content from the ALB in the closest Region.
- C. Deploy the application stack in a single AWS RegionUse Amazon CloudFront to serve the static contentServe the dynamic content directly from the ALB.
- D. Deploy t e application stack in two AWS RegionsUse an Amazon Route 53 geolocation routing policy to serve all content from the ALB in the closest Region.
Correct Answer: A. Deploy the application stack in a ingle AWS RegionUse Amazon CloudFront to serve all static and dynamic content by specifying the ALB as an origin
Explanation
I apologize for the confusion in my previous response. To ensure the least amount of latency for all users accessing the web-based portal, the solutions architect should design the application using option A: Deploy the application stack in a single AWS Region. Use Amazon CloudFront to serve all static and dynamic content by specifying the ALB as an origin. Here's why this option provides the least latency: 1. Single AWS Region: Deploying the application stack in a single AWS Region reduces the network latency that can occur when serving content from multiple regions. By keeping all components within the same region, the data transfer between the components is minimized, resulting in lower latency. 2. Amazon CloudFront for static and dynamic content: Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations worldwide. By specifying the ALB as the origin for CloudFront, the static and dynamic content can be served from the edge location closest to the user, reducing latency. CloudFront automatically caches and delivers the content from the nearest edge location, resulting in faster content delivery. Option B, deploying the application stack in two AWS Regions and using Route 53 latency routing policy, can help distribute traffic based on the closest region, but it introduces additional complexity and potentially higher latency due to cross-region communication. Option C, deploying the application stack in a single AWS Region and using CloudFront for static content, but serving dynamic content directly from the ALB, may introduce higher latency for dynamic content since it would not benefit from CloudFront's caching and edge location delivery. Option D, deploying the application stack in two AWS Regions and using Route 53 geolocation routing policy, may not always direct users to the closest region, as geolocation routing is based on the user's IP address, which doesn't always accurately reflect their physical location. Therefore, option A (deploying the application stack in a single AWS Region, using CloudFront to serve all static and dynamic content) provides the least amount of latency for all users accessing the web-based portal.