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 27 discussion

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

A junior data engineer on your team has implemented the following code block.

The view new_events contains a batch of records with the same schema as the events Delta table. The event_id field serves as a unique key for this table.
When this query is executed, what will happen with new records that have the same event_id as an existing record?

  • A. They are merged.
  • B. They are ignored.
  • C. They are updated.
  • D. They are inserted.
  • E. They are deleted.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
imatheushenrique
4 months, 2 weeks ago
B. They are ignored. Because there is not mention so there is no WHEN statement for this condition
upvoted 2 times
...
PrashantTiwari
8 months, 1 week ago
B is correct
upvoted 2 times
...
kz_data
9 months, 1 week ago
Selected Answer: B
B is correct
upvoted 1 times
...
alexvno
1 year ago
Selected Answer: B
Ignored
upvoted 1 times
...
rairaix
1 year ago
Selected Answer: B
The answer is correct. "If none of the WHEN MATCHED conditions evaluate to true for a source and target row pair that matches the merge_condition, then the target row is left unchanged." https://docs.databricks.com/en/sql/language-manual/delta-merge-into.html#:~:text=If%20none%20of%20the%20WHEN%20MATCHED%20conditions%20evaluate%20to%20true%20for%20a%20source%20and%20target%20row%20pair%20that%20matches%20the%20merge_condition%2C%20then%20the%20target%20row%20is%20left%20unchanged.
upvoted 3 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 ...