Data Operations and Support

An AWS Glue ETL job joins orders to a customer table with unique customer IDs; unmatched orders are silently dropped. Every source order must reach the curated output, and incomplete batches must not be published. Which approach BEST enforces this requirement?

Show the answer

Correct answerC. Compare source and joined row counts, and block the write on a mismatch.

AWhy not this: Sample counts cannot establish that every source order survived the join.

BWhy not this: A non-null customer ID can still lack a matching customer and cause an order to be dropped.

CWhy this is right: Unique lookup keys prevent join multiplication, so a row-count mismatch reveals lost orders before publication.

DWhy not this: Metrics published after the write can reveal a problem but cannot prevent an incomplete batch from being published.

With unique customer IDs in the lookup, comparing full source and joined row counts detects orders lost in the join; gating the write prevents publication. Customer ID completeness alone cannot detect non-null IDs that have no matching customer.