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. DSN_STATEMNT_TABLE

  2. PLAN_TABLE

  3. SYSPLAN

  4. SYSPACKAGE

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

The DB2/SQL EXPLAIN statement inserts detailed information about the access path of the query being explained into a table named PLAN_TABLE. DSN_STATEMNT_TABLE contains cost estimates, while SYSPLAN and SYSPACKAGE are catalog tables storing plan and package metadata rather than explain output.

Multiple choice technology testing
  1. defects data

  2. test plan data

  3. test Instance data

  4. requirements data

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

Quality Center allows importing defects data, test plan data (test cases), and requirements data to populate the repository. Test Instance data is not directly imported - instances are created when test cases are added to test sets. Option C describes test instances which are generated, not imported.

Multiple choice technology databases
  1. 9iDBA

  2. OSADM

  3. OSDBA

  4. OSOPER

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

In Oracle 9i database, the OSDBA operating system group is mapped to the SYSDBA database privilege, allowing users within this group to authenticate via the operating system. OSOPER maps to the SYSOPER privilege. Other options like 9iDBA or OSADM are not standard Oracle-predefined OS groups for database administration privileges.

Multiple choice technology databases
  1. Install the Oracle Software

  2. Plan the Database

  3. Implement the Database Design

  4. Back Up the Fully Functional Database

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

Oracle's recommended approach requires backing up the fully functional database before beginning any tuning activities. This ensures you have a recovery point if tuning changes cause issues. Installing software, planning, and implementing design are prerequisites but must complete before the database is fully functional and ready for backup.

Multiple choice technology databases
  1. Install the Oracle Software

  2. Evaluate the Database Server Hardware

  3. Implement the Database Design

  4. Plan the Database

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

Evaluating the database server hardware is Oracle's first recommended task before any software installation or database design. Hardware assessment ensures the server meets requirements for memory, CPU, storage, and I/O capacity. Software installation (A), planning (D), and implementation (C) all happen after hardware evaluation.

Multiple choice technology databases
  1. It provides a security scan against all user accounts

  2. It provides a SID scan against all rows

  3. It provides a central means of updating all user accounts

  4. It provides a mechanism for switching between Oracle9i databases with ease

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

The oraenv script provides a central mechanism for switching between different Oracle database instances by updating environment variables like ORACLE_SID, ORACLE_HOME, and PATH for all user accounts. Option C correctly describes this central update function. Options A and B mention scanning functions which don't apply. Option D describes database switching, which is the result, not the function.

Multiple choice technology databases
  1. modify the parameter, backup the init file and the database, and restart the instance

  2. modify the parameter and restart the instance

  3. re-create the database

  4. modify the parameter, backup the init file and restart the instance

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

DB_BLOCK_SIZE is a fundamental storage parameter that can only be set when a database is first created. It determines the size of data blocks and cannot be changed by simply modifying parameters or restarting - the entire database must be recreated with the new block size.

Multiple choice technology
  1. TEXT

  2. DECIMAL

  3. DATE

  4. NUMBER

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

Dimension attributes with TEXT data type are designed to store descriptive labels and names that appear directly in reports and UIs. Numeric types (DECIMAL, NUMBER) and DATE are used for filtering, sorting, and calculations rather than display. Reporting tools use TEXT attributes to show human-readable dimension member names and descriptions in rows, columns, and filters.

Multiple choice technology programming languages
  1. Two tier model

  2. Three tier model

  3. Both a & b

  4. None of the above

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

JDBC supports both two-tier and three-tier models. Two-tier has the application directly connected to the database, while three-tier introduces middleware between application and database for better management.

Multiple choice technology mainframe
  1. Database Rate Modifier

  2. Database Rate Module

  3. Database Request Module

  4. Database Request Modifier

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

DBRM stands for Database Request Module, which is a compiled SQL program structure in IBM DB2. It contains the optimized access path for SQL statements and is created during the precompilation process. The DBRM is bound to a plan or package for execution in the DB2 environment.

Multiple choice technology mainframe
  1. True

  2. False

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

RRDS (Relative Record Data Set) is a VSAM file type where records are accessed by their relative record number (position), allowing direct access without requiring a key field.

Multiple choice technology databases
  1. UROWID

  2. BLOB

  3. NCLOB

  4. BFILE

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

BFILE is a unique Oracle datatype that stores a file pointer to data located outside the database in the operating system filesystem. Unlike BLOB and CLOB types which store data within the database, BFILE only maintains a reference to external files. UROWID is for rowids, NCLOB stores character large objects within the database.