A startup is building a new mobile application backend on AWS. The startup wants to focus on writing code and minimizing infrastructure management while automatically handling fluctuating user demands. Which two of the following design decisions align with AWS cloud design principles to achieve this? (Select TWO.)
- Deploy the application code on AWS Lambda to run without provisioning or managing serversAnswer
- Configure Amazon EC2 Auto Scaling to automatically adjust compute capacity based on live trafficAnswer
- CHost the web server, application logic, and database on a single large virtual machine to simplify network configuration
- DPre-provision a fixed, maximum number of compute instances to guarantee peak performance during all hours
- EPerform physical security checks and hardware maintenance on the host servers running the application
Answer
Deploying the application code on AWS Lambda to run without provisioning servers and configuring Amazon EC2 Auto Scaling to adjust capacity based on traffic are the correct answers.
The correct options are deploying application code on AWS Lambda and configuring Amazon EC2 Auto Scaling. AWS Lambda aligns with the 'services, not servers' design principle by eliminating server management tasks, while Auto Scaling aligns with the 'elasticity' principle by matching resource capacity to demand dynamically.
Step-by-Step Solution
Key Concept
AWS Cloud design principles including 'services, not servers' and 'elasticity'.