nerdexam
Microsoft

70-458 · Question #19

You are implementing the indexing strategy for a fact table in a data warehouse. The fact table is named Quotes. The table has no indexes and consists of seven columns: - [ID] - [QuoteDate] - [Open]…

The correct answer is C. Create one columnstore index that contains [QuoteDate], [Close], [High], [Low], and [Volume]. See the full explanation below for the reasoning.

Question

You are implementing the indexing strategy for a fact table in a data warehouse. The fact table is named Quotes. The table has no indexes and consists of seven columns: - [ID] - [QuoteDate] - [Open] - [Close] - [High] - [Low] - [Volume] Each of the following queries must be able to use a columnstore index: - SELECT AVG ([Close]) AS [AverageClose] FROM Quotes WHERE [QuoteDate] BETWEEN '20100101' AND '20101231'. - SELECT AVG([High] - [Low]) AS [AverageRange] FROM Quotes WHERE [QuoteDate] BETWEEN '20100101' AND '20101231'. - SELECT SUM([Volume]) AS [SumVolume] FROM Quotes WHERE [QuoteDate] BETWEEN '20100101' AND '20101231'. You need to ensure that the indexing strategy meets the requirements. The strategy must also minimize the number and size of the indexes. What should you do?

Options

  • ACreate one columnstore index that contains [ID], [Close], [High], [Low], [Volume],
  • BCreate three coiumnstore indexes:
  • CCreate one columnstore index that contains [QuoteDate], [Close], [High], [Low], and [Volume].
  • DCreate two columnstore indexes:

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    19% (9)
  • C
    70% (33)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 70-458 Practice