- A
Rebuild the clustered index to reduce fragmentation.
Why wrong: Fragmentation is not the primary issue; a scan is due to missing indexes.
- B
Update statistics on the table to ensure the optimizer has current information.
Up-to-date statistics help the optimizer choose efficient plans.
- C
Force a different query plan using Query Store hints.
Why wrong: Forcing a plan without analysis can cause performance regression.
- D
Increase the DTU service tier of the database.
Why wrong: DTU model is not applicable to vCore-based Azure SQL Database.
- E
Create a covering nonclustered index on the columns used in the query.
A covering index can replace the scan with a seek.
Quick Answer
The answer is to update statistics and create a covering nonclustered index on the columns used in the query. A clustered index scan occurs when the query optimizer lacks precise data distribution information or a suitable index to satisfy the query without scanning every row; updating statistics refreshes this metadata, often enabling a more efficient seek or range scan, while a covering nonclustered index eliminates the need to access the clustered index entirely by including all referenced columns. On the Microsoft Azure Database Administrator Associate DP-300 exam, this scenario tests your ability to interpret Query Performance Insight and plan cache data, with a common trap being to immediately add indexes without first checking for stale statistics—a low-cost, non-disruptive step that can resolve many performance issues. Remember the mnemonic "Stats First, Index Last" to avoid unnecessary schema changes when optimizing a query with a clustered index scan in Azure SQL Database.
DP-300 Practice Question: Monitor, configure, and optimize database resources
This DP-300 practice question tests your understanding of monitor, configure, and optimize database resources. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
You are monitoring an Azure SQL Database using Query Performance Insight and notice that a specific query has a high average duration and high CPU usage. The query plan shows a clustered index scan on a large table. Which two actions should you take to optimize performance? (Choose two.)
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
Update statistics on the table to ensure the optimizer has current information.
Option B is correct because updating statistics provides the query optimizer with current data distribution information, which can lead to a more efficient query plan, potentially avoiding the clustered index scan. In Azure SQL Database, stale statistics are a common cause of suboptimal plans, and updating them is a low-cost, non-disruptive first step before considering index changes.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Rebuild the clustered index to reduce fragmentation.
Why it's wrong here
Fragmentation is not the primary issue; a scan is due to missing indexes.
- ✓
Update statistics on the table to ensure the optimizer has current information.
Why this is correct
Up-to-date statistics help the optimizer choose efficient plans.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Force a different query plan using Query Store hints.
Why it's wrong here
Forcing a plan without analysis can cause performance regression.
- ✗
Increase the DTU service tier of the database.
Why it's wrong here
DTU model is not applicable to vCore-based Azure SQL Database.
- ✓
Create a covering nonclustered index on the columns used in the query.
Why this is correct
A covering index can replace the scan with a seek.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often jump to index rebuilds or scaling up resources, overlooking that stale statistics are a frequent and easily fixable cause of poor query plans in Azure SQL Database.
Detailed technical explanation
How to think about this question
When a query performs a clustered index scan, it reads all rows in the table; updating statistics can change the estimated row count and cardinality, potentially enabling the optimizer to choose a seek operation or a different join strategy. In Azure SQL Database, automatic statistics updates occur by default but may not trigger for large tables with frequent modifications, so manual updates are sometimes necessary. A covering nonclustered index (option E) can eliminate the scan entirely by including all columns referenced in the query, allowing index-only access without touching the clustered index.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Monitor, configure, and optimize database resources — study guide chapter
Learn the concepts, then practise the questions
- →
Monitor, configure, and optimize database resources practice questions
Targeted practice on this topic area only
- →
All DP-300 questions
953 questions across all exam domains
- →
Microsoft Azure Database Administrator Associate DP-300 study guide
Full concept coverage aligned to exam objectives
- →
DP-300 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DP-300 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Plan and configure a high availability and disaster recovery environment practice questions
Practise DP-300 questions linked to Plan and configure a high availability and disaster recovery environment.
Plan and implement data platform resources practice questions
Practise DP-300 questions linked to Plan and implement data platform resources.
Monitor, configure, and optimize database resources practice questions
Practise DP-300 questions linked to Monitor, configure, and optimize database resources.
Configure and manage automation of tasks practice questions
Practise DP-300 questions linked to Configure and manage automation of tasks.
Plan and configure high availability and disaster recovery practice questions
Practise DP-300 questions linked to Plan and configure high availability and disaster recovery.
Implement a secure environment practice questions
Practise DP-300 questions linked to Implement a secure environment.
DP-300 fundamentals practice questions
Practise DP-300 questions linked to DP-300 fundamentals.
DP-300 scenario practice questions
Practise DP-300 questions linked to DP-300 scenario.
DP-300 troubleshooting practice questions
Practise DP-300 questions linked to DP-300 troubleshooting.
Practice this exam
Start a free DP-300 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this DP-300 question test?
Monitor, configure, and optimize database resources — This question tests Monitor, configure, and optimize database resources — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Update statistics on the table to ensure the optimizer has current information. — Option B is correct because updating statistics provides the query optimizer with current data distribution information, which can lead to a more efficient query plan, potentially avoiding the clustered index scan. In Azure SQL Database, stale statistics are a common cause of suboptimal plans, and updating them is a low-cost, non-disruptive first step before considering index changes.
What should I do if I get this DP-300 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
Same concept, more angles
1 more ways this is tested on DP-300
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. You are monitoring an Azure SQL Database using Query Performance Insight. You see a query with high duration and high CPU usage. The query plan shows a clustered index scan. What is the most likely cause and recommendation?
medium- A.Fragmented clustered index; rebuild the clustered index.
- B.Insufficient memory; increase the service tier.
- ✓ C.Missing nonclustered index; create an index on the predicates.
- D.Parameter sniffing; add OPTION (RECOMPILE).
Why C: Query Performance Insight shows a query with high duration and CPU usage, and the query plan reveals a clustered index scan. A clustered index scan reads all rows in the table, which is inefficient when only a subset of rows is needed. The most likely cause is a missing nonclustered index on the columns used in the WHERE clause (predicates), which would allow a seek operation instead of a full scan, reducing both CPU and duration.
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.