DP-203 Practice Question: Secure, monitor, and optimize data storage and data processing
Your company uses Azure Databricks for data processing. You need to ensure that spark jobs cannot access certain storage accounts. What is the most secure approach?
⚠ Common exam trap
DP-203 often tests the misconception that storing keys in Key Vault is 'secure enough' — the exam expects you to recognize that eliminating secrets entirely via managed identity + RBAC is the most secure approach.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use Azure RBAC to grant specific storage account permissions to the Azure Databricks managed identity.
Using Azure RBAC to grant specific storage account permissions to the Azure Databricks managed identity is the most secure approach because it eliminates the need to store or transmit storage account keys, and it enforces least-privilege access through Microsoft Entra ID identities. The managed identity is automatically managed by Azure, so credentials are rotated and never exposed to notebooks or code. This aligns with the principle of avoiding long-lived secrets and centralizing access control.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Store storage account keys in Azure Key Vault and retrieve them in notebooks.
Why it's wrong here
Storing keys in Key Vault still lets notebooks retrieve and present them, so any job with vault access reaches the blocked accounts; the requirement is denial, not credential handling. Key Vault suits centralised secret rotation and audit for workloads that legitimately need those keys.
- ✗
Use shared access keys and restrict their usage.
Why it's wrong here
Shared access keys authenticate at the account level and, once issued, grant access to the storage account regardless of job identity. They suit time-limited delegated access to specific resources, not preventing Spark jobs from reaching named accounts.
- ✓
Use Azure RBAC to grant specific storage account permissions to the Azure Databricks managed identity.
Why this is correct
Azure RBAC scoped to the Azure Databricks managed identity grants least-privilege access at the storage account level, so jobs running under that identity cannot reach accounts where no role assignment exists. This enforces authorisation centrally without embedding credentials in notebooks.
- ✗
Disable public network access on storage accounts.
Why it's wrong here
Disabling public network access blocks internet traffic but does not stop Databricks jobs reaching the account through private endpoints or service endpoints within the network. It suits storage accounts that must never be internet-reachable, not restricting specific compute identities.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
Go deeper
Related to this question
Learn chapter
Secure Data at Rest and in Transit
Key term
Azure Databricks
Azure Databricks is a fast, easy, and collaborative Apache Spark-based analytics platform optimized for Azure that lets data teams prepare data, run machine learning models, and build data pipelines using a single workspace.
Key term
Azure RBAC for Data
Azure RBAC for Data is a security system that controls who can read, write, or manage data in Azure storage services using role-based permissions.
About these practice questions
This DP-203 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This DP-203 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-203 exam.