Courseiva
Machine Learning Implementation and OperationseasyMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

A data scientist needs to run a one-time SQL query on a large dataset in S3 to create a training dataset. The query involves aggregations and joins. Which service is most suitable?

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 service that allows running SQL queries directly on data stored in S3, ideal for one-time ad-hoc queries with aggregations and joins. Option A (AWS Glue ETL) is designed for scheduled ETL jobs, not ad-hoc queries. Option C (Amazon EMR with Spark SQL) provides powerful processing but is overkill and requires cluster management. Option D (Amazon RDS) would require moving data into a database, which is inefficient.

Answer analysis

Option-by-option breakdown

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

  • AWS Glue ETL job

    Why it's wrong here

    AWS Glue ETL is intended for extract, transform, and load jobs, not for one-time ad-hoc SQL queries.

  • Amazon Athena

    Why this is correct

    Amazon Athena is serverless and optimized for querying data in S3 using standard SQL, making it suitable for this use case.

  • Amazon EMR with Spark SQL

    Why it's wrong here

    Amazon EMR with Spark SQL offers distributed processing but involves cluster setup and management, which is excessive for a one-time query.

  • Amazon RDS with data loaded into it

    Why it's wrong here

    Amazon RDS would require importing data from S3, adding complexity and time.

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.