
Answer-first summary for fast verification
Answer: Storing secrets in Databricks Secrets.
Databricks Secrets is the recommended approach for managing secrets securely within Databricks. It encrypts the stored values at rest and in transit, providing an added layer of security. Other methods, such as storing secrets directly in notebook code, embedding them in environment variables, or including them in plain text files, pose significant security risks by potentially exposing sensitive information. While third-party password managers can be secure, Databricks Secrets offers a native, integrated solution specifically designed for this purpose within the platform.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What is the most secure method for managing secrets, like access keys or credentials, when mounting an external data source in Databricks?
A
Embedding secrets in environment variables within the Databricks cluster configuration.
B
Storing secrets directly in the Databricks notebook code.
C
Including secrets in plain text files within the mount options when defining the mount point.
D
Storing secrets in Databricks Secrets.
E
Using a third-party password manager to securely store and retrieve the secrets.
No comments yet.