QuestionQ199

VerifiedDebugging and Deploying

In a Databricks Asset Bundle project, in resources/app.yml, a data engineer wants to deploy a Databricks Apps databricks_app_deployed and a Volume volume_deployed, then grant the service principal behind Databricks Apps permission to read from and write to the Volume.

How should the data engineer perform the deployment?

Explanation

A Unity Catalog volume grant must include the volume privileges READ_VOLUME and WRITE_VOLUME for the app’s service principal. In current Declarative Automation Bundle syntax, both objects belong under resources, and the service-principal principal is referenced as ${resources.apps.<app-key>.service_principal_client_id}. Choice A has the intended resource definitions and correct volume privilege names, although its interpolation reflects older or incomplete syntax.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!