Q7 — AWS DEA-C01 Ch.1
Question 7 of 100 | ← Chapter 1
A data engineer needs to schedule a workflow that runs a set of AWS Glue jobs every day. The data engineer does not require the Glue jobs to run or finish at a specific time. Which solution will run the Glue jobs in the MOST cost-effective way?
- A. Choose the FLEX execution class in the Glue job properties. ✓
- B. Use the Spot Instance type in Glue job properties.
- C. Choose the STANDARD execution class in the Glue job properties.
- D. Choose the latest version in the GlueVersion field in the Glue job properties.
Correct Answer: A. Choose the FLEX execution class in the Glue job properties.
Explanation
在考虑成本效益时,选择适当的执行类别是关键。AWSGlue提供了不同的执行类别,其中FLEX执行类别允许用户根据工作负载的需求动态地分配资源,这通常比固定资源分配(如STANDARD执行类别)更经济高效。使用Spot实例虽然可以降低成本,但它可能导致作业执行时间的不确定性,因为Spot实例可能会被AWS回收。选择Glue版本与成本效益无直接关系。因此,选择A(FLEX执行类别)是最具成本效益的解决方案。