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. All data must be sorted.

  2. All children must be grouped.

  3. The parent must be established

  4. All parents must be grouped.

  5. Finite control must be released.

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

GNP (Get Next Parent) requires that the parent segment be established in the PCB before the call can be issued. Without a parent position established, DL/I cannot determine which parent's children to retrieve next. Option C correctly identifies this prerequisite.

Multiple choice technology databases
  1. Heirarchical

  2. Network

  3. Relational

  4. Object oriented

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

IMS (Information Management System) uses a hierarchical database model where data is organized in a tree structure with parent-child relationships. This is distinct from network (many-to-many), relational (tables), or object-oriented models.

Multiple choice technology enterprise content management
  1. r_creation_date

  2. r_modify_date

  3. r_access_date

  4. none

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

When the current version of a document in a version tree is deleted, the Documentum Content Server automatically promotes the version with the highest r_modify_date to be the new current version.

Multiple choice technology testing
  1. define a trigger, define the recovery operations, define the post recovery operations

  2. define the recovery operations, define a trigger, define the post recovery operations

  3. can be created in any order

  4. no such wizard is available in Quick Test

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

The Recovery Scenario wizard in QuickTest Professional follows a specific sequence: first you define what triggers the recovery (trigger event), then define what recovery operations to perform (steps to recover), and finally define post-recovery operations (what to do after recovery completes). This logical flow ensures the test knows when to activate recovery, what actions to take, and how to resume.

Multiple choice technology
  1. Meta data

  2. Summary Data

  3. Raw data

  4. Secondary data

  5. Inconsistent data

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

A data warehouse architecture consists of three core components: metadata (technical and business definitions about the data), summary data (aggregated facts and metrics pre-calculated for query performance), and raw data (detailed transaction records from source systems). Metadata includes schemas, transformation rules, and data lineage; summary data contains pre-aggregated metrics like monthly sales totals; raw data holds the granular source records that enable drill-down analysis.

Multiple choice technology
  1. Star schema

  2. Ring schema

  3. Snow flake schema

  4. Circular schema

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

The two primary schema types for data warehouse dimensional modeling are star schema and snowflake schema. Star schema has a central fact table connected directly to dimension tables (denormalized dimensions), while snowflake schema further normalizes dimension tables into sub-dimensions. Snowflake reduces redundancy but adds join complexity; star schema is simpler for queries but has some dimension data duplication.

Multiple choice technology
  1. System Concatenate Data

  2. System Combined Data

  3. Slowly Changing Dimension

  4. None of the above

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

SCD stands for Slowly Changing Dimension - a dimension in a data warehouse that evolves over time but not with every transaction. Common examples include customer address changes, product price updates, or employee role changes. Different SCD types (1-6) handle these changes differently: Type 1 overwrites old values, Type 2 maintains history with effective dates, Type 3 adds new columns for previous values, and so on.

Multiple choice technology
  1. Same

  2. Entire

  3. Hash By Key

  4. DB2

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

Same partitioning means data maintains its existing partition arrangement from the input link - no repartitioning occurs. This is efficient when data is already properly distributed. Entire would broadcast to all nodes, Hash uses key-based distribution, and DB2 uses DB2's algorithm.

Multiple choice technology
  1. Same

  2. Entire

  3. Hash By Key

  4. DB2

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

Entire partitioning sends every row to every partition/node. This is used when all nodes need complete data, such as creating reference lookup files or when every row must be processed everywhere. Same keeps existing partitions, Hash distributes by key, DB2 uses database partitioning.

Multiple choice technology
  1. Same

  2. Entire

  3. Hash By Key

  4. DB2

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

DB2 partitioning uses the same partitioning algorithm as IBM DB2 database, allowing DataStage to align with DB2's data distribution. This is useful when data comes from or goes to DB2 tables. Same maintains partitions, Entire broadcasts all rows, Hash uses hash function.

Multiple choice technology
  1. True

  2. False

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

Database stages (Oracle, DB2, etc.) in DataStage are used for reading from or writing to database tables as sources or targets. They are not used as intermediate stages for data passing within a job. For intermediate data processing, use transformer stages, aggregators, or other processing stages.