
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A global company hosts its web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The web application has static data and dynamic data. The company stores its static data in an Amazon S3 bucket. The company wants to improve performance and reduce latency for the static data and dynamic data. The company is using its own domain name registered with Amazon Route 53.
What should a solutions architect do to meet these requirements?
A
Create an Amazon CloudFront distribution that has the S3 bucket and the ALB as origins. Configure Route 53 to route traffic to the CloudFront distribution.
B
Create an Amazon CloudFront distribution that has the ALB as an origin. Create an AWS Global Accelerator standard accelerator that has the S3 bucket as an endpoint. Configure Route 53 to route traffic to the CloudFront distribution.
C
Create an Amazon CloudFront distribution that has the S3 bucket as an origin. Create an AWS Global Accelerator standard accelerator that has the ALB and the CloudFront distribution as endpoints. Create a custom domain name that points to the accelerator DNS name. Use the custom domain name as an endpoint for the web application.
D
Create an Amazon CloudFront distribution that has the ALB as an origin. Create an AWS Global Accelerator standard accelerator that has the S3 bucket as an endpoint. Create two domain names. Point one domain name to the CloudFront DNS name for dynamic content. Point the other domain name to the accelerator DNS name for static content. Use the domain names as endpoints for the web application.
Explanation:
Correct Answer: A
Why Option A is correct:
Why other options are incorrect:
Option B: This approach unnecessarily introduces AWS Global Accelerator for static content. Global Accelerator is designed for improving performance of non-HTTP applications or applications that require static IP addresses. For static content in S3, CloudFront is the optimal solution.
Option C: This approach is overly complex and inefficient. Using Global Accelerator with CloudFront as an endpoint doesn't provide additional benefits for static content delivery and adds unnecessary complexity.
Option D: This approach creates a fragmented architecture with two separate endpoints, which would require the application to handle different domains for different content types. This breaks the user experience and adds complexity to the application logic.
Key AWS Services Used:
Best Practice: Using a single CloudFront distribution with multiple origins and behaviors is the most efficient way to serve both static and dynamic content through a single endpoint while optimizing performance for each content type.