Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 6 discussion

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

Which of the following code blocks will remove the rows where the value in column age is greater than 25 from the existing Delta table my_table and save the updated table?

  • A. SELECT * FROM my_table WHERE age > 25;
  • B. UPDATE my_table WHERE age > 25;
  • C. DELETE FROM my_table WHERE age > 25;
  • D. UPDATE my_table WHERE age <= 25;
  • E. DELETE FROM my_table WHERE age <= 25;
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
80370eb
3 months, 2 weeks ago
Selected Answer: C
to remove the data from a table we can use delete from table with condition.
upvoted 1 times
...
mascarenhaslucas
5 months, 2 weeks ago
Selected Answer: C
The answer is C!
upvoted 1 times
...
Svengance
7 months, 1 week ago
Selected Answer: A
there is not delete history option just the vacuum with its parameters of time retention.
upvoted 1 times
...
bettermakeme
8 months ago
Answer is C. Just finished exam-got 100% [Databricks Associate Exam Practice Exams] All questions came from Databricks Certified Data Engineer Associate https://www.udemy.com/share/10aEFa3@9M_uT6vrKbnl68tOK96kfy-YWitjwzLTlVCrzPs-0hGUu8fyX8V4Tn_x_y65bwLm/
upvoted 3 times
...
Itmma
8 months, 1 week ago
Selected Answer: C
C is correct
upvoted 1 times
...
SerGrey
11 months, 1 week ago
Selected Answer: C
C. DELETE FROM my_table WHERE age > 25;
upvoted 1 times
...
VijayKula
1 year, 1 month ago
Selected Answer: C
Answer is C
upvoted 1 times
...
DavidRou
1 year, 1 month ago
Selected Answer: C
C is the correct answer as the SELECT statement allows to query a table, the UPDATE statement allows to modify values in columns. If you want to remove rows that don't match a specific condition you must use DELETE
upvoted 2 times
...
KalavathiP
1 year, 2 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
ArindamNath
1 year, 2 months ago
C is correct
upvoted 1 times
...
vctrhugo
1 year, 2 months ago
Selected Answer: C
C. DELETE FROM my_table WHERE age > 25;
upvoted 1 times
...
nb1000
1 year, 4 months ago
C is correct
upvoted 1 times
...
prasioso
1 year, 6 months ago
C is correct. use DELETE FROM to delete existing records from the table. UPDATE is used to modify existing records. SELECT only creates a view, it does not alter the table records.
upvoted 2 times
...
Varma_Saraswathula
1 year, 7 months ago
C - is correct answer
upvoted 1 times
...
knivesz
1 year, 7 months ago
Selected Answer: C
C es correcto
upvoted 2 times
...
surrabhi_4
1 year, 7 months ago
Selected Answer: C
option c
upvoted 1 times
...
XiltroX
1 year, 7 months ago
C is the correct answer
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 ...