DP-300 Configure and manage automation of tasks Practice Question
Which TWO actions can be performed using Azure Automation runbooks for Azure SQL Database? (Choose two.)
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
✓
Execute T-SQL scripts against Azure SQL Database
Azure Automation runbooks can execute T-SQL scripts and scale databases. They cannot manage on-premises SQL Server directly (requires hybrid worker). SQL Agent jobs cannot be created in Azure SQL Database.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy Azure Resource Manager templates
Why it's wrong here
Runbooks can deploy ARM templates but it's not a direct action on SQL.
- ✓
Execute T-SQL scripts against Azure SQL Database
Why this is correct
Using Invoke-SqlCmd module.
- ✗
Create SQL Agent jobs on Azure SQL Database
Why it's wrong here
SQL Agent not available in Azure SQL Database.
- ✓
Scale an Azure SQL Database up or down
Why this is correct
Using Set-AzSqlDatabase.
- ✗
Manage on-premises SQL Server instances directly
Why it's wrong here
Requires hybrid runbook worker.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Performance Tuning
Azure SQL Performance Tuning is the process of optimizing the speed and efficiency of queries and database operations in Microsoft Azure SQL Database or SQL Managed Instance to reduce latency and improve throughput.
About these practice questions
This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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-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.