nerdexam
Microsoft

MB-500 · Question #75

Drag and Drop Question A company has a Dynamics 365 Finance environment. You need to implement indices for new tables. Which types of indexes should you use? To answer, drag the appropriate types of…

The correct answer is Primary; Clustered; Non-Clustered. Dynamics 365 Finance - Index Types Explanation > Note: The question as presented is missing the actual requirement descriptions (what each numbered slot requires). The correct arrangement is given, so I'll explain each index type and the typical D365 Finance requirement that…

Design and develop AOT elements

Question

Drag and Drop Question A company has a Dynamics 365 Finance environment. You need to implement indices for new tables. Which types of indexes should you use? To answer, drag the appropriate types of indexes to the correct requirements. Each type of index may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

MB-500 question #75 exhibit

Answer Area

Drag items

PrimaryClusteredNon-Clustered

Correct arrangement

  • Primary
  • Clustered
  • Non-Clustered

Explanation

Dynamics 365 Finance - Index Types Explanation

Note: The question as presented is missing the actual requirement descriptions (what each numbered slot requires). The correct arrangement is given, so I'll explain each index type and the typical D365 Finance requirement that maps to it.


Index Type Overview in D365 Finance Context

D365 Finance runs on SQL Server, and table indexes are defined in the AOT (Application Object Tree). Three index types exist with distinct roles:


Placement 1: Primary

Typical requirement: "Uniquely identify each record in the table."

In D365 Finance, a table's Primary Index property points to the index that serves as the logical key for the record. This is almost always tied to the RecId field or a surrogate key. It enforces uniqueness and is used by the framework for record lookup.

  • It is set via the table's Primary Index property in the AOT
  • Does not inherently control physical storage order
  • Required for framework features like caching and record-level operations

Placement 2: Clustered

Typical requirement: "Control the physical storage order of table data / optimize range queries."

A Clustered Index determines how rows are physically sorted and stored in the database. SQL Server allows only one clustered index per table.

  • Best for columns used in ORDER BY, BETWEEN, or range filters
  • D365 lets you mark an index as clustered via the Clustered property on the index node
  • Common mistake: confusing clustered with primary - they are independent concepts. The primary index can be non-clustered.

Placement 3: Non-Clustered

Typical requirement: "Speed up queries on non-key or non-ordered fields without changing physical data layout."

A Non-Clustered Index creates a separate lookup structure pointing back to the actual data rows. You can have multiple non-clustered indexes per table.

  • Ideal for columns frequently used in WHERE clauses but not in range scans
  • Lower cost than clustered but adds overhead on inserts/updates
  • Common mistake: over-indexing with non-clustered indexes, degrading write performance

Common Misconceptions

MisconceptionReality
Primary index = clustered indexThey are separate settings in D365; primary enforces uniqueness, clustered controls storage order
Only one index per tableOnly one clustered index is allowed; multiple non-clustered are fine
Non-clustered is always inferiorFor point lookups, non-clustered often outperforms clustered

Summary: The arrangement follows the natural hierarchy - Primary for identity/uniqueness, Clustered for physical data organization, Non-Clustered for supplemental query optimization.

Topics

#database indexing#primary index#clustered index#non-clustered index

Community Discussion

No community discussion yet for this question.

Full MB-500 Practice