Courseiva
Data EngineeringmediumMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

A machine learning team is preparing a large dataset for training. The dataset consists of 10,000 CSV files, each about 100 MB, stored in Amazon S3. The team wants to transform the data using AWS Glue ETL jobs. The transformation involves filtering rows, adding new columns, and joining with a small reference table (100 KB). The team is concerned about job performance and cost. They currently have a Glue job with 10 DPU (Data Processing Units) and it takes about 2 hours to complete. The team wants to reduce the runtime and cost. Which approach should they take?

⚠ Common exam trap

AWS often tests the misconception that simply adding more compute resources (DPUs) will linearly improve performance, ignoring the critical impact of data format and partitioning on I/O and shuffle efficiency.

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

Convert the CSV files to Parquet format and partition the data by a column.

Converting the CSV files to Parquet format and partitioning the data by a column significantly reduces the amount of data scanned and processed by AWS Glue. Parquet is a columnar storage format that allows Glue to read only the necessary columns, and partitioning enables predicate pushdown to skip irrelevant partitions. This directly reduces I/O and compute requirements, leading to faster job runtime and lower cost without increasing DPU count.

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 Athena to transform the data.

    Why it's wrong here

    Athena is for querying, not ETL transformations.

  • Increase the number of DPUs to 100.

    Why it's wrong here

    More DPUs may improve speed but increase cost proportionally.

  • Use Amazon EMR with Spot Instances instead of AWS Glue.

    Why it's wrong here

    EMR can be cheaper but requires more management.

  • Convert the CSV files to Parquet format and partition the data by a column.

    Why this is correct

    Parquet reduces I/O and partitioning reduces data scanned.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,672 original MLS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.