DP-300 Configure and manage automation of tasks Practice Question
You need to automate the deployment of an Azure SQL Database and its schema to multiple environments (dev, test, prod) using a repeatable process. The solution must support version control and CI/CD integration. What should you use?
⚠ Common exam trap
The trap here is assuming that any automation tool can handle schema deployment, but only DACPAC-based pipelines provide built-in version control and CI/CD integration.
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 DevOps Pipelines with a DACPAC deployment task
Azure DevOps Pipelines with a DACPAC deployment task provide a robust CI/CD solution for deploying Azure SQL Database schemas. The DACPAC encapsulates the schema, and pipelines integrate with Git for version control. This enables automated, repeatable deployments across multiple environments with minimal manual intervention, aligning with DevOps best practices.
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 runbooks that execute sqlcmd scripts
Why it's wrong here
Azure Automation runbooks can run sqlcmd scripts, but they lack native integration with source control and CI/CD pipelines. Managing versioning and environment-specific configurations would require custom scripting, increasing complexity. While runbooks can automate deployment, they are not designed for schema versioning or CI/CD, making them less suitable than a dedicated pipeline with DACPAC.
- ✓
Azure DevOps Pipelines with a DACPAC deployment task
Why this is correct
Azure DevOps Pipelines can integrate with source control to automatically build and deploy a DACPAC (Data-tier Application Package) to Azure SQL Database. The DACPAC contains the schema and can be deployed using SqlPackage.exe. This supports version control, continuous integration, and continuous deployment, making it ideal for repeatable multi-environment deployments. It aligns with DevOps practices and automates the entire process.
- ✗
Azure Data Factory with a copy activity
Why it's wrong here
Azure Data Factory is a data integration service for orchestrating data movement and transformation. It does not deploy database schemas or manage DACPACs. While it can run stored procedures, it is not designed for schema deployment or CI/CD. Using Data Factory would not provide version control or repeatable schema deployment, so it does not meet the requirements.
- ✗
Azure Logic Apps with a SQL Server connector
Why it's wrong here
Azure Logic Apps provide workflow automation but are not intended for deploying database schemas. The SQL Server connector can execute queries, but it does not handle DACPAC deployment or schema versioning. Using Logic Apps would require manual script management and lacks CI/CD integration, making it unsuitable for repeatable, version-controlled deployments across environments.
Go deeper
Related to this question
Learn chapter
Deploying and Configuring Azure SQL Managed Instance
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
Courseiva writes every DP-300 question from scratch — 574 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.