Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Data Analyst Associate Exam - Topic 3 Question 48 Discussion

Actual exam question for Databricks's Databricks Certified Data Analyst Associate exam
Question #: 48
Topic #: 3
[All Databricks Certified Data Analyst Associate Questions]

A data analyst is attempting to drop a table my_table. The analyst wants to delete all table metadata and data.

They run the following command:

DROP TABLE IF EXISTS my_table;

While the object no longer appears when they run SHOW TABLES, the data files still exist.

Which of the following describes why the data files still exist and the metadata files were deleted?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Kathrine
3 days ago
I thought dropping a table would delete everything.
upvoted 0 times
...
Annice
8 days ago
Yeah, that makes sense!
upvoted 0 times
...
Jesus
13 days ago
The table was probably external.
upvoted 0 times
...
Deeanna
18 days ago
I thought managed tables would delete everything, but I guess if it was external, the data would remain. I need to double-check that!
upvoted 0 times
...
Leeann
24 days ago
I feel like the answer could be C, since external tables don't delete data files when dropped. I just can't recall the specifics.
upvoted 0 times
...
Edda
29 days ago
I think I practiced a question about managed vs. external tables, but I'm not entirely sure if the size of the data affects this.
upvoted 0 times
...
Eve
1 month ago
I remember that external tables keep their data outside the database, so that might explain why the files are still there after dropping the table.
upvoted 0 times
...

Save Cancel