Q1
True / FalseA business key is the same as a primary key in a database.
A business key is often used to identify a record in a way that is meaningful to the business, whereas a primary key is a unique identifier used by the database system.
Q2
True / FalseNatural keys are typically generated by the database management system.
Natural keys are derived from real-world data rather than being generated by the system. Examples include Social Security numbers or email addresses.
Q3
True / FalseA candidate key must be unique within a table but does not have to be minimal.
A candidate key must be unique and minimal, meaning it should have no unnecessary attributes.
Q4
True / FalseA surrogate key is a type of candidate key.
A surrogate key is a unique identifier that is not derived from application data, but a candidate key is derived from application data.
Q5
True / FalseNatural keys are preferable to surrogate keys for performance reasons.
Surrogate keys are often preferred for performance reasons because they are typically shorter and simpler than natural keys.
Q6
True / FalseA business key is used mainly for internal database operations.
Business keys are used to uniquely identify records in a way that is meaningful to the business, not just for internal database operations.
Q7
True / FalseCandidate keys are chosen as the primary key for the table.
Candidate keys are potential primary keys, but only one candidate key is selected to be the primary key of the table.
Q8
True / FalseNatural keys are always chosen over surrogate keys because they carry business meaning.
Surrogate keys are often used instead of natural keys to avoid issues with changes in business data and to improve performance.
Q9
True / FalseThe primary key of a table can be composed of multiple columns if it uniquely identifies each record.
A primary key can indeed be a composite key, meaning it can consist of multiple columns that together uniquely identify a record.
Q10
True / FalseA candidate key must be unique but does not need to be minimal.
A candidate key must be both unique and minimal, meaning it should have no unnecessary attributes.
Q11
True / FalseA surrogate key is a natural key that has been modified for use in the database.
A surrogate key is not a modified natural key; it is a new, unique identifier created specifically for the database, usually without business meaning.
Q12
True / FalseBusiness keys are often derived from business operations and can change over time.
Business keys are typically used in business contexts and may change, which can complicate their use as primary keys.
Q13
True / FalseIn a relational database, the primary key is always a surrogate key.
The primary key can be either a surrogate key or a natural key depending on the design and requirements of the database.
Q14
True / FalseNatural keys are ideal for scenarios where data integrity is critical and changes are infrequent.
Natural keys can be problematic if the data they represent changes frequently. Surrogate keys can be more stable in such cases.
Q15
True / FalseA business key is always chosen as the primary key for its stability and uniqueness.
A business key is not always chosen as the primary key. Sometimes surrogate keys are preferred for their stability and simplicity.