SAP-C02 第 133 题
题目
A company runs a serverless application in a single AWS Region. The application accesses external URLs and extracts metadata from those sites. The company uses an Amazon Simple Notification Service (Amazon SNS) topic to publish URLs to an Amazon Simple Queue Service (Amazon SQS) queue. An AWS Lambda function uses the queue as an event source and processes the URLs from the queue. Results are saved to an Amazon S3 bucket. The company wants to process each URL in other Regions to compare possible differences in site localization. URLs must be published from the existing Region. Results must be written to the existing S3 bucket in the current Region. Which combination of changes will produce multi-Region deployment that meets these requirements? (Choose two.)
中文翻译:
一家公司在单个 AWS 区域中运行无服务器应用程序。该应用程序访问外部 URL 并从这些站点提取元数据。该公司使用 Amazon Simple Notification Service (Amazon SNS) 主题将 URL 发布到 Amazon Simple Queue Service (Amazon SQS) 队列。 AWS Lambda 函数使用队列作为事件源并处理队列中的 URL。结果保存到 Amazon S3 存储桶中。该公司希望处理其他区域中的每个 URL,以比较网站本地化中可能存在的差异。 URL 必须从现有区域发布。结果必须写入当前区域中的现有 S3 存储桶。哪种更改组合将产生满足这些要求的多区域部署? (选择两个。)
选项
A. Deploy the SQS queue with the Lambda function to other Regions.
中文翻译:
使用 Lambda 函数将 SQS 队列部署到其他区域。
B. Subscribe the SNS topic in each Region to the SQS queue.
中文翻译:
将每个区域中的 SNS 主题订阅到 SQS 队列。
C. Subscribe the SQS queue in each Region to the SNS topic.
中文翻译:
将每个区域中的 SQS 队列订阅 SNS 主题。
D. Configure the SQS queue to publish URLs to SNS topics in each Region.
中文翻译:
配置 SQS 队列以将 URL 发布到每个区域中的 SNS 主题。
E. Deploy the SNS topic and the Lambda function to other Regions.
中文翻译:
将 SNS 主题和 Lambda 函数部署到其他区域。
答案
AC
解析
正确答案:AC 解析: 本题应选择 AC。 正确选项: A. 使用 Lambda 函数将 SQS 队列部署到其他区域。 C. 将每个区域中的 SQS 队列订阅 SNS 主题。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Lambda、S3、SQS、SNS、Confi...