Courseiva

DP-300 Practice Question: Monitor, configure, and optimize database resources

Network Topology
az sql db listresource-group rg1server server1query "[].{Name:nameAzure CLI outputRefer to the exhibit.Name Statusdb1 Onlinedb2 Onlinedb3 Paused

Refer to the exhibit. You executed the Azure CLI command to list databases. You need to resume db3 to make it available for connections. Which command 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

✓

az sql db resume --resource-group rg1 --server server1 --name db3

`az sql db resume` is the command to resume a paused database. Option A is wrong because `az sql db restart` restarts an online database but does not resume a paused one. Option C is wrong because `az sql db start` is not a valid command for Azure SQL Database. Option D is wrong because `az sql db update` can modify properties but cannot resume a paused database; resuming requires a dedicated command.

Answer analysis

Option-by-option breakdown

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

  • ✗

    az sql db restart --resource-group rg1 --server server1 --name db3

    Why it's wrong here

    The Azure CLI exposes no restart verb for SQL databases; db3 is a serverless database paused on inactivity, so resuming requires az sql db resume with the same resource group, server and name arguments. Restart is tempting because it sounds like the natural way to bring a stopped resource back online.

  • ✓

    az sql db resume --resource-group rg1 --server server1 --name db3

    Why this is correct

    db3 is a paused Azure SQL database, so resuming it requires the dedicated resume subcommand with the resource group, server and database names. The command az sql db resume --resource-group rg1 --server server1 --name db3 supplies exactly those parameters, restoring db3 to an available state.

  • ✗

    az sql db start --resource-group rg1 --server server1 --name db3

    Why it's wrong here

    The start command applies to Azure SQL Database serverless compute, not to a database paused by the list output; resuming a paused warehouse or database uses a different operation. It is tempting because start/stop pairs exist for serverless databases, which would be the right choice when a serverless database is auto-paused.

  • ✗

    az sql db update --resource-group rg1 --server server1 --name db3 --set status=Online

    Why it's wrong here

    The update command modifies database properties such as service tier or max size; it cannot transition a database from Paused to Online, which requires a resume operation. It is tempting because update is the general-purpose command for changing database configuration, and would be correct for altering SKU or collation.

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 →

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.