Data Ingestion and Transformation
An AWS Glue job must enrich orders from Amazon S3 with customer attributes from Amazon RDS. The sources use different customer identifiers, and a mapping table relates them. Which approach correctly matches the records?
Show the answer
Correct answerB. Map the identifiers, then join the customer attributes
AWhy not this: The source identifiers are different, so direct equality does not establish customer identity.
BWhy this is right: Resolving identifiers through the mapping table enables a reliable enrichment join.
CWhy not this: Independent aggregation does not reconcile identities or enrich individual orders.
DWhy not this: A union appends rows; it does not attach customer attributes to matching orders.
The mapping table establishes a common identity so the job can join each order to the correct customer. Directly joining unrelated source identifiers can produce missing or incorrect matches.