Computer Knowledge

Database Management Systems

5,543 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. 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.

Multiple choice technology databases
  1. Maximum Number of NULLs

  2. Access Frequency

  3. Change Rating

  4. Typical Rows Per Value

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

When deciding whether to store derived data or calculate it on the fly, access frequency is a key factor - frequently accessed data benefits from storage. Change rating (volatility) is equally important - data that changes often is better calculated to avoid stale values. Maximum NULLs and rows per value are not primary considerations for this decision.

Multiple choice technology databases
  1. The buckets containing the AMP numbers where the data is stored.

  2. The USI column value

  3. The Row ID of the base row.

  4. The Secondary Index Row ID.

  5. The Integer Type of all Value-Ordered NUSIs.

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

A USI (Unique Secondary Index) subtable stores the index value itself, the RowID pointing to the base table row, and the secondary index's own RowID for internal navigation. AMP number buckets are part of the hash distribution mechanism, not stored in USI subtables. Value-ordered NUSIs have different structures than USIs.

Multiple choice technology mainframe
  1. TIMESTAMP

  2. VARCHAR

  3. TIME

  4. CLOB

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

TIME data type stores only time of day (hours, minutes, seconds), not the date component. Hiring an employee requires recording the full date (year, month, day). TIMESTAMP includes both date and time, VARCHAR can store date strings, and CLOB stores character large objects. TIME is the only type that cannot store a complete hire date.