SAP-C02 Question 145
Select 4A company is building a new e-commerce platform that must handle unpredictable traffic spikes during major sales events. The platform must provide low latency for global users, support automatic scaling, and ensure high availability. Additionally, the company wants to keep operational overhead to a minimum. Which combination of solutions should be implemented?
- A
Use Amazon CloudFront with an S3 bucket configured as the origin for static content delivery.
- B
Deploy the application on an Auto Scaling group of EC2 instances in a single Availability Zone.
- C
Use Amazon RDS Multi-AZ for the database to ensure high availability.
- D
Deploy the application using AWS Lambda behind an API Gateway for a serverless architecture.
- E
Use Amazon DynamoDB with on-demand capacity mode for the database layer.
Show answer and explanation
Correct answers: A, C, D, E
Explanation
The correct combination of solutions addresses the key requirements: low latency, automatic scaling, high availability, and minimal operational overhead. Amazon CloudFront ensures low latency for global static content delivery, while AWS Lambda and API Gateway provide a serverless architecture that scales automatically. Amazon RDS Multi-AZ ensures high availability for relational databases, and DynamoDB with on-demand capacity supports unpredictable workloads with minimal operational effort. The option of deploying EC2 instances in a single Availability Zone was excluded because it does not meet the high availability requirement.
- A. Correct.
Amazon CloudFront is a global content delivery network (CDN) that caches content at edge locations, ensuring low latency for global users. It is suitable for static content delivery and contributes to meeting the low-latency requirement.
- B. Incorrect.
Deploying the application on an Auto Scaling group of EC2 instances in a single Availability Zone does not meet the high availability requirement, as it creates a single point of failure.
- C. Correct.
Amazon RDS Multi-AZ provides high availability for relational databases by maintaining a standby copy in a separate Availability Zone. This aligns with the high availability requirement.
- D. Correct.
Using AWS Lambda behind API Gateway enables a serverless architecture that automatically scales based on demand, reducing operational overhead and handling traffic spikes effectively.
- E. Correct.
Amazon DynamoDB with on-demand capacity mode is ideal for handling unpredictable workloads, as it automatically adjusts capacity to traffic patterns and minimizes operational complexity.