
Answer-first summary for fast verification
Answer: DBFS is a file system protocol that allows users to interact with files stored in object storage using syntax and guarantees similar to Unix file systems.
Option A is correct because DBFS (Databricks File System) is indeed designed to abstract the underlying object storage, providing users with a Unix-like file system interface for easier interaction with files stored in object storage. This includes syntax and guarantees similar to traditional Unix file systems, making it user-friendly for those familiar with Unix commands. Options B, C, and D are incorrect for various reasons: B is incorrect because both DBFS root and mounted data sources are accessible to all users with appropriate permissions, not just workspace administrators. C is incorrect because the security of data does not solely depend on its location (DBFS root or mounted storage) and mounted storage volumes do not require full public read and write permissions. D is incorrect because both DBFS root and mounted storage can be accessed using %sh in a Databricks notebook, allowing for shell command execution. Option E is incorrect because the DBFS root does not store files in ephemeral block volumes; it is a persistent storage solution, and mounted directories are designed to persist data to external storage between sessions, not the other way around.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Two primary data storage locations in Databricks are DBFS root storage and external object storage mounted using dbutils.fs.mount().
Which statement is accurate regarding these storage options?
A
DBFS is a file system protocol that allows users to interact with files stored in object storage using syntax and guarantees similar to Unix file systems.
B
By default, both the DBFS root and mounted data sources are only accessible to workspace administrators.
C
The DBFS root is the most secure location to store data, because mounted storage volumes must have full public read and write permissions.
D
Neither the DBFS root nor mounted storage can be accessed when using %sh in a Databricks notebook.
E
The DBFS root stores files in ephemeral block volumes attached to the driver, while mounted directories will always persist saved data to external storage between sessions.
No comments yet.