Question 179 of 953
Configure and manage automation of taskshardMultiple SelectObjective-mapped

Quick Answer

The answer is to use ONLINE = ON when rebuilding indexes, as this is the most effective way to minimize performance impact from index maintenance on Azure SQL Database. This setting allows concurrent user access to the underlying table during the rebuild operation, avoiding the long-term schema modification locks that would otherwise block production queries. On the Microsoft Azure Database Administrator Associate DP-300 exam, this concept tests your understanding of how to balance index maintenance with workload availability, and a common trap is assuming that offline rebuilds are always faster—they are not, and they cause significant blocking. To reduce performance impact further, combine ONLINE = ON with a fill factor of 70-80% for indexes on tables with frequent insert/update operations, which reduces page splits and fragmentation over time. A useful memory tip is “Online for uptime, fill for thrills”—meaning ONLINE keeps the database available, while the right fill factor minimizes future maintenance needs.

DP-300 Configure and manage automation of tasks Practice Question

This DP-300 practice question tests your understanding of configure and manage automation of tasks. 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 automating index maintenance for an Azure SQL Database. Which THREE of the following should you consider to minimize performance impact?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Question 1hardmulti select
Full question →

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

Use the ONLINE = ON option when rebuilding indexes.

Option A is correct because using ONLINE = ON when rebuilding indexes in Azure SQL Database allows concurrent user access to the underlying table during the index rebuild operation. This minimizes blocking and performance impact on production workloads, as the index rebuild is performed as a series of short-term locks rather than a single long-term schema modification lock.

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.

  • Use the ONLINE = ON option when rebuilding indexes.

    Why this is correct

    Allows concurrent access.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Always use SORT_IN_TEMPDB = ON to reduce tempdb contention.

    Why it's wrong here

    SORT_IN_TEMPDB may increase tempdb load.

  • Set MAXDOP to 0 to use all CPUs for faster execution.

    Why it's wrong here

    Using all CPUs can starve other workloads.

  • Reorganize indexes with fragmentation below 30% instead of rebuilding.

    Why this is correct

    Reorganize is less impactful.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use a fill factor of 70-80% for indexes with frequent insert/update operations.

    Why this is correct

    Reduces page splits.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    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 assume SORT_IN_TEMPDB = ON always improves performance, but in Azure SQL Database it can increase tempdb contention, and MAXDOP = 0 is mistakenly thought to be optimal for maintenance tasks when it actually risks resource starvation.

Detailed technical explanation

How to think about this question

When ONLINE index rebuild is used, SQL Server creates a new index structure in parallel while maintaining the old index for existing queries, using row versioning to handle concurrent modifications. The fill factor (option E) reserves free space on each leaf-level page to accommodate future inserts and updates, reducing page splits and fragmentation; a value of 70-80% is typical for high-write workloads. Reorganizing indexes (option D) is a lightweight, online operation that defragments the leaf level without rebuilding the entire B-tree, making it suitable for fragmentation levels below 30%.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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.

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.

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?

Configure and manage automation of tasks — This question tests Configure and manage automation of tasks — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use the ONLINE = ON option when rebuilding indexes. — Option A is correct because using ONLINE = ON when rebuilding indexes in Azure SQL Database allows concurrent user access to the underlying table during the index rebuild operation. This minimizes blocking and performance impact on production workloads, as the index rebuild is performed as a series of short-term locks rather than a single long-term schema modification lock.

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.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.