Courseiva

DP-300 Configure and manage automation of tasks Practice Question

Network Topology
az sql db updateresource-group $RESOURCE_GROUPserver $SERVER_NAMEname $DATABASE_NAMEservice-objective S2RESOURCE_GROUP="rg-db-automation"SERVER_NAME="sql-prod-01"DATABASE_NAME="OrdersDB"

Refer to the exhibit. An administrator runs this Azure CLI command. What is the immediate effect?

⚠ Common exam trap

The trap is confusing 'server' with 'database' in Azure SQL — candidates often assume the command affects the logical server, but Azure SQL Database service objectives apply per database, not per server.

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

✓

The OrdersDB database's service objective is updated to S2.

The Azure CLI command 'az sql db update' with '--service-objective S2' modifies the service tier of an existing database. The immediate effect is that the OrdersDB database's service objective is changed to S2, which alters its performance level and cost. It does not create a new database or change the server tier.

Answer analysis

Option-by-option breakdown

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

  • ✗

    The server's performance tier is changed to S2.

    Why it's wrong here

    The command specifies a database service objective, not a server-level performance tier; server tier changes use a different parameter and scope, so the server's tier is unaffected. It is tempting because S2 is a valid tier name, but it applies to the database, not the logical server, and would be correct only when altering the server's compute tier.

  • ✓

    The OrdersDB database's service objective is updated to S2.

    Why this is correct

    The command alters the database's service objective, moving it to the S2 performance level within its existing elastic pool or standalone tier. This immediately changes the compute and DTU allocation applied to OrdersDB, taking effect without recreating the database.

  • ✗

    The database is scaled down from a higher tier to S2.

    Why it's wrong here

    The command targets the database's service objective, so it changes the database's tier rather than scaling down from a higher tier; an immediate scale-down from a higher tier would require the current tier to be higher than S2, which the exhibit does not establish. It is tempting because S2 is a lower tier, but the operation sets the target tier directly.

  • ✗

    A new database named OrdersDB is created with S2 tier.

    Why it's wrong here

    The command alters an existing database's service objective; it does not create a new database, and no create operation is present in the exhibit. It is tempting because S2 is a valid tier for a new database, but creation requires a separate command with a create flag, so this would be correct only if the command were a create operation.

About these practice questions

One of 574 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.