DP-203 Practice Question: Secure, monitor, and optimize data storage and data processing
Your team uses Azure Databricks for data processing. You need to implement a cost-control strategy that automatically terminates idle clusters after 30 minutes of inactivity, but allows users to override this policy for specific workloads that require long-running clusters. What is the most efficient 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
✓
Create a cluster policy that enforces auto-termination with a default of 30 minutes, but allows users to override the value for specific clusters.
Cluster policies in Azure Databricks allow admins to define rules (e.g., auto-termination) while allowing users to choose different values within allowed limits. Option A is wrong because manual termination is not automatic. Option B is wrong because cluster policies are not enforced by Azure Policy. Option C is wrong because auto-termination is a cluster-level setting, not a global policy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Instruct all users to set auto-termination to 30 minutes on each cluster they create.
Why it's wrong here
Incorrect: This relies on user compliance, not automated enforcement.
- ✗
Configure a global auto-termination setting in the Azure Databricks workspace that terminates all clusters after 30 minutes of inactivity.
Why it's wrong here
Incorrect: This would apply to all clusters without exceptions, overriding user needs.
- ✗
Use Azure Policy to enforce a tag that triggers a function to terminate idle clusters.
Why it's wrong here
Incorrect: Azure Policy cannot directly terminate Databricks clusters; it can only audit or enforce tagging.
- ✓
Create a cluster policy that enforces auto-termination with a default of 30 minutes, but allows users to override the value for specific clusters.
Why this is correct
Correct: Cluster policies provide a balance between governance and flexibility, allowing overrides as needed.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DP-203 question from scratch — 760 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.