Courseiva
Configure and manage automation of taskseasyMultiple ChoiceObjective-mapped

DP-300 Configure and manage automation of tasks Practice Question

You are tasked with automating the creation of user databases in an Azure SQL Managed Instance after deployment. Which tool should you use?

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

Azure Automation with PowerShell runbooks

Azure Automation with PowerShell runbooks is ideal for automating post-deployment tasks such as creating user databases. Azure Resource Manager templates deploy infrastructure but not subsequent database operations. SQL Agent jobs are available in Azure SQL Managed Instance, but Azure Automation provides more orchestration flexibility. Elastic Database Jobs are supported in Azure SQL Managed Instance (in preview), but they are primarily designed for cross-database query scheduling and management, making Azure Automation a more appropriate choice for database creation automation.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Elastic Database Jobs

    Why it's wrong here

    Elastic jobs are for tasks across many databases, but overkill for a single database.

  • Azure Automation with PowerShell runbooks

    Why this is correct

    PowerShell runbooks can connect to the managed instance and run CREATE DATABASE.

  • Azure Resource Manager templates

    Why it's wrong here

    ARM templates are for infrastructure deployment, not runtime database creation.

  • SQL Agent jobs

    Why it's wrong here

    SQL Agent jobs are available in Azure SQL Managed Instance and can create databases, but they are less flexible for orchestrating post-deployment tasks compared to Azure Automation with PowerShell runbooks.

About these practice questions

One of 906 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.