AWS Certified Solutions Architect – Professional (SAP-C02) — Question 528
A company that provisions job boards for a seasonal workforce is seeing an increase in traffic and usage. The backend services run on a pair of Amazon EC2 instances behind an Application Load Balancer with Amazon DynamoDB as the datastore. Application read and write traffic is slow during peak seasons.
Which option provides a scalable application architecture to handle peak seasons with the LEAST development effort?
Answer options
- A. Migrate the backend services to AWS Lambda. Increase the read and write capacity of DynamoDB.
- B. Migrate the backend services to AWS Lambda. Configure DynamoDB to use global tables.
- C. Use Auto Scaling groups for the backend services. Use DynamoDB auto scaling.
- D. Use Auto Scaling groups for the backend services. Use Amazon Simple Queue Service (Amazon SQS) and an AWS Lambda function to write to DynamoDB.
Correct answer: C
Explanation
Implementing Auto Scaling groups for the existing EC2 instances and enabling DynamoDB auto scaling requires only configuration changes, representing the least development effort. Migrating the backend services to AWS Lambda as suggested in Options A and B, or introducing a queueing mechanism with SQS and Lambda in Option D, would require significant code refactoring and development time. Therefore, leveraging native scaling features for the current infrastructure is the most efficient path forward.