Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 8 - RDBMS Concepts
Current Quiz Count:45
Progress
0%
Q1
True / False

A business key is the same as a primary key in a database.

Q2
True / False

Natural keys are typically generated by the database management system.

Q3
True / False

A candidate key must be unique within a table but does not have to be minimal.

Q4
True / False

A surrogate key is a type of candidate key.

Q5
True / False

Natural keys are preferable to surrogate keys for performance reasons.

Q6
True / False

A business key is used mainly for internal database operations.

Q7
True / False

Candidate keys are chosen as the primary key for the table.

Q8
True / False

Natural keys are always chosen over surrogate keys because they carry business meaning.

Q9
True / False

The primary key of a table can be composed of multiple columns if it uniquely identifies each record.

Q10
True / False

A candidate key must be unique but does not need to be minimal.

Q11
True / False

A surrogate key is a natural key that has been modified for use in the database.

Q12
True / False

Business keys are often derived from business operations and can change over time.

Q13
True / False

In a relational database, the primary key is always a surrogate key.

Q14
True / False

Natural keys are ideal for scenarios where data integrity is critical and changes are infrequent.

Q15
True / False

A business key is always chosen as the primary key for its stability and uniqueness.

Q16
Single Choice

Which key is typically used to ensure uniqueness in a table?

Q17
Single Choice

What is the main difference between a natural key and a surrogate key?

Q18
Single Choice

Which key is often used as an alternative to a natural key to avoid potential issues with data changes?

Q19
Single Choice

Which of the following is NOT a characteristic of a candidate key?

Q20
Single Choice

When a business key is used as a primary key, what potential issue could arise?

Q21
Single Choice

What is a primary key in a database table?

Q22
Single Choice

What type of key is used to ensure that a column or combination of columns uniquely identifies a record in a table?

Q23
Single Choice

Which of the following is a valid use of a surrogate key?

Q24
Single Choice

In a relational database, which key is used to link records across different tables?

Q25
Single Choice

Which key type is designed to be stable and not subject to changes over time?

Q26
Multiple Choice

Which of the following keys could be used in conjunction with a business key to enforce uniqueness?

Q27
Multiple Choice

Which keys can be used to ensure data integrity in a relational database?

Q28
Multiple Choice

In which scenarios would a surrogate key be preferable over a natural key?

Q29
Multiple Choice

Which of the following are characteristics of a candidate key?

Q30
Multiple Choice

Which keys are typically involved in enforcing referential integrity?

Q31
Multiple Choice

Which key types can be used to enforce uniqueness in a table?

Q32
Multiple Choice

What are some common uses for a surrogate key in database design?

Q33
Multiple Choice

When designing a database schema, which key types should be considered for ensuring data uniqueness?

Q34
Multiple Choice

In which situations is a natural key less ideal compared to a surrogate key?

Q35
Multiple Choice

Which key types can be considered when a business key is not suitable for use as a primary key?

Q36
Multiple Choice

Which keys can be used to enforce uniqueness in a relational database table?

Q37
Multiple Choice

Which of the following keys are typically involved in establishing relationships between tables?

Q38
Multiple Choice

What type of key is used to uniquely identify a record within a table?

Q39
Multiple Choice

Which types of keys can be used to ensure no duplicate data in a table?

Q40
Multiple Choice

In what scenarios are surrogate keys most beneficial?

Q41
Multiple Choice

Which key types are used to enforce data uniqueness and maintain referential integrity?

Q42
Multiple Choice

When designing a database, which keys are critical for ensuring that data remains consistent and accurate?

Q43
Multiple Choice

Which of the following is a valid reason for using surrogate keys in database design?

Q44
Multiple Choice

Which types of keys can be used to uniquely identify records and enforce data integrity?

Q45
Multiple Choice

What are the advantages of using surrogate keys over natural keys in a database?