Question #1202
A company is developing a real-time analytics platform that must process fluctuating data loads efficiently. The company aims to reduce server maintenance and ensure the platform is highly available with automatic scaling of both read and write operations. Which solution meets these requirements?
Host static assets in Amazon S3. Process dynamic requests using Amazon API Gateway and AWS Lambda. Use Amazon DynamoDB with on-demand capacity for data storage. Utilize Amazon CloudFront for global content delivery.
Host static assets in Amazon S3. Process dynamic requests using Amazon API Gateway and AWS Lambda. Use Amazon Aurora with serverless configuration for data storage. Utilize Amazon CloudFront for global content delivery.
Deploy the entire platform on Amazon EC2 instances. Configure an Auto Scaling group to adjust EC2 capacity. Use an Application Load Balancer for traffic distribution. Store data in Amazon DynamoDB with provisioned throughput.
Deploy the entire platform on Amazon EC2 instances. Configure an Auto Scaling group to adjust EC2 capacity. Use an Application Load Balancer for traffic distribution. Store data in Amazon Aurora with Auto Scaling for the database.
Explanation
The correct answer is A because:
- Serverless Architecture: API Gateway and Lambda eliminate server management and auto-scale dynamically.
- DynamoDB On-Demand: Automatically scales read/write capacity without provisioning, ideal for unpredictable workloads.
- Managed Services: S3 and CloudFront ensure high availability and global content delivery.
Other options are incorrect because:
- B: Aurora Serverless scales but is SQL-based and may have slower scaling than DynamoDB for real-time needs.
- C/D: EC2 requires server maintenance, and DynamoDB with provisioned throughput (C) lacks auto-scaling. Aurora (D) is less suited for high-speed read/write than DynamoDB.
Key Points: Use serverless services (Lambda, DynamoDB on-demand) for auto-scaling and reduced maintenance in real-time systems.
Answer
The correct answer is: A