nerdexam
Microsoft

70-457 · Question #2

You develop a Microsoft SQL Server 2012 database. You create a view from the Orders and OrderDetails tables by using the following definition. You need to improve the performance of the view by…

The correct answer is D. Create a clustered index on the view. See the full explanation below for the reasoning.

Question

You develop a Microsoft SQL Server 2012 database. You create a view from the Orders and OrderDetails tables by using the following definition. You need to improve the performance of the view by persisting data to disk. What should you do?

Exhibit

70-457 question #2 exhibit

Options

  • ACreate an INSTEAD OF trigger on the view.
  • BCreate an AFTER trigger on the view.
  • CModify the view to use the WITH VIEW_METADATA clause.
  • DCreate a clustered index on the view.

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    13% (6)
  • C
    2% (1)
  • D
    79% (37)

Community Discussion

No community discussion yet for this question.

Full 70-457 Practice