Courseiva

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

You manage an Azure SQL Database that uses automatic tuning. The database has the FORCE_LAST_GOOD_PLAN option enabled. A critical query suddenly starts performing poorly after a plan change. What is the expected behavior?

⚠ Common exam trap

Watch out — candidates often confuse FORCE_LAST_GOOD_PLAN with the default automatic tuning recommendation mode, which only suggests changes without automatic reversion, leading them to pick Option B or D.

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 database will automatically revert to the last good plan and log the event in sys.dm_db_tuning_recommendations.

When FORCE_LAST_GOOD_PLAN is enabled and automatic tuning detects a plan regression, Azure SQL Database automatically reverts to the last known good plan. The event is logged in sys.dm_db_tuning_recommendations for audit and analysis. This behavior is part of the automatic plan correction feature, which does not require manual intervention.

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 query will continue with the poor plan until you manually force a plan.

    Why it's wrong here

    Automatic tuning reverts automatically.

  • You will receive a recommendation to revert the plan change.

    Why it's wrong here

    The system will auto-revert, not just recommend.

  • The database will automatically revert to the last good plan and log the event in sys.dm_db_tuning_recommendations.

    Why this is correct

    Auto-revert occurs and is logged in the tuning recommendations DMV.

  • The database will automatically revert to the last good plan without notification.

    Why it's wrong here

    It will revert automatically, but Azure provides notifications.

About these practice questions

This DP-300 question is part of Courseiva's 906-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.