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
-
Avoids separate updates
-
ncreases performance and ease of use
-
Is useful in data warehousing applications
-
All of the above
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.
-
COMMIT or ROLLBACK
-
A DDL or DCL statement executing
-
USER exiting iSQL*Plus or System crash
-
Any one of the above
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.
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.
-
Error Table
-
UV Table
-
Work Table
-
Log Tbale
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.
-
Record Description Framework
-
Resource Description Framework
-
Resource Data Framework
-
Row Description Framework
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.
-
Avoids separate updates
-
ncreases performance and ease of use
-
Is useful in data warehousing applications
-
All of the above
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.
-
COMMIT or ROLLBACK
-
A DDL or DCL statement executing
-
USER exiting iSQL*Plus or System crash
-
Any one of the above
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.
-
DTEXEC
-
DTSEXEC
-
SQLEXEC
-
PSEXEC
A
Correct answer
Explanation
DTEXEC is the SQL Server Integration Services (SSIS) command-line utility for executing SSIS packages. It allows packages to be run from command prompts, batch files, or scripts.
-
Logical
-
Extended Logical
-
Physical
-
Extended Physical
C
Correct answer
Explanation
Partitioned Primary Index (PPI) is defined during the Physical modeling stage. PPI affects how data is physically stored on disk, making it a physical database design decision rather than logical or extended logical.
-
Maximum Number of NULLs
-
Access Frequency
-
Change Rating
-
Typical Rows Per Value
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.
-
The buckets containing the AMP numbers where the data is stored.
-
The USI column value
-
The Row ID of the base row.
-
The Secondary Index Row ID.
-
The Integer Type of all Value-Ordered NUSIs.
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.
-
TIMESTAMP
-
VARCHAR
-
TIME
-
CLOB
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.