Question 809 of 1,672
MLS-C01 Exploratory Data Analysis Practice Question
A data scientist is analyzing a dataset with missing values in several features. The dataset is large (10 million rows) and stored in an S3 bucket as CSV files. The scientist wants to use AWS Glue to catalog the data and then use Amazon Athena to query it. However, the missing values are causing errors in downstream machine learning models. Which approach should the scientist take to handle missing values during exploratory data analysis?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use AWS Glue ETL jobs with a custom transformation script that uses the AWS Glue library to drop or impute missing values before writing to a new dataset.
AWS Glue ETL jobs can be used with custom scripts to handle missing values by either dropping rows or imputing values using built-in transforms or custom logic. This is ideal for large-scale datasets stored in S3 as CSV files. Glue integrates with the AWS Glue library for transforming data. Option A (SageMaker Data Wrangler) is more suitable for interactive data preparation and visualization, but not for automated, large-scale ETL processing of 10 million rows. Option C (Redshift Spectrum) is primarily a query engine that can query data in S3, but it does not provide built-in data cleaning capabilities for missing values; you would need to use SQL functions like COALESCE, but it's not the best approach for comprehensive ETL. Option D (Athena) is also a query engine and cannot modify the underlying data; it can impute values in query results, but not write transformed data back to S3 as a cleaned dataset without additional steps.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Amazon SageMaker Data Wrangler to create a data flow that imputes missing values and export the transformed dataset to S3.
Why it's wrong here
SageMaker Data Wrangler is designed for interactive, visual data preparation and is not suitable for automated, large-scale batch processing.
- ✓
Use AWS Glue ETL jobs with a custom transformation script that uses the AWS Glue library to drop or impute missing values before writing to a new dataset.
Why this is correct
AWS Glue provides native transforms like DropNullFields and FillWithValue, and custom scripts allow handling missing values efficiently at scale.
- ✗
Use Amazon Redshift Spectrum with an external table to query the data and use SQL COALESCE to handle missing values on the fly.
Why it's wrong here
Redshift Spectrum is for querying external data, not for cleaning or imputing missing values; it would not persist the transformations.
- ✗
Use Amazon Athena to run SQL queries that impute missing values and write the results to a new table.
Why it's wrong here
Athena is a query engine and cannot modify data; it can only read and write results of queries, but not update data in place.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 20, 2026
This MLS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLS-C01 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.