CLF-C02 Question 139
Single answerYour company needs to process large volumes of customer data for a one-time marketing campaign. The data processing involves transforming the data and storing the results for a short period. Which approach should you choose to optimize cost and effort in this scenario?
- A
Use an on-demand Amazon EC2 instance with a custom script for data transformation.
- B
Set up an AWS Lambda function and use it to automate the data transformation process repeatedly.
- C
Deploy a Kubernetes cluster on Amazon EKS for scalable and repeatable data processing.
- D
Use AWS Glue for a one-time ETL (Extract, Transform, Load) operation.
Show answer and explanation
Correct answer: D
Explanation
For a one-time operation like a marketing campaign requiring data transformation, AWS Glue is the best choice. It is a fully managed service optimized for ETL tasks, removing the need for complex setup and scaling. While EC2, Lambda, and EKS are powerful, they are better suited for ongoing or repeatable processes.
- A. Incorrect.
Using an on-demand Amazon EC2 instance may work, but it requires more manual effort to set up, monitor, and manage. This is not the most efficient solution for a one-time operation.
- B. Incorrect.
AWS Lambda is suitable for repeatable processes or event-driven workflows. It is not the best fit for a one-time operation, as it requires setting up triggers and functions designed for ongoing automation.
- C. Incorrect.
Amazon EKS with Kubernetes is a powerful option for repeatable and large-scale workloads. However, it is overly complex and expensive for a one-time processing task.
- D. Correct.
AWS Glue is designed for ETL tasks and supports one-time operations effectively. It is a fully managed service that minimizes manual effort and is cost-efficient for one-time data transformations.