exam questions

Exam Certified Data Engineer Associate All Questions

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

Exam Certified Data Engineer Associate topic 1 question 16 discussion

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

Which of the following commands can be used to write data into a Delta table while avoiding the writing of duplicate records?

  • A. DROP
  • B. IGNORE
  • C. MERGE
  • D. APPEND
  • E. INSERT
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
80370eb
Highly Voted 8 months, 3 weeks ago
Selected Answer: C
C. MERGE The MERGE command allows you to perform upserts (update and insert) into a Delta table, effectively avoiding duplicates by updating existing records and inserting new ones as needed.
upvoted 5 times
...
SoumyaHK
Most Recent 4 days, 16 hours ago
Selected Answer: C
The response is C
upvoted 1 times
...
BharaniRaj
11 months, 2 weeks ago
Selected Answer: C
C is the right answer
upvoted 1 times
...
benni_ale
1 year ago
Selected Answer: C
C merge
upvoted 1 times
...
SerGrey
1 year, 3 months ago
Selected Answer: C
Correct answer is C
upvoted 1 times
...
awofalus
1 year, 5 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
J_1_2
1 year, 6 months ago
Selected Answer: C
Merge is correct
upvoted 1 times
...
DavidRou
1 year, 6 months ago
MERGE INTO is the one to choose if you want to avoid duplicates.
upvoted 2 times
...
chris_mach
1 year, 7 months ago
Selected Answer: C
Merge is correct
upvoted 1 times
...
KalavathiP
1 year, 7 months ago
Selected Answer: C
Merge will avoid duplicates by comparing the results based on primary key columns
upvoted 1 times
...
vctrhugo
1 year, 7 months ago
Selected Answer: C
C. MERGE The MERGE command is used to write data into a Delta table while avoiding the writing of duplicate records. It allows you to perform an "upsert" operation, which means that it will insert new records and update existing records in the Delta table based on a specified condition. This helps maintain data integrity and avoid duplicates when adding new data to the table.
upvoted 3 times
...
Atnafu
1 year, 9 months ago
C. MERGE To write data into a Delta table while avoiding the writing of duplicate records, you can use the MERGE command. The MERGE command in Delta Lake allows you to combine the ability to insert new records and update existing records in a single atomic operation. The MERGE command compares the data being written with the existing data in the Delta table based on specified matching criteria, typically using a primary key or unique identifier. It then performs conditional actions, such as inserting new records or updating existing records, depending on the comparison results. By using the MERGE command, you can handle the prevention of duplicate records in a more controlled and efficient manner. It allows you to synchronize and reconcile data from different sources while avoiding duplication and ensuring data integrity. Therefore, option C, MERGE, is the correct command to use when writing data into a Delta table while avoiding the writing of duplicate records.
upvoted 3 times
...
softthinkers
1 year, 12 months ago
Answer is C. AS DROP is used to remove a table or database IGNORE is used to skip errors while executing a query. INSERT will add new records but will not avoid duplication so Merge is right answer
upvoted 2 times
...
Ans - C https://docs.databricks.com/sql/language-manual/delta-merge-into.html
upvoted 2 times
...
naxacod574
2 years ago
Option C
upvoted 1 times
...
XiltroX
2 years ago
Selected Answer: D
Wrong answer. The correct answer is D.
upvoted 1 times
Oleskie
2 years ago
'C' is a correct answer. https://docs.databricks.com/sql/language-manual/delta-merge-into.html
upvoted 4 times
XiltroX
2 years ago
Thanks for the clarification
upvoted 1 times
...
...
...
knivesz
2 years ago
Selected Answer: C
la unica opcion posible
upvoted 3 times
knivesz
2 years ago
Respuesta correcta C A) DROP: Elimina registros, B) IGNORE : NO existe C) MERGE: EN base a la data, registra, actualiza o elimina registros, D) NO existe E) Solo inserta
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago