Topic 1 Question 266
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?
Use a Lambda@Edge function that is invoked by a viewer-response event.
Use a Lambda@Edge function that is invoked by an origin-response event.
Use an S3 event notification that invokes an AWS Lambda function.
Use an S3 event notification that invokes an AWS Step Functions state machine.
ユーザの投票
コメント(9)
- 正解だと思う選択肢: C
The requirement here is to catch and deal with the corruption at the time of ingestion. Hence, the logical place to put the check would be where the ingestion is actually happening, which is when the image is put into the S3 bucket. Amazon S3 can be configured to send an event notification when a new object is created (i.e., put into the bucket). This event can then trigger a Lambda function that uses the Python logic to check the image for corruption. This way, you are catching and dealing with any issues as soon as the image is ingested.
👍 8i_am_robot2023/06/24 - 正解だと思う選択肢: C
A&B is too late, D is unnecessary C is correct
👍 3shree20232023/06/24 - 正解だと思う選択肢: C
its a C
👍 2NikkyDicky2023/07/07
シャッフルモード