Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A data engineer is using AWS Glue to transform data from Amazon S3. The source data is in CSV format with inconsistent date formats across files (e.g., 'MM/DD/YYYY' and 'YYYY-MM-DD'). The engineer needs to standardize all dates to 'YYYY-MM-DD' format in the output. Which AWS Glue transform should the engineer use to achieve this?

⚠ Common exam trap

The trap here is thinking that `ApplyMapping` can handle date format conversion, when it only handles type casting and renaming.

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

✓

Map

The `Map` transform in AWS Glue enables custom record-level transformations. By writing a Python function that parses various date formats and outputs a standardized string, the engineer can handle inconsistent date formats. This approach is flexible and can be applied across all records, ensuring uniform output.

Answer analysis

Option-by-option breakdown

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

  • ✗

    ApplyMapping

    Why it's wrong here

    `ApplyMapping` is used to rename fields, change data types, or drop fields. It does not provide functionality to parse or reformat date strings. While it can cast a string to a date type, it does not handle multiple inconsistent formats. The engineer needs a transform that can apply custom logic to parse and convert dates.

  • ✗

    Filter

    Why it's wrong here

    `Filter` is used to remove records based on a condition. It does not modify data values. The requirement is to transform date formats, not to filter records. Using `Filter` would not change the date representation and would leave the data inconsistent.

  • ✗

    ResolveChoice

    Why it's wrong here

    `ResolveChoice` is used to handle columns with mixed data types by choosing one type or casting. It does not perform string parsing or date format conversion. While it could resolve type conflicts, it does not address the need to reformat date strings from different patterns into a single standard.

  • ✓

    Map

    Why this is correct

    The `Map` transform allows applying a custom function to each record in a DynamicFrame. The engineer can write a Python function that attempts to parse the date string using multiple formats (e.g., using `datetime.strptime` with different format strings) and then outputs the standardized 'YYYY-MM-DD' string. This provides the flexibility needed to handle inconsistent date formats across files.

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

One of 1,321 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

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