Courseiva

DP-300 Configure and manage automation of tasks Practice Question

You administer an Azure SQL Managed Instance that hosts a mission-critical database. You need to configure an automated task that will execute a T-SQL script to perform a full backup of the database to a URL every night at midnight. The solution must use built-in Azure capabilities and minimize cost. What should you use?

⚠ Common exam trap

The trap here is overlooking that SQL Server Agent is available on Azure SQL Managed Instance, unlike Azure SQL Database.

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

✓

SQL Server Agent job on the managed instance

Azure SQL Managed Instance includes SQL Server Agent, which allows you to create and schedule T-SQL jobs. For a nightly full backup to URL, a SQL Server Agent job with a T-SQL step is the most straightforward and cost-effective solution, leveraging existing functionality without extra services.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Azure Automation runbook with a schedule

    Why it's wrong here

    Azure Automation can run T-SQL scripts against Azure SQL Managed Instance, but it requires additional setup such as a hybrid runbook worker or a public endpoint, and it incurs extra cost and complexity. Since SQL Server Agent is already available on the managed instance, using it is simpler and more cost-effective for this scenario.

  • ✗

    Azure Logic Apps with a recurrence trigger

    Why it's wrong here

    Azure Logic Apps can trigger a stored procedure or query, but they cannot directly execute a BACKUP DATABASE TO URL command. The SQL connector in Logic Apps does not support backup operations. Additionally, Logic Apps would introduce additional cost and complexity compared to using the built-in SQL Server Agent.

  • ✗

    Elastic Database Jobs

    Why it's wrong here

    Elastic Database Jobs are not supported on Azure SQL Managed Instance. They are designed for Azure SQL Database. Using them here would not work, and you would need to deploy additional components. SQL Server Agent is the native scheduling solution for managed instances.

  • ✓

    SQL Server Agent job on the managed instance

    Why this is correct

    Azure SQL Managed Instance includes SQL Server Agent, which is fully supported. You can create a job with a T-SQL step that runs BACKUP DATABASE TO URL, and schedule it to run daily at midnight. This uses the built-in capabilities of the managed instance and does not require additional Azure services, minimizing cost and administrative effort.

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 →

How Courseiva writes practice questions · Editorial policy

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.