AWS Certified Data Engineer – Associate (DEA-C01) — Question 56

A company receives a daily file that contains customer data in .xls format. The company stores the file in Amazon S3. The daily file is approximately 2 GB in size.
A data engineer concatenates the column in the file that contains customer first names and the column that contains customer last names. The data engineer needs to determine the number of distinct customers in the file.
Which solution will meet this requirement with the LEAST operational effort?

Answer options

Correct answer: D

Explanation

The correct answer is D because AWS Glue DataBrew provides a user-friendly interface for data preparation tasks, including the ability to easily apply aggregate functions like COUNT_DISTINCT. Options A and C involve more complex setups with Apache Spark jobs, which require more operational effort. Option B, while feasible, also requires additional steps to set up the Glue crawler and Athena queries, making it less efficient than using DataBrew.