nerdexam
Microsoft

70-465 · Question #51

You need to recommend a solution that addresses the index fragmentation and index width issue. What should you include in the recommendation? (Each correct answer presents part of the solution…

The correct answer is B. Remove the lastModified column from the clustered index. E. Remove the modifiedBy column from the clustered index. To address index fragmentation and index width issues, the recommendation is to remove non-essential columns (lastModified and modifiedBy) from the clustered index, reducing the key width and thereby reducing fragmentation caused by wide clustered index keys.

Submitted by tyler.j· Mar 5, 2026Design and implement database solutions for SQL Server

Question

You need to recommend a solution that addresses the index fragmentation and index width issue. What should you include in the recommendation? (Each correct answer presents part of the solution. Choose all that apply.)

Exhibit

70-465 question #51 exhibit

Options

  • AChange the data type of the lastModified column to smalldatetime.
  • BRemove the lastModified column from the clustered index.
  • CChange the data type of the modifiedBy column to tinyint.
  • DChange the data type of the id column to bigint.
  • ERemove the modifiedBy column from the clustered index.
  • FRemove the id column from the clustered index.

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    66% (21)
  • C
    3% (1)
  • D
    9% (3)
  • F
    19% (6)

Why each option

To address index fragmentation and index width issues, the recommendation is to remove non-essential columns (lastModified and modifiedBy) from the clustered index, reducing the key width and thereby reducing fragmentation caused by wide clustered index keys.

AChange the data type of the lastModified column to smalldatetime.

Changing the data type of lastModified to smalldatetime would reduce column size but does not fully address the root cause, which is that the column should not be part of the clustered index key at all.

BRemove the lastModified column from the clustered index.Correct

Removing the lastModified column from the clustered index reduces the clustered index key width, which directly addresses the index width issue and reduces fragmentation caused by page splits from wide keys. A narrower clustered index key also benefits all nonclustered indexes since they store the clustered index key as a row locator.

CChange the data type of the modifiedBy column to tinyint.

Changing the data type of modifiedBy to tinyint would reduce the column's storage size but does not address the fundamental issue that this column should be removed from the clustered index entirely.

DChange the data type of the id column to bigint.

Changing the id column to bigint would actually increase the index key width (from 4 bytes to 8 bytes), worsening the index width problem rather than solving it.

ERemove the modifiedBy column from the clustered index.Correct

Removing the modifiedBy column from the clustered index further narrows the key width, reducing the overall index size and minimizing fragmentation. Columns that are frequently updated (like modifiedBy) in a clustered index key cause excessive page splits and fragmentation.

FRemove the id column from the clustered index.

Removing the id column from the clustered index would remove the primary unique identifier, which is typically the most appropriate column for a clustered index key due to its narrow, unique, and ever-increasing nature.

Concept tested: Clustered index key design to reduce fragmentation and width

Source: https://learn.microsoft.com/en-us/sql/relational-databases/indexes/clustered-and-nonclustered-indexes-described

Topics

#Clustered index design#Index width#Index fragmentation#Performance optimization

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice