🔥 3-day streak
AWS Certified Data Engineer - Associate3 / 159
Question 3 of 159
A data engineer maintains a nightly Athena CREATE TABLE AS SELECT (CTAS) job that transforms raw event logs into a curated Parquet dataset in an S3 prefix, registered as a table in the Glue Data Catalog. The job is orchestrated by Step Functions. Occasionally the workflow retries a failed step, and the engineer notices that the CTAS statement fails on rerun with an error indicating the target location already exists. The team wants the pipeline to be safely re-runnable without manual cleanup. Which approach best resolves this while keeping the transformation logic in Athena?
Reviewed for accuracy · Report an issueNext question