Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 each ONLY!

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Developer Associate Review Mode Set 1 – Q18

  • Review Mode Set 1 – Q18

  • luca-c

    Member
    July 18, 2021 at 1:52 am

    The architecture of the application in the question does not match the diagram in the explanation. From the question it seems that SQS triggers the lambda running the image processing, in which case – being an AWS service – we have no control over the invocation type and no answer is valid.

    Is it me or the question needs a review? Let me know if I misunderstood, thanks.

  • Carlo-TutorialsDojo

    Member
    July 18, 2021 at 3:23 am

    Hello luca,

    Thanks for reaching out to us. Could you provide a screenshot or the full text of the question that you referring to?

  • luca-c

    Member
    July 18, 2021 at 4:05 am

    Here you go

  • luca-c

    Member
    July 18, 2021 at 4:09 am

    Trying again…

  • Jon-Bonso

    Administrator
    July 21, 2021 at 9:07 am

    Thank Luca for bringing this up to our attention.

    @Carlo-TutorialsDojo and I will update the image for this particular scenario:

    A developer is working on a photo-sharing application which can automatically add filters to the high-resolution images uploaded by its users. For every new image that the user uploads, it would be sent to Amazon SQS and will be handled by an image processing application hosted in Lambda. The processed image would then be stored in an S3 bucket. If the upload was successful, the application will return a prompt telling the user that the upload is successful. However, the entire processing typically takes an average of 5 minutes to complete, which causes the application to become unresponsive. Which of the following is the MOST suitable and cost-effective option which will prevent your application from being unresponsive?

  • luca-c

    Member
    July 23, 2021 at 4:46 am

    Thanks @Jon-Bonso! I am still in doubt about SQS caling Lambda, though. Being SQS an AWS service, we cannot configure the invocation type of the Lambda function.

    The question really leans towards SQS calling the Lambda function, which is synchronous according to the docs. If there are other lambda functions, I don’t see them.

  • Carlo-TutorialsDojo

    Member
    July 23, 2021 at 6:15 am

    Hello @luca-c,

    Thanks for the reply.

    Yes. I’ve also noticed that. We’re not directly invoking Lambda here (so we can’t change its invocation type) and SQS does invoke Lambda synchronously. I already revised the scenario for this item and replaced the existing diagram. I also added some explanations on how we can implement this in the given scenario.

    Let me know what you think

    Regards,

    Carlo @ Tutorials Dojo

Viewing 1 - 7 of 7 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now