
Answer-first summary for fast verification
Answer: Create a pool in workspace1.
## Detailed Explanation ### Understanding the Problem The question requires reducing the startup and scale-up time for an Azure Databricks all-purpose cluster while minimizing costs. The workspace is currently in the Standard pricing tier. ### Analysis of Options **Option A: Configure a global init script for workspace1** - Global init scripts run during cluster initialization and can configure cluster settings - However, they don't directly reduce startup or scale-up times - Init scripts actually add to startup time as they need to execute - **Not suitable** for reducing cluster startup/scale-up times **Option B: Create a cluster policy in workspace1** - Cluster policies help enforce governance and control cluster configurations - While policies can ensure optimal configurations, they don't inherently reduce startup times - Policies are more about compliance and cost control rather than performance optimization - **Not the primary solution** for reducing startup/scale-up times **Option C: Upgrade workspace1 to the Premium pricing tier** - Premium tier offers additional features like role-based access control and audit logs - However, it doesn't specifically improve cluster startup or scale-up performance - Premium tier is significantly more expensive than Standard tier - **Contradicts the cost minimization requirement** and doesn't directly address the performance issue **Option D: Create a pool in workspace1** - **This is the optimal solution** because: - Azure Databricks pools maintain a set of idle, ready-to-use instances - When a cluster starts or scales up, it can use pre-provisioned instances from the pool - This eliminates the VM provisioning time, significantly reducing startup and scale-up latency - Pools are cost-effective as they only incur compute costs when instances are actually running workloads - The pool approach directly addresses the core requirement of reducing startup/scale-up times while minimizing costs ### Why Option D is Best 1. **Direct Performance Improvement**: Pools specifically target the problem of slow cluster startup and scaling by maintaining warm instances 2. **Cost Efficiency**: Unlike upgrading to Premium tier, pools don't require additional subscription costs and only use compute resources when needed 3. **Immediate Impact**: Creating a pool provides immediate benefits for cluster startup and scaling performance 4. **Azure Best Practice**: Using pools is a recommended approach in Azure Databricks for optimizing cluster performance while controlling costs The solution effectively balances performance requirements with cost constraints, making it the most appropriate first step.
Ultimate access to all questions.
Author: LeetQuiz Editorial Team
You have an Azure Databricks workspace named workspace1 in the Standard pricing tier. Workspace1 contains an all-purpose cluster named cluster1. You need to reduce the startup and scale-up time for cluster1 while minimizing costs. What should you do first?
A
Configure a global init script for workspace1.
B
Create a cluster policy in workspace1.
C
Upgrade workspace1 to the Premium pricing tier.
D
Create a pool in workspace1.
No comments yet.