
Answer-first summary for fast verification
Answer: Utilize Unity Catalog‘s fine-grained access control to manage permissions on UDFs based on user roles and groups.
Databricks Unity Catalog allows fine-grained access control, which can be used to securely manage UDFs by controlling access at a very granular level. This means that UDFs can be secured based on user roles and groups, ensuring that only authorized users can access and execute them. Other options like embedding UDF definitions in notebooks or relying on Databricks runtime to enforce access control are less secure and don’t offer the same level of control or scalability as Unity Catalog’s fine-grained access control. Using external databases and Databricks secrets to control access might also be useful, but Unity Catalog is the most direct and robust solution for managing permissions on UDFs within Databricks.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a multi-user environment where SQL UDFs are extensively used for data transformation within Databricks notebooks, which strategy ensures that UDFs are securely shared and executed only by authorized users?
A
Store UDF definitions in external databases and use Databricks secrets to control access to those databases.
B
Register UDFs globally and rely on Databricks runtime to enforce access control implicitly.
C
Utilize Unity Catalog‘s fine-grained access control to manage permissions on UDFs based on user roles and groups.
D
Embed UDF definitions within specific notebooks, controlling access at the notebook level using Databricks workspace ACLs.