Exam SAP-C01 All QuestionsBrowse all questions from this exam
Question 903

A solutions architect is designing a data processing system that will use Amazon EC2 instances. Data that needs to be processed will wait in an Amazon Simple

Queue Service (Amazon SQS) queue. At least two data processing instances must run at all times.

Which combination of actions will meet these requirements MOST cost-effectively? (Choose two.)

    Correct Answer: A, B

    The most cost-effective and reliable combination of actions is to purchase two Reserved Instances and to create a Spot Fleet with an appropriate scaling policy. Reserved Instances ensure that at least two instances are always running, satisfying the requirement of maintaining a minimum of two processing instances. The Spot Fleet, configured with a target scaling policy based on the acceptable backlog per instance, allows for cost-effective scaling by using lower-cost Spot Instances for additional capacity when needed. This allows the system to handle varying workloads efficiently while keeping costs down.

Discussion
pinhead900Options: BD

BD is right, 2 instances must run always so get RIs for that + spot fleet to compensate increased traffic

redipa

Both A and D will allow you to have 2 on-demand instances running full time (covered by the RIs bought in 'B') and scale with spot instances. The difference between the answers is the Spot fleet says it scales from the instance backlog while the ASG is scaling from the SQS queue. It's better to scale from the SQS queue, so I would choose B & D.

evargasbrzOptions: AB

I'll go with A and B. RI for 2 + Spots B and D make no sense. RI for nothing + Spots

ByrneyOptions: AB

AB because D is all spot which doesn't ensure there are always 2 instances are running. Also you need to actually have 2 on-demand instances running for the reserved instance discount in B to kick in - purchasing reserved instances alone doesn't result in anything running. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-reserved-instances.html Reserved Instances are not physical instances, but rather a billing discount applied to the use of On-Demand Instances in your account.

ggrodskiy

Correct ab

JesuisleonOptions: AB

D is wrong. If you choose B,D, then you have two reserved instances and auto scaling group which manages spot instances. So why you need set minimum value to 2 for the spot instances taking account that you already have two reserved instances. it should set to 0. So A and B are right

yama234

BD https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html#capacity-optimized-aws-cli

WhyIronManOptions: AB

A,B is optimal for costs, as D is fixing the autoscale to always have 2 other spots... so the reserved instances are for what?

3a632a3Options: AB

spot fleets allow you to select on demand capacity and set target tracking using CW metrics. "A" also specifies that target tracking is set to an acceptable backlog. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/on-demand-in-spot.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-target-tracking.html D is incorrect as you are setting the minimum value for spot to 2 rather than 0. It also states that scaling will be set to the size of the queue which I interpret as 1 instance to 1 message which seems a bit excessive and may be costly unless processing time per message is large.

rsnOptions: AC

AC gives the option of going for spot instances and the facility to launch EC2 incase of spot not being available. Purchasing reserved instances won't save cost in this case

rsn

my bad.. it must be BD

SkyZeroZxOptions: BD

BD is right, 2 instances must run always so get RIs for that + spot fleet to compensate increased traffic

dev112233xxOptions: BD

BD better than AB

hobokaboboOptions: BD

2 always available rest spot. D vrs A: D uses SQS for scaling which makes sense. We end up with 2 RI + Spot as needed and available.

hobokabobo

Its again wording and dicing for the answers... 2 RI plus rest spot and we probably want to utilize sqs queue length for scaling. Could be both: maybe AB, maybe BD. Dice it. One need to be psychic to know how to interpret the answers. Yes, order two RI to not used them makes no sense: exactly.

LrdKanien

The key word is "combination of actions" and "cost effectively". RIs for the 2 you must have and spot for the rest.

mrgreatness

BD 100%

sindraOptions: AB

D is not correct because the instance must be available anytime.. so A B is the preferable

ToanVN1988Options: AB

My choice is A&B