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

A solutions architect needs to advise a company on how to migrate its on-premises data processing application to the AWS Cloud. Currently, users upload input files through a web portal. The web server then stores the uploaded files on NAS and messages the processing server over a message queue. Each media file can take up to 1 hour to process. The company has determined that the number of media files awaiting processing is significantly higher during business hours, with the number of files rapidly declining after business hours.
What is the MOST cost-effective migration recommendation?

  • A. Create a queue using Amazon SQS. Configure the existing web server to publish to the new queue. When there are messages in the queue, invoke an AWS Lambda function to pull requests from the queue and process the files. Store the processed files in an Amazon S3 bucket.
  • B. Create a queue using Amazon MQ. Configure the existing web server to publish to the new queue. When there are messages in the queue, create a new Amazon EC2 instance to pull requests from the queue and process the files. Store the processed files in Amazon EFS. Shut down the EC2 instance after the task is complete.
  • C. Create a queue using Amazon MQ. Configure the existing web server to publish to the new queue. When there are messages in the queue, invoke an AWS Lambda function to pull requests from the queue and process the files. Store the processed files in Amazon EFS.
  • D. Create a queue using Amazon SQS. Configure the existing web server to publish to the new queue. Use Amazon EC2 instances in an EC2 Auto Seating group to pull requests from the queue and process the files. Scale the EC2 instances based on the SQS queue length. Store the processed files in an Amazon S3 bucket.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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, 10 months ago
As the length of processing the files take 1 hour, Lambda seems to be out of question, then we are left with EC2 option, D seems to be correct as we are auto-scaling EC2
upvoted 34 times
...
Ebi
Highly Voted 3 years, 9 months ago
Answer is D
upvoted 7 times
...
hilft
Most Recent 3 years ago
keyword here is sqs length + asg
upvoted 1 times
...
bobsmith2000
3 years, 2 months ago
Selected Answer: D
Right by the book
upvoted 1 times
...
tyrk
3 years, 4 months ago
Selected Answer: D
DDDDDDDDDDDD
upvoted 1 times
...
jj22222
3 years, 5 months ago
D looks right
upvoted 1 times
...
kaush4u
3 years, 6 months ago
https://aws.amazon.com/blogs/compute/operating-lambda-performance-optimization-part-1/
upvoted 1 times
...
lulz111
3 years, 6 months ago
D is correct even though there is a typo (auto seating group) its obvious when you look at the other answers. The Lambda execution limit is 15 minutes which instantly rules out two. The remaining answer that suggests creating a new EC2 instance when something goes in the queue is not a good solution (slow).
upvoted 2 times
...
cldy
3 years, 7 months ago
D is correct.
upvoted 1 times
...
cldy
3 years, 7 months ago
D. Create a queue using Amazon SQS. Configure the existing web server to publish to the new queue. Use Amazon EC2 instances in an EC2 Auto Seating group to pull requests from the queue and process the files. Scale the EC2 instances based on the SQS queue length. Store the processed files in an Amazon S3 bucket.
upvoted 1 times
...
KiraguJohn
3 years, 8 months ago
I would have chosen Lambda until i saw the processing time. Therefore i will also go with D
upvoted 1 times
...
AzureDP900
3 years, 8 months ago
D is correct, initially i thought A but it is not scalable.
upvoted 1 times
...
acloudguru
3 years, 8 months ago
this is really a easy one, hope I can have it as complex one in my exam
upvoted 1 times
...
andylogan
3 years, 8 months ago
It's D
upvoted 1 times
...
tgv
3 years, 8 months ago
DDD ---
upvoted 1 times
...
Suresh108
3 years, 9 months ago
going for DDDDD eliminate A & C for lambda (15 mins timeout) eliminate B - solution is incomplete, it creates EC2 processes and shutdown, what triggers up new EC2?? D - is correct
upvoted 3 times
...
WhyIronMan
3 years, 9 months ago
MOST cost-effective
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 ...