
Answer-first summary for fast verification
Answer: Create a new group with the necessary permissions for the folder, then use the 'databricks groups add-member' command to add the user to this group, ensuring scalable permission management.
Option B is the correct approach because it adheres to best practices by using groups for permission management, which is scalable and reduces administrative overhead. Directly assigning permissions to users (Option A) is not scalable, creating a new folder (Option C) does not solve the problem for existing folders, and mounting (Option D) is not the intended use for internal workspace permissions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a scenario where you are managing a Databricks workspace and need to grant a user access to a specific folder within the workspace, considering the constraints of minimal administrative overhead and adherence to best practices for permission management, which of the following approaches would you choose? (Choose one option)
A
Directly assign the user to the folder using the 'databricks workspace access' command with the user email and folder path as parameters, bypassing group assignments for simplicity.
B
Create a new group with the necessary permissions for the folder, then use the 'databricks groups add-member' command to add the user to this group, ensuring scalable permission management.
C
Use the 'databricks workspace create-folder' command to create a new folder with the user already having access, though this does not address existing folders.
D
Mount the folder to the user's workspace using the 'databricks permissions mount' command, though this is typically used for external storage rather than internal workspace permissions.