ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 165 - SAP-C02 discussion

Report
Export

A company's interactive web application uses an Amazon CloudFront distribution to serve images from an Amazon S3 bucket. Occasionally, third-party tools ingest corrupted images into the S3 bucket. This image corruption causes a poor user experience in the application later. The company has successfully implemented and tested Python logic to detect corrupt images.

A solutions architect must recommend a solution to integrate the detection logic with minimal latency between the ingestion and serving.

Which solution will meet these requirements?

A.
Use a Lambda@Edge function that is invoked by a viewer-response event.
Answers
A.
Use a Lambda@Edge function that is invoked by a viewer-response event.
B.
Use a Lambda@Edge function that is invoked by an origin-response event.
Answers
B.
Use a Lambda@Edge function that is invoked by an origin-response event.
C.
Use an S3 event notification that invokes an AWS Lambda function.
Answers
C.
Use an S3 event notification that invokes an AWS Lambda function.
D.
Use an S3 event notification that invokes an AWS Step Functions state machine.
Answers
D.
Use an S3 event notification that invokes an AWS Step Functions state machine.
Suggested answer: B

Explanation:

This solution will allow the detection logic to be run as soon as the image is uploaded to the S3 bucket, before it is served to users via the CloudFront distribution. This way, the detection logic can quickly identify any corrupted images and prevent them from being served to users, minimizing latency between ingestion and serving.

asked 16/09/2024
gregori carmona lorenzo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first