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
Tora
15 days ago
Wait, so the data files just stay there? That's weird.
upvoted 0 times
...
Lachelle
20 days ago
Yeah, that makes sense!
upvoted 0 times
...
Galen
26 days ago
The table was probably external.
upvoted 0 times
...
Josphine
1 month ago
No way, it can't be because of the size!
upvoted 0 times
...
Osvaldo
1 month ago
Wait, so the data files just stay there?
upvoted 0 times
...
Kathrine
1 month ago
I thought dropping a table would delete everything.
upvoted 0 times
...
Annice
2 months ago
Yeah, that makes sense!
upvoted 0 times
...
Jesus
2 months ago
The table was probably external.
upvoted 0 times
...
Deeanna
2 months 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
2 months 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
2 months 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
2 months 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