The property of InnoDB that enforces foreign key relationships stay intact is called . . . . . . . .
A. atomicity
B. durability
C. consistency
D. referential integrity
Answer: Option D
Solution (By Examveda Team)
This question is about InnoDB, a storage engine used in MySQL. It asks about a property that ensures the integrity of foreign key relationships. This means that the data connected through these relationships remains accurate and consistent.Let's understand the options:
Option A: atomicity - Atomicity means that transactions either complete fully or not at all. It's about ensuring that changes are applied as a single unit.
Option B: durability - Durability guarantees that once a transaction is committed, the changes are permanently stored and survive system failures.
Option C: consistency - Consistency refers to maintaining data in a valid state according to predefined rules. It ensures that data is accurate and follows the database's constraints.
Option D: referential integrity - This is the property that specifically focuses on foreign key relationships. It ensures that data in a related table is valid and maintains the connection between the tables.
Therefore, the answer is Option D: referential integrity. It's the key property that guarantees foreign key relationships remain intact and data stays consistent.
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network

Join The Discussion