Courseiva
Question 740 of 919
Configure and manage automation of taskseasyMultiple ChoiceObjective-mapped

DP-300 Configure and manage automation of tasks Practice Question

You need to automate the process of scaling an Azure SQL Database to a higher service tier when CPU usage exceeds 80% for 5 consecutive minutes. Which Azure service is best suited for this automation?

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 Logic App triggered by an Azure Monitor metric alert, calling the Azure SQL Database REST API to update the tier.

Azure Logic Apps can be easily triggered by an Azure Monitor metric alert and can call the Azure SQL Database REST API to update the service tier. This provides a simple, low-code solution for automating scaling based on CPU thresholds. Option B is incorrect because Elastic Database Jobs are designed for executing T-SQL scripts across multiple databases, not for scaling operations. Option C is incorrect: although Azure Automation Runbooks can be triggered by alerts and use PowerShell, they require more setup and overhead compared to Logic Apps. Option D is also less optimal: Azure Functions can work but Logic Apps offer a more straightforward integration with Azure Monitor alerts and REST APIs for this specific use case.

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 Logic App triggered by an Azure Monitor metric alert, calling the Azure SQL Database REST API to update the tier.

    Why this is correct

    Logic Apps have native integration with Azure Monitor alerts and REST APIs.

  • Elastic Database Job that monitors sys.dm_db_resource_stats and executes ALTER DATABASE.

    Why it's wrong here

    Elastic Database Jobs cannot scale databases.

  • Azure Automation Runbook triggered by an Azure Monitor alert, using PowerShell to scale the database.

    Why it's wrong here

    An Azure Automation Runbook, while capable of executing PowerShell to modify database tiers, is not the dedicated service for reactive, metric-driven autoscaling. It would necessitate custom scripting to implement the entire scaling logic, including continuous metric evaluation and threshold adherence, which is inherently provided by Azure Autoscale. This option is tempting because runbooks are excellent for bespoke administrative tasks, complex cross-service workflows, or scheduled operations where native Azure features don't offer the required customisation.

  • Azure Function triggered by an Azure Monitor alert, using the Azure SDK to scale.

    Why it's wrong here

    Azure Functions require more code than Logic Apps.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.