SAP-C02 第 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?
中文翻译:
一家公司的交互式 Web 应用程序使用 Amazon CloudFront 发行版来提供来自 Amazon S3 存储桶的图像。有时,第三方工具会将损坏的图像提取到 S3 存储桶中。此图像损坏会导致稍后应用程序中的用户体验不佳。该公司已成功实施并测试了 Python 逻辑来检测损坏的图像。解决方案架构师必须推荐一种解决方案来集成检测逻辑,并在摄取和服务之间实现最小延迟。哪种解决方案可以满足这些要求?
选项
A. Use a Lambda@Edge function that is invoked by a viewer-response event.
中文翻译:
使用由查看器响应事件调用的 Lambda@Edge 函数。
B. Use a Lambda@Edge function that is invoked by an origin-response event.
中文翻译:
使用由源响应事件调用的 Lambda@Edge 函数。
C. Use an S3 event notification that invokes an AWS Lambda function.
中文翻译:
使用调用 AWS Lambda 函数的 S3 事件通知。
D. Use an S3 event notification that invokes an AWS Step Functions state machine.
中文翻译:
使用调用 AWS Step Functions 状态机的 S3 事件通知。
答案
C
解析
正确答案:C 解析: 本题应选择 C。 正确选项: C. 使用调用 AWS Lambda 函数的 S3 事件通知。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Lambda、CloudFront、S3、Step Functions。 排除思路: A、B、D 通常会在...