ITPEC IP October 2025 Question 29

Topic: Databases

Which of the following is the appropriate purpose of exclusive control in a database management system?

Explanation

Preventing inconsistencies when multiple programs access the same data at once — that is the purpose of exclusive control (locking).

If two programs both read a stock of 10 and each subtracts 1, both write back 9 and one update is lost. With exclusive control the first program locks the record; the second waits until the lock is released and then reads the updated 9, so the result is 8 and the data stays consistent. A shared lock lets several readers in together; an exclusive lock admits one updater only.

Answer (d)

Why not others:

  • •(a) — guarding data against accidental change and deliberate tampering is integrity in the security sense, kept by access rights, backups and tamper detection, not by locking
  • •(b) — separating data from programs so that one can change without the other is data independence, provided by the DBMS's schema structure
  • •(c) — letting only certain persons see data according to its confidentiality is access control (authorization)

Key rule: Exclusive control decides when a user may update (one at a time), access control decides who may; locking can in turn cause deadlock, which the DBMS must detect.

Databases · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.