Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 322 discussion

A solutions architect is designing a multi-tier application for a company. The application's users upload images from a mobile device. The application generates a thumbnail of each image and returns a message to the user to confirm that the image was uploaded successfully.

The thumbnail generation can take up to 60 seconds, but the company wants to provide a faster response time to its users to notify them that the original image was received. The solutions architect must design the application to asynchronously dispatch requests to the different application tiers.

What should the solutions architect do to meet these requirements?

  • A. Write a custom AWS Lambda function to generate the thumbnail and alert the user. Use the image upload process as an event source to invoke the Lambda function.
  • B. Create an AWS Step Functions workflow. Configure Step Functions to handle the orchestration between the application tiers and alert the user when thumbnail generation is complete.
  • C. Create an Amazon Simple Queue Service (Amazon SQS) message queue. As images are uploaded, place a message on the SQS queue for thumbnail generation. Alert the user through an application message that the image was received.
  • D. Create Amazon Simple Notification Service (Amazon SNS) notification topics and subscriptions. Use one subscription with the application to generate the thumbnail after the image upload is complete. Use a second subscription to message the user's mobile app by way of a push notification after thumbnail generation is complete.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Steve_4542636
Highly Voted 1 year, 4 months ago
Selected Answer: C
I've noticed there are a lot of questions about decoupling services and SQS is almost always the answer.
upvoted 24 times
...
Neha999
Highly Voted 1 year, 4 months ago
D SNS fan out
upvoted 12 times
...
LoXoL
Most Recent 4 months, 3 weeks ago
They don't look like real answers from the official exam...
upvoted 1 times
...
awsgeek75
5 months, 2 weeks ago
Selected Answer: C
Each option is badly worded: A: "generate the thumbnail and alert the user" doesn't sound sequential so could alert the user during, before or after the thumbnail generation whichever way you interpret it. B: this is sequential and won't alert until the steps are complete D: Could work without with the risk of notification loss so C is better but this is also ok
upvoted 1 times
...
awsgeek75
6 months ago
Selected Answer: C
Safe answer is C but B is so badly worded that it can mean anything to confuse people. Step functions to use tiers. What if on of the step is to inform to the user and move on to next step. Anyway, I'll chose C for the exam as it is cleaner.
upvoted 1 times
...
wsdasdasdqwdaw
8 months, 3 weeks ago
... asynchronously dispatch ... => Amazon SQS
upvoted 4 times
...
TariqKipkemei
8 months, 4 weeks ago
Selected Answer: C
Asynchronous, Decoupling = Amazon Simple Queue Service
upvoted 3 times
...
Guru4Cloud
10 months ago
Selected Answer: C
SQS is a fully managed message queuing service that can be used to decouple different parts of an application.
upvoted 1 times
...
Zox42
1 year, 3 months ago
Selected Answer: C
Answers B and D alert the user when thumbnail generation is complete. Answer C alerts the user through an application message that the image was received.
upvoted 4 times
...
Sbbh
1 year, 3 months ago
B: Use cases for Step Functions vary widely, from orchestrating serverless microservices, to building data-processing pipelines, to defining a security-incident response. As mentioned above, Step Functions may be used for synchronous and asynchronous business processes.
upvoted 1 times
...
AlessandraSAA
1 year, 4 months ago
why not B?
upvoted 4 times
...
Wael216
1 year, 4 months ago
Selected Answer: C
Creating an Amazon Simple Queue Service (SQS) message queue and placing messages on the queue for thumbnail generation can help separate the image upload and thumbnail generation processes.
upvoted 1 times
...
vindahake
1 year, 4 months ago
C The key here is "a faster response time to its users to notify them that the original image was received." i.e user needs to be notified when image was received and not after thumbnail was created.
upvoted 2 times
...
AlmeroSenior
1 year, 4 months ago
Selected Answer: C
A looks like the best way , but its essentially replacing the mentioned app , that's not the ask
upvoted 1 times
...
Mickey321
1 year, 4 months ago
Selected Answer: A https://docs.aws.amazon.com/lambda/latest/dg/with-s3-tutorial.html
upvoted 1 times
...
bdp123
1 year, 4 months ago
Selected Answer: C
C is the only one that makes sense
upvoted 1 times
...
LuckyAro
1 year, 4 months ago
Selected Answer: A
Use a custom AWS Lambda function to generate the thumbnail and alert the user. Lambda functions are well-suited for short-lived, stateless operations like generating thumbnails, and they can be triggered by various events, including image uploads. By using Lambda, the application can quickly confirm that the image was uploaded successfully and then asynchronously generate the thumbnail. When the thumbnail is generated, the Lambda function can send a message to the user to confirm that the thumbnail is ready. C proposes to use an Amazon Simple Queue Service (Amazon SQS) message queue to process image uploads and generate thumbnails. SQS can help decouple the image upload process from the thumbnail generation process, which is helpful for asynchronous processing. However, it may not be the most suitable option for quickly alerting the user that the image was received, as the user may have to wait until the thumbnail is generated before receiving a notification.
upvoted 2 times
pentium75
6 months, 1 week ago
You understood C wrong. You place the message on the SQS queue and then you alert the user.
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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in