Q6 — AWS SAA-C03 第4章

第 6/105 题 | ← 返回第4章

Q201.报告团队每天都会在 Amazon S3 存储桶中接收文件.报告团队每天同时手动审查文件并将其从这个初始 S3 存储桶复制到一个分析 S3 存储桶,以便与 Amazon QuickSight 一起使用 其他团队开始将更多更大的文件发送到初始 S3 存储桶报告团队希望在文件进入初始 S3 存储桶时将文件自动移动到分析 S3 存储桶.报告团队还希望使用 AWS Lambda 函数对复制的数据运行模式匹配代码.此外,报告团队希望将数据文件发送到 Amazon SageMaker Pipelines 中的管道解决方案架构师应该怎么做才能以最少的运营开销满足这些要求? B 或者 D。考生请注意,这题是争议题,也是送分题,许多考生有不同的意见,各种答案都有一定数量考生主张,所以这题如果考到,考生自己决定选择哪一个答案,这种题一般来说应该是送分题,当考生遇到这个题目不需要再叫客服确认答案,你十分把握就按自己的来,要么就直接按小程序答案。

正确答案: B. 创建 Lambda 函数以将文件复制到分析 S3 存储桶 配置分析 S3 存储桶以将事件通知发送到 Amazon EventBridge (Amazon CloudWatch Events) 在 EventBridge (CloudWatch Events) 中配置 ObjectCreated 规则.将 Lambda 和 SageMaker 管道配置为目标为了规则

解析

或者 D。考生请注意,这题是争议题,也是送分题,许多考生有不同的意见,各种答案都有一定数量考生主张,所以这题如果考到,考生自己决定选择哪一个答案,这种题一般来说应该是送分题,当考生遇到这个题目不需要再叫客服确认答案,你十分把握就按自己的来,要么就直接按小程序答案。The solution that will meet the requirements with the least operational overhead is: B. Create a Lambda function to copy the files to the analysis S3 bucket. Configure the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events). Configure an ObjectCreated rule in EventBridge (CloudWatch Events). Configure Lambda and SageMaker Pipelines as targets for the rule.A. Creating a Lambda function to copy the files to the analysis S3 bucket is a good approach, but it does not address the requirement of automatically moving the files as they enter the initial S3 bucket. Additionally, directly configuring an S3 event notification for the analysis S3 bucket does not provide the ability to trigger other services like SageMaker Pipelines. B. Creating a Lambda function to copy the files to the analysis S3 bucket is the correct solution. By configuring the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events), you can trigger actions based on S3 events. You can then configure an ObjectCreated rule in EventBridge (CloudWatch Events) to trigger the Lambda function and SageMaker Pipelines as targets for the rule. This solution allows for automatic copying of files and triggering of Lambda functions and SageMaker Pipelines without manual intervention. C. Configuring S3 replication between the S3 buckets is not necessary for this scenario. S3 replication is typically used for creating a replica of an S3 bucket in another region or for data backup purposes. It does not directly address the requirement of automatically moving files and triggering Lambda functions and SageMaker Pipelines. D. Similarly to option C, configuring S3 replication between the S3 buckets is not necessary. Configuring the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events) and configuring an ObjectCreated rule in EventBridge (CloudWatch Events) to trigger Lambda functions and SageMaker Pipelines as targets is sufficient for achieving the desired outcome. Therefore, the solution that meets the requirements with the least operational overhead is: B. Create a Lambda function to copy the files to the analysis S3 bucket. Configure the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events). Configure an ObjectCreated rule in EventBridge (CloudWatch Events). Configure Lambda and SageMaker Pipelines as targets for the rule. This solution automates the file copying process, triggers Lambda functions for pattern matching, and sends data files to a pipeline in SageMaker without requiring manual intervention.以最少的操作开销来满足需求的解决方案是: B.创建Lambda函数将文件复制到分析S3桶。配置分析S3桶,向Amazon EventBridge (Amazon CloudWatch Events)发送事件通知。在EventBridge (CloudWatch Events)中配置ObjectCreated规则。将Lambda和SageMaker管道配置为规则的目标。a .创建Lambda函数将文件复制到分析S3桶是一种好方法,但它不能满足在文件进入初始S3桶时自动移动文件的要求。此外,直接为分析S3桶配置S3事件通知并不能提供触发其他服务(如SageMaker Pipelines)的能力。 B.创建Lambda函数将文件复制到分析S3桶中是正确的解决方案。通过配置分析S3桶向Amazon EventBridge (Amazon CloudWatch Events)发送事件通知,您可以基于S3事件触发操作。然后,您可以在EventBridge (CloudWatch Events)中配置ObjectCreated规则,以触发Lambda函数和SageMaker pipeline作为规则的目标。该解决方案允许自动复制文件并触发Lambda函数和SageMaker管线,而无需人工干预。 C.本场景不需要配置S3桶间的S3复制。S3复制通常用于在另一个区域创建S3桶的副本或用于数据备份。它不直接解决自动移动文件和触发Lambda函数和SageMaker管道的需求。 D.与选项C类似,不需要在S3桶之间配置S3复制。配置分析S3桶以向Amazon EventBridge (Amazon CloudWatch Events)发送事件通知,并在EventBridge (CloudWatch Events)中配置ObjectCreated规则以触发Lambda函数和SageMaker pipeline作为目标,这足以实现预期的结果。 因此,以最小的运营开销满足需求的解决方案为: B.创建Lambda函数将文件复制到分析S3桶。配置分析S3桶,向Amazon EventBridge (Amazon CloudWatch Events)发送事件通知。在EventBridge (CloudWatch Events)中配置ObjectCreated规则。将Lambda和SageMaker管道配置为规则的目标。该解决方案自动化文件复制过程,触发Lambda函数进行模式匹配,并在不需要人工干预的情况下将数据文件发送到SageMaker中的管道。