Skip to content
DEP
Data Transformation, Cleansing, and Quality
hard
Question 5 of 20

A data engineer appends data to an existing Delta table using the following code. The DataFrame df_new has an extra column discount_pct that does not exist in the current table schema. What is the default behavior?

df_new.write \
    .format("delta") \
    .mode("append") \
    .save("/mnt/delta/orders")

AThe write succeeds; discount_pct is silently dropped to match the existing schema
BThe write fails with an AnalysisException because Delta Lake enforces schema by default
CThe write succeeds; discount_pct is automatically added to the Delta table schema
DThe write partially succeeds; only rows where discount_pct is null are written

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion