Courseiva
Data EngineeringmediumMultiple SelectObjective-mapped

Building a Serverless ETL Pipeline from RDS PostgreSQL to S3 with AWS Glue

A data engineer needs to transform and move 2 TB of data from an Amazon RDS for PostgreSQL instance to Amazon S3 daily. The transformation includes filtering, joining with data in S3, and aggregating. Which AWS services can be used together to accomplish this with minimal operational overhead? (Choose THREE.)

Quick Answer

This 'choose three' question is describing a full ETL pipeline, and the services line up with the three stages any such pipeline needs: a source, a transformation engine, and a destination. AWS Glue is the transformation engine here because it's a serverless ETL service capable of reading from a JDBC source like RDS for PostgreSQL, performing the filtering, joining with data already in S3, and aggregating logic the scenario describes, all without the team having to provision or manage the underlying compute themselves. Amazon S3 serves as the destination, providing durable, cost-effective object storage for the transformed daily output, and it's also part of the join operation itself, since some of the data Glue joins against already lives in S3. Because the requirement explicitly calls for minimal operational overhead, the combination leans on managed, serverless services rather than anything the team would need to provision, patch, or scale by hand, which is a big part of why Glue fits so well for the transformation step instead of a self-managed compute cluster. The pattern to recognize is that ETL-style questions like this one are usually testing whether you can identify the natural source, transform, and destination roles in a pipeline and match each to the AWS service purpose-built for that role, rather than trying to force one service to do more than it's designed for. When a scenario describes filtering, joining, and aggregating data from a relational database before loading it elsewhere, expect Glue to be the transformation layer regardless of which specific source or destination services round out the rest of the pipeline.

⚠ Common exam trap

Watch out — candidates often assume Amazon EMR or Redshift are necessary for large-scale data processing, but AWS Glue's serverless Spark engine can handle 2 TB daily without any cluster management, making it the lower-overhead 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 S3

Amazon S3 is correct because it serves as the target storage location for the transformed data. The daily 2 TB output from the ETL pipeline must be stored durably and cost-effectively, and S3 provides the ideal object storage layer for this purpose, especially when combined with AWS Glue for the transformation logic.

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 EMR

    Why it's wrong here

    EMR requires cluster management, increasing overhead.

  • Amazon Redshift

    Why it's wrong here

    Redshift is a data warehouse, not needed for this pipeline.

  • Amazon S3

    Why this is correct

    Target storage for transformed data.

  • AWS Glue Data Catalog

    Why this is correct

    Stores metadata and schema information.

  • AWS Glue

    Why this is correct

    Serverless ETL service to transform and move data.

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

Courseiva writes every MLS-C01 question from scratch — 1,672 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on MLS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A data engineer needs to extract data from an Amazon RDS for MySQL database into Amazon S3 for further processing. The data volume is 2 TB and the job must run daily within a 1-hour window. Which AWS service is most suitable for this task?

easy
  • A.Amazon Kinesis Data Firehose
  • B.AWS Database Migration Service (DMS)
  • C.Amazon Athena
  • D.AWS Glue

Why D: AWS Glue is the most suitable service because it provides a fully managed ETL (Extract, Transform, Load) capability that can efficiently extract 2 TB of data from Amazon RDS for MySQL and write it to Amazon S3. Glue can leverage JDBC connections to the RDS instance, scale horizontally with its dynamic worker allocation, and complete the job within a 1-hour window by using appropriate worker types (e.g., G.2X or G.8X) and partitioning strategies. Additionally, Glue integrates natively with the AWS Glue Data Catalog and can handle incremental or full-load extraction with minimal overhead.

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.