Courseiva
Data EngineeringhardMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

An e-commerce company uses Amazon DynamoDB as the primary data store for user sessions. They want to run analytics on historical session data using Amazon Athena. What is the recommended approach to export DynamoDB data to S3 in a format optimized for Athena?

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 to read from DynamoDB and write to S3 as Parquet

AWS Glue ETL can read from DynamoDB and write to S3 in Parquet format, which is optimized for Athena due to its columnar storage and compression. Option A (AWS Data Pipeline) can copy data to S3 as CSV, but CSV is less efficient for Athena and Data Pipeline is a legacy service. Option B (Amazon Kinesis Data Firehose) is designed for streaming data, not for exporting existing DynamoDB tables. Option C (DynamoDB Streams with Lambda) writes to S3 as JSON, which is less performant than Parquet for Athena queries and adds operational complexity.

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 AWS Data Pipeline to copy data to S3 as CSV

    Why it's wrong here

    Data Pipeline is older; Glue is more modern.

  • Use Amazon Kinesis Data Firehose to stream data from DynamoDB to S3

    Why it's wrong here

    Firehose is for streaming, not bulk export from DynamoDB.

  • Use DynamoDB Streams with AWS Lambda to write to S3 as JSON

    Why it's wrong here

    JSON is not optimal for Athena; streaming adds complexity.

  • Use AWS Glue ETL to read from DynamoDB and write to S3 as Parquet

    Why this is correct

    Glue can efficiently export data and convert to columnar format.

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.