DP-300 Configure and manage automation of tasks Practice Question
You manage an Azure SQL Managed Instance that hosts several databases. You need to automate the process of patching the operating system and SQL Server engine with minimal downtime. What should you use?
⚠ Common exam trap
DP-300 often tests the difference between automated patching features of Azure SQL Managed Instance and other Azure services, and candidates may incorrectly choose Azure Update Manager or manual methods.
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
✓
Configure the maintenance window for the Managed Instance.
Azure SQL Managed Instance provides a built-in maintenance window feature that allows you to schedule patching of the underlying OS and SQL Server engine with minimal downtime. Configuring the maintenance window ensures updates are applied during a specified time, reducing impact on production workloads.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure the maintenance window for the Managed Instance.
Why this is correct
Azure SQL Managed Instance handles OS and SQL engine patching automatically; the maintenance window merely schedules when that built-in patching occurs, letting you align it to low-traffic periods. Since the stem requires automation with minimal downtime, configuring the window satisfies both constraints without manual intervention or additional tooling.
- ✗
Use an Elastic Job agent to run a script that applies updates.
Why it's wrong here
Elastic Job agents execute T-SQL against databases, not OS or engine binaries, so they cannot install patches. They suit scheduled cross-database maintenance such as index rebuilds. Azure SQL Managed Instance performs OS and SQL patching automatically, so no agent is needed.
- ✗
Schedule a manual patching using the Azure portal.
Why it's wrong here
Portal scheduling still requires an administrator to trigger and monitor each patch cycle, so it is not automated and cannot guarantee minimal downtime. It suits one-off manual maintenance windows. Managed Instance handles OS and engine patching automatically through built-in update orchestration.
- ✗
Use Azure Update Manager to schedule patching.
Why it's wrong here
Azure Update Manager targets VMs and Arc-enabled servers, not the managed instance's OS and SQL engine, which Microsoft patches automatically. Update Manager is tempting for centralised patching, but it would be correct for guest OS patching on IaaS virtual machines.
Go deeper
Related to this question
Learn chapter
Deploying and Configuring Azure SQL Managed Instance
Key term
Azure SQL Managed Instance
Azure SQL Managed Instance is a fully managed cloud database service that gives you nearly all the features of Microsoft SQL Server on your own server, without you having to manage the hardware or operating system.
About these practice questions
One of 574 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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-300 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-300 exam.