Computer Knowledge

Database Management Systems

5,344 Questions

Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.

E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database

Database Management Systems Questions

Multiple choice
  1. jamming

  2. password

  3. documentation

  4. record lock

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

When multiple users try to update the same record simultaneously, record locking prevents conflicts by ensuring only one transaction can modify the record at a time. This concurrency control mechanism prevents the lost update problem where two updates overwrite each other. Locking maintains data integrity and consistency in multi-user database environments.

Multiple choice
  1. deadlock

  2. lost update

  3. uncommitted dependency

  4. inconsistent data

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Locking prevents the lost update problem, which occurs when two transactions read the same data and then overwrite each other's updates. By locking data before updating, one transaction waits for the other to complete, ensuring updates are applied sequentially. Deadlock (A) is a potential problem with locking, not a solution. Uncommitted dependency (C) and inconsistent data (D) are other concurrency issues that locking addresses.

Multiple choice
  1. Authentication through database links

  2. Distributed database security

  3. Auditing database links

  4. Administration tools

  5. Site autonomy

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

These tools are used to manage an Oracle distributed database system. 'Site autonomy' means each server participating in a distributed database is administered independently from all other databases.

Multiple choice
  1. A transaction writes a data item after it is read by an uncommitted transaction.

  2. A transaction reads a data item after it is read by an uncommitted transaction.

  3. A transaction reads a data item after it is written by a committed transaction.

  4. A transaction reads a data item after it is written by an uncommitted transaction.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

 This may leave the transactions vulnerable to dirty reads, phantom reads, etc. in the database system.

Multiple choice
  1. Atomicity

  2. Isolation

  3. Durability

  4. Exchanging

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Exchanging is not a property of a transaction. The ACID properties of a transaction are:

  1. Atomicity
  2. Isolation
  3. Durability
  4. Consistency
Multiple choice
  1. After the successful execution of the transaction

  2. After the discovery that normal execution can no longer proceed

  3. When it is in its initial state

  4. After the final statement has been executed

  5. After the transaction has been rolled back

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This option is correct as a transaction is committed only after its successful completion.

Multiple choice
  1. Tables

  2. Treelike structures

  3. Complex logical relationship

  4. Records

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The relational database model is fundamentally based on tables (relations) that store data in rows and columns. Data is organized into tables with defined relationships between them through keys. While relational databases do store records, the defining characteristic is the tabular structure. Treelike structures describe hierarchical databases, and complex logical relationships exist in network databases, not relational ones.

Multiple choice
  1. 5

  2. 4

  3. 3

  4. 6

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

SQL is commonly categorized into 4 main types: DDL (Data Definition Language) for schema operations, DML (Data Manipulation Language) for data operations, DCL (Data Control Language) for permissions, and TCL (Transaction Control Language) for transaction management. Some classifications may include DQL separately, but 4 is the standard answer.