Course menuDEA-C01

Exams / DEA-C01 / Data quality / Question 2

DEA-C01 practice question: Data quality (2 of 2)

Data Operations and Support A free question from our original DEA-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A logistics broker's ETL job writes shipment records to a curated table. The upstream system occasionally sends the same shipment twice, and it sometimes sends a status code that is not one of the three allowed values: PICKED_UP, IN_TRANSIT or DELIVERED.

The data team wants two Glue Data Quality rules that fail the run for either problem, using DQDL.

Which TWO rules meet these requirements? (Choose two.)

Choose two answers.

  1. A. Add the rule IsUnique "shipment_id" to the ruleset that the job evaluates before it writes to the curated table.
  2. B. Add the rule ColumnValues "status" in ["PICKED_UP", "IN_TRANSIT", "DELIVERED"] to the ruleset that the job evaluates before it writes to the curated table.
  3. C. Add the rule RowCount > 0 to the ruleset that the job evaluates before it writes to the curated table.
  4. D. Add the rule IsComplete "status" to the ruleset that the job evaluates before it writes to the curated table.
  5. E. Add the rule ColumnLength "status" <= 10 to the ruleset that the job evaluates before it writes to the curated table.
Show the answer and explanation

Answers: A, B

Explanation

DQDL rules run inside the Glue job and fail the run on a bad batch. IsUnique catches duplicate shipment IDs, and ColumnValues with an allowed list catches status codes outside the three valid values. Row counts, null checks and length checks pass for those bad records, so they do not meet the requirement.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Data quality? The 5 full-length practice sets have 11 more Data quality questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets