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

Multiple choice technology packaged enterprise solutions
  1. Oracle Reports

  2. Oracle Forms

  3. PL/SQL Stored Procedure

  4. Host

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

When creating an executable in Oracle EBS, valid execution methods include Oracle Reports, PL/SQL Stored Procedures, and Host (shell scripts). Oracle Forms is not a valid execution method for concurrent programs - Forms are interactive UI components, not batch executables.

Multiple choice technology databases
  1. INIT call gets the database availability status

  2. It is not advisable to use GOBACK for ending an IMS COBOL program

  3. If the SSA contains only the segment name, byte 9 must contain a blank

  4. Basic checkpoint calls do not support GSAM files

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

INIT call checks database availability (A is true). In IMS COBOL, GOBACK is actually the recommended way to end programs (B is false). When an SSA (Segment Search Argument) contains only the segment name without qualification, byte 9 must be blank (C is true). Basic checkpoint calls don't support GSAM files (D is true).

Multiple choice technology databases
  1. AI

  2. AM

  3. AO

  4. NI

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

For GSAM databases, status code 'AI' (Abnormal - Input dataset not available) is issued when a GET call is attempted on a non-existent input dataset. Option A is correct. Status codes AM (Access Method error), AO (Abnormal - Other), and NI (Not Input-related) don't specifically indicate the missing input dataset condition.

Multiple choice technology operating systems
  1. Sites

  2. Tree

  3. Organizational Units (OUs)

  4. Trusts

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

Organizational Units (OUs) are the primary containers within a domain for organizing objects like users, groups, and computers. They enable applying Group Policy and delegating administrative authority. Sites are for physical network topology, Trees are collections of Domains, and Trusts are relationships between domains.

Multiple choice technology databases
  1. True

  2. False

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

TEMPLATE is a utility control statement that provides a template mechanism for specifying utility parameters, but it is not specific to the REPAIR utility. It can be used with various DB2 utilities, not exclusively REPAIR. The statement in the question incorrectly suggests a specific relationship that doesn't exist.

Multiple choice technology databases
  1. Better data compression

  2. Less I/O

  3. Faster performance for decision support queries that involve only a few columns

  4. Best suited for OLTP

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

Column-oriented storage enables better compression (similar values in a column compress well), reduces I/O (only needed columns are read), and accelerates decision-support queries that access few columns. OLTP is NOT well-suited - it requires row-oriented access for transactional updates. This is a key architectural difference.

Multiple choice technology databases
  1. True

  2. False

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

Sybase IQ's column-oriented architecture treats every column as an indexed structure by default. Unlike traditional row-based databases that require explicit index creation, Sybase IQ stores data in highly compressed, indexed column structures. This architectural design is fundamental to its performance for analytical queries.

Multiple choice technology databases
  1. LF

  2. HG

  3. HNG

  4. CMP

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

LF (Low Fast) index is optimized for columns with high cardinality like primary keys, providing efficient lookup performance. HG (High Group) is better for low-cardinality columns with many duplicates. HNG (High Non-Grouped) and CMP are not standard Sybase IQ index types for this use case.

Multiple choice technology databases
  1. True

  2. False

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

Sybase IQ uses write locking where one process writing to a table blocks other processes from updating the same table. This prevents concurrent modification conflicts. The blocking process will fail or wait depending on isolation settings.