DEA-C01 · Question #44
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 col
The correct answer is D. Use AWS Glue DataBrew to create a recipe that uses the COUNT_DISTINCT aggregate function. AWS Glue DataBrew: AWS Glue DataBrew is a visual data preparation tool that allows data engineers and data analysts to clean and normalize data without writing code. Using DataBrew, a data engineer could create a recipe that includes the concatenation of the customer first and la
Question
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?
Options
- ACreate and run an Apache Spark job in an AWS Glue notebook. Configure the job to read the S3
- BCreate an AWS Glue crawler to create an AWS Glue Data Catalog of the S3 file. Run SQL
- CCreate and run an Apache Spark job in Amazon EMR Serverless to calculate the number of
- DUse AWS Glue DataBrew to create a recipe that uses the COUNT_DISTINCT aggregate function
How the community answered
(29 responses)- A14% (4)
- B7% (2)
- C31% (9)
- D48% (14)
Explanation
AWS Glue DataBrew: AWS Glue DataBrew is a visual data preparation tool that allows data engineers and data analysts to clean and normalize data without writing code. Using DataBrew, a data engineer could create a recipe that includes the concatenation of the customer first and last names and then use the COUNT_DISTINCT function. This would not require complex code and could be performed through the DataBrew user interface, representing a lower operational effort.
Topics
Community Discussion
No community discussion yet for this question.