Q70 — AWS DEA-C01 Ch.1
Question 70 of 100 | ← Chapter 1
A company has a business intelligence platform on AWS. The company uses an AWS Storage Gateway Amazon S3 File Gateway to transfer files from the company's on-premises environment to an Amazon S3 bucket. A data engineer needs to setup a process that will automatically launch an AWS Glue workflow to run a series of AWS Glue jobs when each file transfer finishes successfully. Which solution will meet these requirements with the LEAST operational overhead?
- A. Determine when the file transfers usually finish based on previous successful file transfers. Set up an Amazon EventBridge scheduled event to initiate the AWS Glue jobs at that time of day.
- B. Set up an Amazon EventBridge event that initiates the AWS Glue workflow after every successful S3 File Gateway file transfer event. ✓
- C. Set up an on-demand AWS Glue workflow so that the data engineer can start the AWS Glue workflow when each file transfer is complete.
- D. Set up an AWS Lambda function that will invoke the AWS Glue Workflow. Set up an event for the creation of an S3 object as a trigger for the Lambda function.
Correct Answer: B. Set up an Amazon EventBridge event that initiates the AWS Glue workflow after every successful S3 File Gateway file transfer event.
Explanation
答案B是正确的。在这种情况下,设置AmazonEventBridge事件来在每次成功的S3FileGateway文件传输事件后启动AWSGlue工作流,能够实现自动化处理,且相对其他选项具有更低的操作开销。选项A基于以往的传输时间来设置定时事件不够灵活准确;选项C按需启动需要人工操作,增加了人工成本;选项D虽然也能实现,但引入了AWSLambda函数,增加了复杂性和可能的开销。所以,综合考虑,选项B是最优解。