
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 company wants to host a scalable web application on AWS. The application will be accessed by users from different geographic regions of the world. Application users will be able to download and upload unique data up to gigabytes in size. The development team wants a cost-effective solution to minimize upload and download latency and maximize performance.
What should a solutions architect do to accomplish this?
A
Use Amazon S3 with Transfer Acceleration to host the application.
B
Use Amazon S3 with CacheControl headers to host the application.
C
Use Amazon EC2 with Auto Scaling and Amazon CloudFront to host the application.
D
Use Amazon EC2 with Auto Scaling and Amazon ElastiCache to host the application.
Explanation:
Correct Answer: C - Use Amazon EC2 with Auto Scaling and Amazon CloudFront to host the application.
Why this is the best solution:
Global Content Delivery: Amazon CloudFront is a Content Delivery Network (CDN) that caches content at edge locations worldwide, which minimizes latency for users accessing the application from different geographic regions.
Scalability: EC2 with Auto Scaling ensures the web application can handle varying loads by automatically scaling instances up or down based on demand.
Large File Handling: The scenario mentions users uploading/downloading "unique data up to gigabytes in size." CloudFront can handle large file transfers efficiently, and EC2 instances can process the application logic and data storage integration.
Cost-effectiveness: CloudFront's pay-as-you-go pricing combined with EC2 Auto Scaling provides a cost-effective solution that scales with usage.
Why the other options are not optimal:
A. Amazon S3 with Transfer Acceleration: While S3 Transfer Acceleration helps with faster uploads to S3 buckets, it doesn't provide a complete web application hosting solution. S3 is primarily for static content storage, not dynamic web applications.
B. Amazon S3 with CacheControl headers: CacheControl headers help with caching but don't address the global distribution needs or provide a complete web application hosting platform.
D. Amazon EC2 with Auto Scaling and Amazon ElastiCache: ElastiCache is for in-memory caching (Redis/Memcached) which helps with database performance, but doesn't address the global latency issue for users in different geographic regions. CloudFront is specifically designed for global content delivery.
Key AWS Services Used:
This architecture provides a complete solution that addresses all requirements: scalability, global accessibility, large file handling, and cost-effectiveness.