Question 322 of 507
Data Preparation for Machine LearninghardMultiple ChoiceObjective-mapped

Quick Answer

The answer is to select only the data from the last 30 days for training. This directly mitigates concept drift by ensuring the model learns from the most recent user behavior, which is critical for click-through rate prediction where data distributions shift over time. By discarding outdated patterns, you minimize bias from stale trends while also reducing training costs—the dataset shrinks from 500 GB to roughly 41 GB, leading to faster data loading and lower compute on SageMaker. On the AWS Certified Machine Learning Engineer Associate MLA-C01 exam, this scenario tests your understanding of time-based data selection as a practical drift-handling strategy; a common trap is choosing to retrain on all historical data, which wastes resources and reintroduces drift. Remember the memory tip: “30 days keeps the drift at bay”—when a timestamp column exists and performance degrades, recent-only slicing is both cost-effective and bias-reducing.

MLA-C01 Data Preparation for Machine Learning Practice Question

This MLA-C01 practice question tests your understanding of data preparation for machine learning. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An e-commerce company uses Amazon SageMaker to train a model that predicts click-through rates. The training data includes a timestamp column 'click_time' and a categorical feature 'device_type' (8 values). They notice that the model's performance degrades over time because the data distribution shifts. They want to ensure the training data represents the most recent behavior. The data is stored in a daily partitioned S3 bucket (e.g., s3://bucket/data/2024-01-01/). The total dataset size is 500 GB. Which approach should they take to prepare the training data while minimizing bias and cost?

Question 1hardmultiple choice
Full question →

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

Select only the data from the last 30 days to train the model.

Option A is correct because selecting only the last 30 days of data directly addresses the data distribution shift by focusing on the most recent user behavior, which is critical for click-through rate prediction. This approach minimizes bias from outdated patterns and reduces training cost by using a smaller, relevant dataset (approximately 500 GB / 365 * 30 ≈ 41 GB). SageMaker training jobs benefit from this reduced volume through faster data loading and lower compute costs.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Select only the data from the last 30 days to train the model.

    Why this is correct

    Using a recent window captures current patterns, reduces volume, and mitigates drift.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Take a random sample of 10% of the rows from the entire dataset.

    Why it's wrong here

    Random sampling does not prioritize recent data; distribution may still shift.

  • Use all historical data and let the model learn the temporal patterns.

    Why it's wrong here

    Including old data can bias the model toward past behavior that is no longer relevant.

  • Downsample older data exponentially so that recent data is overrepresented.

    Why it's wrong here

    This still includes some old data and may not fully capture recent shifts.

Common exam traps

Common exam trap: answer the scenario, not the keyword

AWS often tests the misconception that more data always improves model performance, but in the presence of concept drift, recent data is more valuable than historical data, making a time-window selection the most cost-effective and bias-minimizing strategy.

Detailed technical explanation

How to think about this question

Under the hood, SageMaker's `FileSystem` or `Pipe` mode can efficiently read from S3 partitions, and selecting a recent time window (e.g., last 30 days) leverages partition pruning to skip irrelevant objects, reducing I/O and cost. In real-world scenarios, concept drift often occurs gradually; a sliding window approach (e.g., retraining weekly on the last 30 days) is a common MLOps pattern to maintain model accuracy without storing or processing all historical data.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related MLA-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MLA-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this MLA-C01 question test?

Data Preparation for Machine Learning — This question tests Data Preparation for Machine Learning — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Select only the data from the last 30 days to train the model. — Option A is correct because selecting only the last 30 days of data directly addresses the data distribution shift by focusing on the most recent user behavior, which is critical for click-through rate prediction. This approach minimizes bias from outdated patterns and reduces training cost by using a smaller, relevant dataset (approximately 500 GB / 365 * 30 ≈ 41 GB). SageMaker training jobs benefit from this reduced volume through faster data loading and lower compute costs.

What should I do if I get this MLA-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More MLA-C01 practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This MLA-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 MLA-C01 exam.