exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 680 discussion

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?

  • A. Create an ECS cluster using On-Demand Instances. Provision the database and its read replicas in Amazon RDS using Spot Instances. Store the documents in an encrypted EBS volume, and create a cron job to delete the documents after 7 years.
  • B. Create an ECS cluster using a fleet of Spot Instances, with Spot Instance draining enabled. Provision the database and its read replicas in Amazon RDS using Reserved Instances. Store the documents in a secured Amazon S3 bucket with a lifecycle policy to move the documents that are older than 3 months to Amazon S3 Glacier, then delete the documents from Amazon S3 Glacier that are more than 7 years old.
  • C. Create an ECS cluster using On-Demand Instances. Provision the database and its read replicas in Amazon RDS using On-Demand Instances. Store the documents in Amazon EFS. Create a cron job to move the documents that are older than 3 months to Amazon S3 Glacier. Create an AWS Lambda function to delete the documents in S3 Glacier that are older than 7 years.
  • D. Create an ECS cluster using a fleet of Spot Instances with Spot Instance draining enabled. Provision the database and its read replicas in Amazon RDS using On-Demand Instances. Store the documents in a secured Amazon S3 bucket with a lifecycle policy to move the documents that are older than 3 months to Amazon S3 Glacier, then delete the documents in Amazon S3 Glacier after 7 years.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
liono
Highly Voted 3 years, 8 months ago
B seems to be correct, spot instances for ECS cluster and Reserved instances for RDB
upvoted 16 times
kirrim
3 years, 7 months ago
Agree, more info: A with RDS on spot instances is automatically ruled out B is feasible by using a "Diversified" allocation strategy when setting up the Spot provisioning ECS cluster C is feasible but more expensive to do RDS on-demand instances than RDS RI as in B, and uses EFS instead of S3 to store the documents, not as cost effective D is feasible but more expensive to do RDS on-demand instances than RDS RI as in B https://aws.amazon.com/ec2/spot/containers-for-less/get-started/ https://aws.amazon.com/ec2/spot/instance-advisor/
upvoted 2 times
...
...
Ebi
Highly Voted 3 years, 7 months ago
B for sure
upvoted 6 times
...
Amsa
Most Recent 2 years, 7 months ago
Selected Answer: B
B is correct, straight from Don Bonso's test
upvoted 1 times
...
KiraguJohn
2 years, 10 months ago
I was skeptical of spot instance on ECS until i read this; Amazon Elastic Container Service (ECS) supports Automated Spot Instance Draining, a new capability that reduces service interruptions due to Spot termination for ECS workloads. 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.
upvoted 4 times
...
frankzeng
3 years, 4 months ago
https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-ecs-supports-automated-draining-for-spot-instances-running-ecs-services/
upvoted 3 times
...
cldy
3 years, 5 months ago
B is correct.
upvoted 1 times
...
Ni_yot
3 years, 5 months ago
B for me. you want to use reserved instances as its cost effective.
upvoted 2 times
...
vramchn
3 years, 6 months ago
B for sure
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
B Is right
upvoted 1 times
...
andylogan
3 years, 7 months ago
It's B
upvoted 1 times
...
tgv
3 years, 7 months ago
BBB ---
upvoted 1 times
...
Suresh108
3 years, 7 months ago
method of elimination - choosing B as answer. A and C are eliminated - due to cron usage D - eliminated due to on-demand instance where DB cost can be reduced by reserved instances (seems it needs to be run for several years).
upvoted 2 times
...
WhyIronMan
3 years, 7 months ago
I'll go with B
upvoted 2 times
...
Kopa
3 years, 7 months ago
B, AWS RDS Reserved instances more cost efficent as it says the company will operate more then 7 years.
upvoted 1 times
...
Waiweng
3 years, 7 months ago
it's B
upvoted 2 times
...
Kian1
3 years, 7 months ago
going with B
upvoted 2 times
...
kopper2019
3 years, 7 months ago
B is the correct one spot instances and Reserved for DB
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...