Noos
PT EN
RAN-DBDEA-00056
Ranvier · DBDEA

Exam DBDEA Topics: transformation Difficulty: medium

A team hardening silver tables in Unity Catalog debates how far the database itself will enforce data quality: - "If we add a PRIMARY KEY, duplicate keys can never be inserted." - "CHECK constraints only warn the writer; the row is still committed." - "NOT NULL can only be set at CREATE TABLE time." Which statement about table constraints in Databricks is correct?

Options (Reading Mode) Click to filter discussion →
  1. A. CHECK constraints are advisory — they are recorded in the table schema but never block or roll back a write
  2. B. PRIMARY KEY constraints reject INSERT statements that would create duplicate key values
  3. C. NOT NULL and CHECK are enforced on writes; PRIMARY KEY and FOREIGN KEY are informational only
  4. D. Constraints apply only to external tables; managed tables skip validation entirely
Reveal answer

Correct answer: NOT NULL and CHECK are enforced on writes; PRIMARY KEY and FOREIGN KEY are informational only

Reference: https://docs.databricks.com/aws/en/tables/constraints

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (C): NOT NULL and CHECK are enforced on writes; PRIMARY KEY and FOREIGN KEY are informational only

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/tables/constraints
Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.