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 technology databases
  1. COMMIT or ROLLBACK

  2. A DDL or DCL statement executing

  3. USER exiting iSQL*Plus or System crash

  4. Any one of the above

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

Oracle database transactions end in multiple ways. Explicitly with COMMIT (save changes) or ROLLBACK (discard changes). Implicitly when a DDL statement (CREATE, ALTER, DROP) or DCL statement (GRANT, REVOKE) executes - these auto-commit. Also when user exits the client tool (iSQL*Plus/SQL*Plus) or if the system crashes (forced rollback/commit). Any of these events terminate the current transaction.

Multiple choice technology databases
  1. Avoids separate updates

  2. ncreases performance and ease of use

  3. Is useful in data warehousing applications

  4. All of the above

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

The MERGE statement combines INSERT, UPDATE, and DELETE operations into a single statement, which avoids writing separate update statements. It is commonly used in data warehousing applications for ETL processes and can improve performance by reducing round trips to the database. The typo 'ncreases' in option B should be 'Increases'.

Multiple choice technology databases
  1. COMMIT or ROLLBACK

  2. A DDL or DCL statement executing

  3. USER exiting iSQL*Plus or System crash

  4. Any one of the above

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

Database transactions end through multiple mechanisms: explicit COMMIT or ROLLBACK commands, implicit termination when a DDL (CREATE, ALTER, DROP) or DCL (GRANT, REVOKE) statement executes, or external events like user exit or system crash. All these scenarios can terminate a transaction, making 'Any one of the above' the correct answer.

Multiple choice technology databases
  1. True

  2. False

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

Locks are indeed critical mechanisms in Oracle Databases to manage concurrent data access and ensure data integrity. They prevent destructive interactions between transactions, such as lost updates or dirty reads.

Multiple choice technology databases
  1. Avoids separate updates

  2. ncreases performance and ease of use

  3. Is useful in data warehousing applications

  4. All of the above

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

The MERGE statement (also known as UPSERT) combines INSERT and UPDATE operations into a single command, eliminating the need for separate statements. This improves performance, simplifies code, and is commonly used in data warehousing ETL processes.

Multiple choice technology databases
  1. COMMIT or ROLLBACK

  2. A DDL or DCL statement executing

  3. USER exiting iSQL*Plus or System crash

  4. Any one of the above

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

Database transactions can end through explicit COMMIT or ROLLBACK commands, implicit commits triggered by DDL or DCL statements, or session termination (user exit or system crash). All three scenarios terminate the current transaction.

Multiple choice technology databases
  1. True

  2. False

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

Oracle Database uses automatic, implicit locking at the row level by default. Unlike some databases requiring explicit lock management, Oracle handles locking transparently, making manual lock management unnecessary for most operations.

Multiple choice technology databases
  1. Error Table

  2. UV Table

  3. Work Table

  4. Log Tbale

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

When restarting an MLOAD script after a failure, the Log Table (Logtable) is essential because it contains the restart information and metadata needed to resume the job from where it left off. The log table tracks the progress of the MLOAD operation and stores critical state information. Error tables, UV tables, and work tables support the operation but are not the primary source of restart data.

Multiple choice technology web technology
  1. Record Description Framework

  2. Resource Description Framework

  3. Resource Data Framework

  4. Row Description Framework

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

RDF stands for Resource Description Framework, a standard framework for data interchange on the Web developed by the W3C. It provides a way to describe resources in a structured, machine-readable format using subject-predicate-object triples.

Multiple choice technology databases
  1. Avoids separate updates

  2. ncreases performance and ease of use

  3. Is useful in data warehousing applications

  4. All of the above

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

The MERGE statement combines INSERT and UPDATE actions in a single command, avoiding separate DML statements, improving performance, and simplifying data‑warehouse load processes where upserts are common. All listed benefits are accurate, so the “All of the above” choice correctly captures them.

Multiple choice technology databases
  1. COMMIT or ROLLBACK

  2. A DDL or DCL statement executing

  3. USER exiting iSQL*Plus or System crash

  4. Any one of the above

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

Database transactions end through multiple mechanisms: explicit COMMIT or ROLLBACK commands, implicit ending when a DDL (CREATE, ALTER, DROP) or DCL (GRANT, REVOKE) statement executes (which auto-commits), or when the user exits the tool or a system crash occurs. All four scenarios represent valid transaction termination points.