SAP-C02 · Question #312
A company wants to run a serverless application on AWS. The company plans to provision its application in Docker containers running in an Amazon ECS cluster. The application requires a MySQL…
The correct answer is B. Create an ECS cluster using a fleet of Spot Instances, with Spot Instance draining enabled. This feature will enable ECS customers to safely manage any interruptions of ECS tasks running on Spot instances due to termination of the underlying EC2 Spot instance. Automated Spot Instance Draining will automatically place Spot instances in 揇RAINING?state upon the receipt…
Question
A company wants to run a serverless application on AWS. The company plans to provision its application in Docker containers running in an Amazon ECS cluster. The application requires a MySQL database and the company plans to use Amazon RDS. The company has documents that need to be accessed frequently for the first 3 months, and rarely after that. The document must be retained for 7 years. What is the MOST cost-effective solution to meet these requirements?
Options
- ACreate an ECS cluster using On-Demand Instances.
- BCreate an ECS cluster using a fleet of Spot Instances, with Spot Instance draining enabled.
- CCreate an ECS cluster using On-Demand Instances.
- DCreate an ECS cluster using a fleet of Spot Instances with Spot Instance draining enabled.
How the community answered
(46 responses)- A9% (4)
- B50% (23)
- C13% (6)
- D28% (13)
Explanation
This feature will enable ECS customers to safely manage any interruptions of ECS tasks running on Spot instances due to termination of the underlying EC2 Spot instance. Automated Spot Instance Draining will automatically place Spot instances in 揇RAINING?state upon the receipt of two minute interruption notice. https://aws.amazon.com/ec2/spot/containers-for-less/get-started/ https://aws.amazon.com/ec2/spot/instance-advisor/
Community Discussion
No community discussion yet for this question.