
Explanation:
The principle of least privilege is a cornerstone of secure data engineering. In development and testing environments, users often have elevated rights (such as the ability to execute arbitrary code). Granting these users write or admin access to production data creates a high risk of accidental or malicious data modification.
Ultimate access to all questions.
No comments yet.
A data engineering team is establishing development, testing, and production environments for a new pipeline. To ensure high-quality testing of both code and output, they aim to use data that closely mirrors the production environment. A junior engineer suggests mounting production data directly to the development and testing environments, where users currently have administrative privileges. Which statement describes the best practice for managing this scenario?
A
In environments where interactive code is executed, production data should be accessible via read-only permissions; isolating databases or catalogs for each environment further mitigates operational risks.
B
Delta Lake’s support for versioning and time travel ensures that production data cannot be permanently lost due to user error, making it generally safe to mount production data in development environments.
C
All code and data for development, testing, and production should reside in a single, unified workspace to minimize administrative overhead and simplify environment management.
D
Since production data access is verified using credential passthrough, it is inherently safe to mount this data in any Databricks development environment regardless of user privileges.