exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 1 question 30 discussion

Actual exam question from Microsoft's 70-464
Question #: 30
Topic #: 1
[All 70-464 Questions]

You have a SQL Azure database.
You execute the following code:

The Sales.Customers table will contain 100,000 rows. You expect the FaxNumber column to contain a null value for 70 percent of the rows.
You need to create an index to support Sales.CustomersByFaxNumber. The solution must minimize the disk storage requirements.
Which code segment should you execute?

  • A. CREATE INDEX IX_Customers ON Customers (FaxNumber) WHERE FaxNumber IS NOT NULL
  • B. CREATE INDEX IX_Customers ON Customers (FaxNumber) WITH FILLFACTOR=0
  • C. CREATE INDEX IX_Customers ON Customers (CustomerName) INCLUDE (FaxNumber)
  • D. CREATE INDEX IX_Customers ON Customers (FaxNumber)
  • E. CREATE INDEX IX_Customers ON Customers (FaxNumber) WHERE FaxNumber IS NULL
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LiamLin
3 years, 9 months ago
Should be D. By default, relational databases ignore NULL values on index.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...