AWS Certified Developer – Associate — Question 13
A developer has a stateful web server on-premises that is being migrated to AWS. The developer must have greater elasticity in the new design.
How should the developer re-factor the application to make it more elastic? (Choose two.)
Answer options
- A. Use pessimistic concurrency on Amazon DynamoDB.
- B. Use Amazon CloudFront with an Auto Scaling group.
- C. Use Amazon CloudFront with an AWS Web Application Firewall.
- D. Store session state data in an Amazon DynamoDB table.
- E. Use an ELB with an Auto Scaling group.
Correct answer: D, E
Explanation
Option D is correct because storing session state data in Amazon DynamoDB allows for scalable and managed session management, which enhances elasticity. Option E is also correct as using an ELB with an Auto Scaling group enables the application to automatically adjust capacity based on demand. Options A, B, and C do not directly contribute to the elasticity of the application in the context of session management and scaling.