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

A company ingests and processes streaming market data. The data rate is constant. A nightly process that calculates aggregate statistics is run, and each execution takes about 4 hours to complete. The statistical analysis is not mission critical to the business, and previous data points are picked up on the next execution if a particular run fails.
The current architecture uses a pool of Amazon EC2 Reserved Instances with 1-year reservations running full time to ingest and store the streaming data in attached Amazon EBS volumes. On-Demand EC2 instances are launched each night to perform the nightly processing, accessing the stored data from NFS shares on the ingestion servers, and terminating the nightly processing servers when complete. The Reserved Instance reservations are expiring, and the company needs to determine whether to purchase new reservations or implement a new design.
Which is the most cost-effective design?

  • A. Update the ingestion process to use Amazon Kinesis Data Firehose to save data to Amazon S3. Use a fleet of On-Demand EC2 instances that launches each night to perform the batch processing of the S3 data and terminates when the processing completes.
  • B. Update the ingestion process to use Amazon Kinesis Data Firehouse to save data to Amazon S3. Use AWS Batch to perform nightly processing with a Spot market bid of 50% of the On-Demand price.
  • C. Update the ingestion process to use a fleet of EC2 Reserved Instances behind a Network Load Balancer with 3-year leases. Use Batch with Spot instances with a maximum bid of 50% of the On-Demand price for the nightly processing.
  • D. Update the ingestion process to use Amazon Kinesis Data Firehose to save data to Amazon Redshift. Use an AWS Lambda function scheduled to run nightly with Amazon CloudWatch Events to query Amazon Redshift to generate the daily statistics.
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
donathon
Highly Voted 3 years, 8 months ago
B A: On demand instances is more expensive. B: Since the analysis is not mission critical and can be restarted, spot instances is cheaper. C: EC2 is more expensive. D: Compared to B Lambda should be cheaper to Batch using spot instances which ultimately still charges based on EC2 pricing. But critical thing is Lambda cannot go beyond 15 minutes of execution time. So it is more for simple processing and in this case it is not. It takes 4 hours. https://www.simform.com/aws-lambda-vs-ec2/ https://aws.amazon.com/about-aws/whats-new/2018/10/aws-lambda-supports-functions-that-can-run-up-to-15-minutes/ https://aws.amazon.com/batch/faqs/?nc=sn&loc=5
upvoted 47 times
hammad
3 years, 8 months ago
Application on EC2 takes 4 hours and lambda does not require to take 4 hours. since it is not mission critical it can recollect even it fails. So D is correct.
upvoted 1 times
rcher
3 years, 7 months ago
And its ok if the processing keep failing cause its Lambda? Might as well dont implement the solution if its not even working.
upvoted 4 times
...
...
AWSPro24
3 years, 8 months ago
With the new Spot pricing model you don't set a spot bid only a "Maximum Bid" as in choice C. Thoughts? https://aws.amazon.com/blogs/compute/new-amazon-ec2-spot-pricing/
upvoted 2 times
...
...
DalianYifang
Highly Voted 3 years, 8 months ago
Ans is B to me
upvoted 9 times
DalianYifang
3 years, 8 months ago
Never mind, Amazon Redshift is the correct ans.
upvoted 6 times
awsdog
3 years, 8 months ago
Isn't B cheaper than d?
upvoted 1 times
...
IsaacTeh
3 years, 8 months ago
do you think lambda can run 4 hours?
upvoted 7 times
gaukhar
3 years, 8 months ago
D. EC2 takes 4 hours, Redshift is meant for aggregate queries like the one mentioned in the question and as a result can run much faster than 4 hours. This is where real life experience would have come in handy. Ultimately the question is badly worded.
upvoted 1 times
...
...
AWSum1
3 years, 7 months ago
Redshift can't be cheaper than Batch on spot? I'm looking at the question and whats jumping out to me is reproducible workloads and cost. So on that thought I'm gonna say B
upvoted 2 times
...
...
...
mrgreatness
Most Recent 2 years, 7 months ago
I would say B as it mentions "and previous data points are picked up on the next execution if a particular run fails." so if no spots instances avail one night its not a critical issue, as about cost saving this solution given in B works for me
upvoted 1 times
...
Ni_yot
2 years, 8 months ago
Selected Answer: B
B for sure.
upvoted 1 times
...
epomatti
2 years, 9 months ago
Selected Answer: B
It's B - Firehose is infinitely cheaper than EC2 and it fits the use case. Lambda cannot run for 4h, limit is 15 min.
upvoted 1 times
...
kangtamo
2 years, 11 months ago
Selected Answer: B
Agree with B: Spot instance.
upvoted 2 times
...
cldy
3 years, 6 months ago
B. Update the ingestion process to use Amazon Kinesis Data Firehouse to save data to Amazon S3. Use AWS Batch to perform nightly processing with a Spot market bid of 50% of the On-Demand price.
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
my answer is B, Lambda is only valid for 15 min
upvoted 2 times
...
andypham
3 years, 7 months ago
Definitely B is correct ! Lambda can not execute 4 hours job.
upvoted 1 times
...
andylogan
3 years, 7 months ago
It's B
upvoted 1 times
...
nisoshabangu
3 years, 7 months ago
Naswe is B
upvoted 2 times
...
zolthar_z
3 years, 7 months ago
The answer is B, remember that lambda has a timeout for 15minutes. Redshift could improve the process but this exam is based in the given information and they put the 4 Hours time for a reason,
upvoted 2 times
...
digimaniac
3 years, 7 months ago
unfortunately, the answer is D. this implies that Redshift can do a much better job of aggregating stats than the home brew solution, which takes 4 hours. Redshift is a data warehouse with some adv. data processing horsepower.
upvoted 3 times
...
WhyIronMan
3 years, 7 months ago
I'll go with B
upvoted 3 times
...
Pupu86
3 years, 7 months ago
I wish to negate answer B as it says Kinesis Firehouse however it is the only option with spot instance in this non-time sensitive & "re-doable" scenario. So my answer still stick with B
upvoted 4 times
...
wind
3 years, 7 months ago
B is correct.
upvoted 1 times
...
Kian1
3 years, 7 months ago
only B
upvoted 3 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 ...