Scenario: A banking system stores customer information and transaction records. How would you ensure data integrity in such a system?

  • Allowing NULL values in critical fields
  • Encrypting the data during transmission
  • Implementing referential integrity constraints
  • Regular database backups
Ensuring data integrity in a banking system involves implementing referential integrity constraints. This ensures that relationships between tables are maintained, preventing orphaned records and inconsistencies. Regular backups, while important, focus more on data recovery than on preventing integrity issues.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *