Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 96 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 96
Topic #: 1
[All Certified Data Engineer Professional Questions]

A junior data engineer is migrating a workload from a relational database system to the Databricks Lakehouse. The source system uses a star schema, leveraging foreign key constraints and multi-table inserts to validate records on write.

Which consideration will impact the decisions made by the engineer while migrating this workload?

  • A. Databricks only allows foreign key constraints on hashed identifiers, which avoid collisions in highly-parallel writes.
  • B. Databricks supports Spark SQL and JDBC; all logic can be directly migrated from the source system without refactoring.
  • C. Committing to multiple tables simultaneously requires taking out multiple table locks and can lead to a state of deadlock.
  • D. All Delta Lake transactions are ACID compliant against a single table, and Databricks does not enforce foreign key constraints.
  • E. Foreign keys must reference a primary key field; multi-table inserts must leverage Delta Lake’s upsert functionality.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vctrhugo
9 months, 3 weeks ago
Selected Answer: D
In Databricks Delta Lake, transactions are ACID compliant at the table level, meaning that transactions apply to a single table. However, Delta Lake does not enforce foreign key constraints across tables. Therefore, the data engineer needs to be aware that Databricks does not automatically enforce referential integrity between tables through foreign key constraints, and it becomes the responsibility of the data engineer to manage these relationships appropriately.
upvoted 4 times
...
alexvno
11 months, 1 week ago
Selected Answer: D
Primary and foreign keys are informational only and are not enforced.
upvoted 2 times
...
60ties
1 year ago
Selected Answer: D
D makes more sense. Since there are no database-level transactions, locks, or guarantees, and since primary key & foreign key constraints are informational only, there is no guarantee of enforced relations (the start schema) in place will remain in place after migration. This means B cannot be right.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...