Microsoft SQL Server Database Quiz Questions

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

Cardinality refers to the number of distinct values in a column.

Q2
True / False

In a one-to-many relationship, the 'many' side can have multiple references to the 'one' side.

Q3
True / False

The cardinality of a relationship determines how many instances of one entity can be associated with instances of another entity.

Q4
True / False

In a many-to-many relationship, each record in both tables can relate to multiple records in the other table.

Q5
True / False

Cardinality constraints are not necessary when designing a database schema.

Q6
True / False

A primary key in a table can have multiple columns if the table requires composite keys.

Q7
True / False

In a one-to-one relationship, each record in both tables must have exactly one corresponding record in the other table.

Q8
True / False

Cardinality is concerned with how many rows of one table can be related to how many rows of another table.

Q9
True / False

A foreign key constraint in a table ensures that values in one column must match values in a column of another table.

Q10
True / False

The cardinality of a relationship does not affect the performance of SQL queries.

Q11
True / False

In an RDBMS, cardinality always refers to the number of tables in the schema.

Q12
True / False

A table can have multiple foreign keys, each pointing to a different table.

Q13
True / False

Foreign key relationships cannot be established if the referenced table does not have a primary key.

Q14
True / False

In a many-to-many relationship, an intermediate table is often used to manage the associations.

Q15
True / False

Cardinality constraints are enforced by the RDBMS and cannot be customized by users.

Q16
Single Choice

Which of the following best describes a one-to-many relationship?

Q17
Single Choice

What is a foreign key in a database?

Q18
Single Choice

Which type of relationship involves each record in one table being related to multiple records in another table and vice versa?

Q19
Single Choice

In which type of relationship is an intermediate table typically used?

Q20
Single Choice

Which of the following is true about a primary key?

Q21
Single Choice

Which SQL statement is used to define a foreign key constraint?

Q22
Single Choice

What is the purpose of the CASCADE option in a foreign key constraint?

Q23
Single Choice

Which of the following statements about a one-to-one relationship is true?

Q24
Single Choice

What does the term 'referential integrity' refer to in a database?

Q25
Single Choice

Which SQL clause is commonly used to ensure a column's values are unique?

Q26
Single Choice

Which relationship type can be described by a table containing a foreign key that references its own primary key?

Q27
Single Choice

What does a foreign key constraint enforce?

Q28
Single Choice

Which SQL command would you use to remove a foreign key constraint from a table?

Q29
Single Choice

Which relationship type allows a record in one table to have a unique relationship with multiple records in another table?

Q30
Single Choice

What does the term 'composite key' refer to in database design?

Q31
Multiple Choice

Which of the following statements are true about a primary key?

Q32
Multiple Choice

Which of the following are valid types of relationships in relational databases?

Q33
Multiple Choice

Which of the following are characteristics of a foreign key?

Q34
Multiple Choice

Which statements are true about the 'CASCADE' option in foreign key constraints?

Q35
Multiple Choice

Which of the following scenarios describe a many-to-many relationship?

Q36
Multiple Choice

Which of the following are true about cardinality constraints in database design?

Q37
Multiple Choice

Which statements are accurate regarding composite keys?

Q38
Multiple Choice

Which statements about self-referencing tables are true?

Q39
Multiple Choice

Which of the following statements about one-to-one relationships are true?

Q40
Multiple Choice

Which of the following are true about referential integrity?

Q41
Multiple Choice

Which of the following describe high cardinality in RDBMS?

Q42
Multiple Choice

Which of the following is true about low cardinality columns?

Q43
Multiple Choice

How does cardinality affect SQL query performance?

Q44
Multiple Choice

Which of the following statements is accurate regarding the cardinality of primary keys?

Q45
Multiple Choice

In the context of cardinality, what does 'selectivity' refer to?