SAP-C02 · Question #647
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
The correct answer is C. Use Auto Scaling groups for the backend services. Use DynamoDB auto scaling.. To provide a scalable application architecture for peak seasons with the least development effort, use Auto Scaling groups for the backend EC2 services and enable DynamoDB auto scaling for the datastore.
Question
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?
Options
- AMigrate the backend services to AWS Lambda. Increase the read and write capacity of
- BMigrate the backend services to AWS Lambda. Configure DynamoDB to use global tables.
- CUse Auto Scaling groups for the backend services. Use DynamoDB auto scaling.
- DUse Auto Scaling groups for the backend services. Use Amazon Simple Queue Service (Amazon
How the community answered
(43 responses)- A2% (1)
- B9% (4)
- C74% (32)
- D14% (6)
Why each option
To provide a scalable application architecture for peak seasons with the least development effort, use Auto Scaling groups for the backend EC2 services and enable DynamoDB auto scaling for the datastore.
Migrating backend services to AWS Lambda involves significant development effort to re-architect the application, which goes against the 'least development effort' requirement.
Migrating backend services to AWS Lambda involves significant development effort, and DynamoDB global tables are primarily for multi-region replication and high availability, not the primary solution for single-region peak load scalability.
Using Auto Scaling groups for the backend EC2 instances automatically adjusts the number of servers to handle increased traffic during peak seasons with minimal configuration, and enabling DynamoDB auto scaling automatically manages the read and write capacity units to match varying demand, directly addressing slow traffic with the least development effort for an existing setup.
While Auto Scaling groups for EC2 are correct, introducing Amazon SQS for decoupling read and write operations requires application-level changes and development effort to integrate the queue, making it less 'least development effort' than simply enabling auto-scaling on existing services.
Concept tested: EC2 Auto Scaling, DynamoDB Auto Scaling, scalability patterns
Source: https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-auto-scaling.html, https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
Community Discussion
No community discussion yet for this question.