Courseiva

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

You manage an Azure SQL Database that uses a Serverless compute tier. You notice that during idle periods, the database auto-pauses and then auto-resumes when a connection is made. However, users report that the first query after a pause is slow. You need to improve the performance of the first query. What should you do?

⚠ Common exam trap

Many candidates think increasing vCores or using a ping job solves the cold-start problem, but these options either do not address the root cause or are inefficient workarounds, while disabling auto-pause directly eliminates the latency by keeping the database always active.

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

✓

Disable auto-pause for the serverless database

The slow first query after auto-resume is caused by the cold-start latency of the serverless compute tier, which includes provisioning resources and warming the buffer pool. Disabling auto-pause ensures the database remains online and the buffer pool stays populated, eliminating the cold-start delay for the first query.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Increase the maximum vCores

    Why it's wrong here

    Maximum vCores govern peak throughput once the database is running, not the resume latency incurred when it restarts from a paused state. Raising them is tempting when queries are slow, yet the stem's slowness occurs only on the first query after auto-resume, which capacity sizing does not address.

  • ✗

    Create a SQL Agent job to ping the database every hour

    Why it's wrong here

    A SQL Agent job cannot run against Azure SQL Database, which has no Agent service, and hourly pings would not align with the pause window anyway. It is tempting because scheduled activity is a known way to keep a resource warm, but the supported mechanism here is setting the auto-pause delay to Never.

  • ✓

    Disable auto-pause for the serverless database

    Why this is correct

    Disabling auto-pause keeps the serverless database continuously active, eliminating the cold-start resume latency that delays the first query. This directly satisfies the requirement to improve first-query performance after idle periods, though it forfeits the cost savings auto-pause provides during inactivity.

  • ✗

    Enable Query Store

    Why it's wrong here

    Query Store captures execution plans and runtime statistics for performance troubleshooting; it does not influence how quickly a paused database resumes. It is tempting because it is a standard performance tool, but the delay stems from the auto-pause and auto-resume cycle, which Query Store leaves unchanged.

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 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.