Courseiva
Data EngineeringeasyMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

A data scientist needs to run a one-time SQL query on a large dataset in Amazon S3. The dataset is stored in Parquet format and is about 500 GB. The query requires complex aggregations and joins. Which AWS service should be used to minimize cost and setup time?

⚠ Common exam trap

Watch out — candidates often choose Amazon EMR with Spark SQL (Option D) because they associate Spark with complex joins and large datasets, but they overlook the fact that for a one-time query, the setup time and cost of provisioning a cluster make Athena a more efficient and cost-effective choice.

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

Amazon Athena

Amazon Athena is the correct choice because it is a serverless query service that allows you to run SQL directly on data stored in S3 without provisioning any infrastructure. For a one-time query on 500 GB of Parquet data, Athena minimizes cost (pay-per-query, no idle cluster costs) and setup time (no cluster creation or data loading). Its ability to handle complex aggregations and joins on columnar formats like Parquet makes it ideal for this ad-hoc use case.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Amazon Redshift

    Why it's wrong here

    Requires provisioning a cluster; not cost-effective for a single query.

  • Amazon Athena

    Why this is correct

    Serverless, pay-per-query, no setup required.

  • Amazon RDS for MySQL

    Why it's wrong here

    Not designed for S3 data; would require loading data.

  • Amazon EMR with Spark SQL

    Why it's wrong here

    Requires cluster creation and management, higher cost for one-time use.

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

This MLS-C01 question is part of Courseiva's 1,672-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.