Indexes and Constraints Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Relational Concepts

What you'll be asked

  1. Which database constraint is used to ensure that all values in a specific column are unique and do not contain NULL values?
  2. You have a table with millions of rows and frequently query by a 'CustomerEmail' column. Which type of index should you create to improve performance?
  3. What is the primary difference between a Clustered Index and a Non-clustered Index in SQL Server?
  4. When should you consider using a 'Filtered Index' in Azure SQL Database?
  5. You are designing a high-transaction system where a 'Status' column has only three possible values: 'Pending', 'Active', and 'Closed'. Why would a standard B-Tree index on this column likely be ignored by the query optimizer?

Answers and explanations come after you submit.