Training data must combine customer records from Amazon RDS, clickstream files in S3 and a CRM export, joined on customer ID. Which AWS approach fits?
- Exam domain
- Data Preparation for ML and AI28% of the exam
- Difficulty
- Easy
- In this mock
- 24 questions on this domainPractise this domain
Why the exam asks this
Task 1.1: Collect and store data.
Objective in the exam guide: Skill 1.1.6: Merge data from multiple sources (for example, by using programming techniques, AWS Glue, Apache Spark).
Useful training data almost always lives in several systems. Joining it reliably and repeatably is everyday ML engineering.
Why C is the answer
An AWS Glue ETL job, for example using Spark, that reads each source and joins them
Glue ETL jobs read from many sources and join them into one training dataset.
Remember: Join sources in an ETL job before training.
How it works
Training features often come from several systems that must be joined on a shared key.
AWS Glue ETL jobs, running Spark, can read from databases, S3 and other sources and join them at scale.
Writing the result as Parquet in S3 gives training jobs one clean input.
Clues in the question
The words that point to the answer, and what each one tells you.
- RDS, S3 and a CRM export
- Several sources.
- Joined on customer ID
- An ETL join.
In detail
- Merging data from multiple sources is a core preparation step.
- Spark on EMR or Glue handles joins at scale.
Side by side with look-alikes
| Approach | Scales and repeats? |
|---|---|
| Glue ETL join | Yes |
| Spreadsheet copying | No |
| Let the model combine | Not how training works |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Sending each source to the model separately and letting it combine themWrongMost tempting
Models do not join tables.
Why it tempts: Models learn patterns, so letting them "figure it out" sounds clever. But training expects one joined dataset, not separate sources.
B. Using Amazon Polly to read the data aloudWrong
Polly converts text to speech.
C. An AWS Glue ETL job, for example using Spark, that reads each source and joins themRight
Join sources in an ETL job before training.
D. Manually copying rows into a spreadsheetWrong
Manual copying does not scale and introduces errors.
In practice
- Schedule the job and write output as partitioned Parquet.
- Check join counts to catch missing keys.
Use case
An illustrative scenario, not a real incident.
A Glue job joins RDS customers, S3 clicks and CRM data nightly into one Parquet training table.
See how it works
flowchart LR R["RDS customers"] --> G["Glue ETL job"] S["S3 clickstream"] --> G C["CRM export"] --> G G --> P["Joined Parquet table"]
How to read this chart
- "RDS customers" leads to "Glue ETL job".
- "S3 clickstream" leads to "Glue ETL job".
- "CRM export" leads to "Glue ETL job".
- "Glue ETL job" leads to "Joined Parquet table".