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 903 discussion

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.)

  • A. Create a Spot Fleet with a target scaling policy that targets the acceptable backlog per instance. Request two On-Demand Instances for minimum capacity. Use Spot Instances for additional capacity.
  • B. Purchase two Reserved Instances for the target platform and instance type in the target AWS Region.
  • C. Create On-Demand Capacity Reservations for two instances for the target platform and instance type in the target AWS Region.
  • D. Create an Auto Scaling group that uses Spot Instance requests. Configure the scaling policy to scale with the size of the SQS queue. Set the minimum value to 2.
  • E. Provision two Dedicated Hosts. Configure AWS Batch to use Spot Instances to supply additional capacity.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
pinhead900
Highly Voted 2 years, 7 months ago
Selected Answer: BD
BD is right, 2 instances must run always so get RIs for that + spot fleet to compensate increased traffic
upvoted 13 times
...
WhyIronMan
Most Recent 9 months, 3 weeks ago
Selected Answer: 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?
upvoted 1 times
...
3a632a3
1 year, 3 months ago
Selected Answer: 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.
upvoted 1 times
...
rsn
1 year, 8 months ago
Selected Answer: 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
upvoted 1 times
rsn
1 year, 8 months ago
my bad.. it must be BD
upvoted 1 times
...
...
ggrodskiy
1 year, 9 months ago
Correct ab
upvoted 2 times
...
SkyZeroZx
1 year, 9 months ago
Selected Answer: BD
BD is right, 2 instances must run always so get RIs for that + spot fleet to compensate increased traffic
upvoted 1 times
...
Jesuisleon
1 year, 11 months ago
Selected Answer: 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
upvoted 2 times
...
dev112233xx
2 years ago
Selected Answer: BD
BD better than AB
upvoted 1 times
...
yama234
2 years ago
BD https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html#capacity-optimized-aws-cli
upvoted 2 times
...
hobokabobo
2 years, 1 month ago
Selected Answer: 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.
upvoted 1 times
hobokabobo
2 years, 1 month ago
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.
upvoted 1 times
...
...
evargasbrz
2 years, 4 months ago
Selected Answer: AB
I'll go with A and B. RI for 2 + Spots B and D make no sense. RI for nothing + Spots
upvoted 3 times
...
LrdKanien
2 years, 5 months ago
The key word is "combination of actions" and "cost effectively". RIs for the 2 you must have and spot for the rest.
upvoted 1 times
...
mrgreatness
2 years, 5 months ago
BD 100%
upvoted 1 times
...
Byrney
2 years, 5 months ago
Selected Answer: 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.
upvoted 3 times
...
sindra
2 years, 6 months ago
Selected Answer: AB
D is not correct because the instance must be available anytime.. so A B is the preferable
upvoted 1 times
...
ToanVN1988
2 years, 6 months ago
Selected Answer: AB
My choice is A&B
upvoted 1 times
...
redipa
2 years, 6 months ago
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.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago