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
  1. Surrogate keys

  2. Compound keys

  3. Complex keys

  4. None of the above

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

In dimensional modeling, fact tables link to dimension tables using surrogate keys - artificially generated keys that are independent of source system keys. Surrogate keys provide stability, performance, and handle slowly changing dimensions better than natural or compound keys.

Multiple choice technology
  1. As a helper table

  2. For explaining why a record exists in a fact table

  3. For integrating data marts into a data warehouse

  4. For handling changes to the data

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

Casual dimensions (also called degenerate dimensions) are dimension attributes stored in the fact table that have no corresponding dimension table. They explain why a fact exists - such as invoice number, order number, or transaction ID - and provide context without requiring a separate dimension table.

Multiple choice technology
  1. for event tracking

  2. for handling multi valued dimensions

  3. as a helper table

  4. none of the above

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

Factless fact tables contain no measures - only foreign keys to dimensions. They are used to track events or represent relationships that occur, such as student attendance, product promotions, or patient visits. The existence of a record indicates the event happened.

Multiple choice technology
  1. The time it takes to populate a data warehouse

  2. The amount of time that elapses between the update of a record in the operational environment and the time that the update is reflected in the data warehouse

  3. The granularity of the time dimension that is present in the data warehouse

  4. The time it takes to populate the data warehouse from the data staging area

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

A 'wrinkle of time' refers to the latency delay between when data changes in operational systems and when those changes appear in the data warehouse. This lag can occur due to ETL batch windows, processing time, or intentional delays. It's a key data freshness metric.

Multiple choice technology
  1. Data that is reconciled and stored in the data warehouse

  2. Data that is calculated and stored in the data warehouse

  3. Data that is stored in the ODS

  4. Numeric data that is stored in the data warehouse

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

Derived data is data that is calculated from other data and stored in the data warehouse. Examples include totals, ratios, percentages, or any computed values. Unlike raw data which is copied directly, derived data involves computation before storage.

Multiple choice technology
  1. Network protocols and bandwidth

  2. Data normalization and security

  3. Data cleansing and transformation

  4. Raw data size and software license management

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

When integrating acquired company data, the primary challenge is data quality - different formats, standards, duplicates, and inconsistencies must be cleansed and transformed before loading into the enterprise warehouse. Network issues, security concerns, and raw data size are secondary to ensuring clean, consistent integration.

Multiple choice technology
  1. The ETL scripts that are used for loading the data into the data warehouse

  2. The metadata that is associated with the data warehouse

  3. The user manual for the data warehouse

  4. all of the above

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

Metadata in a data warehouse contains descriptive information about the structure, meaning, and lineage of data fields. This includes field names, data types, source systems, transformation rules, and business definitions. End users access metadata repositories or data dictionaries to understand field details without needing to examine ETL scripts or technical documentation.

Multiple choice technology
  1. Aggregation

  2. Filtering

  3. Extraction

  4. Loading

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

Shrunken dimensions are created through the aggregation process in dimensional modeling. When a dimension table is summarized or aggregated at a higher level (such as aggregating from daily to monthly), it becomes a shrunken dimension. This technique reduces dimension size and improves query performance for summary-level analysis.

Multiple choice technology
  1. Architected data marts

  2. Independent data marts

  3. Dependant data marts

  4. Satellite data marts

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

Stovepipe data marts are built independently for specific departments or business functions without integration with the enterprise data warehouse or other data marts. They are called independent data marts because each mart operates in isolation, creating data silos that can lead to inconsistent definitions and redundant data across the organization.

Multiple choice technology
  1. Vector indexing

  2. B-tree indexing

  3. Bitmapped indexing

  4. Join indexing

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

Bitmapped indexing is highly efficient for data warehouse applications because it uses bitmaps to represent indexing information, making it ideal for low-cardinality columns (like gender, status, yes/no fields) and complex multi-column queries common in analytical processing. B-tree indexing is better suited for OLTP systems with high-cardinality data, while vector indexing and join indexing are not standard indexing techniques used in data warehouses.

Multiple choice technology
  1. Dormant data

  2. Static data

  3. Operational data

  4. Time dependant data

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

Dormant data refers to data that has been loaded into the data warehouse but is never accessed or used by any queries or reports. This wastes storage space and ETL processing resources. Organizations should identify dormant data through usage monitoring and consider archiving or removing it to optimize warehouse performance and reduce costs.

Multiple choice technology
  1. Data warehouse

  2. ODS

  3. Data staging area

  4. Near line storage

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

In the Corporate Information Factory (CIF) architecture, Near Line Storage (NLS) holds the highest volume of data. NLS stores archival and historical data that's not actively used but must be retained. Data warehouses contain current and historical data for analysis but have less volume than NLS. ODS (Operational Data Store) holds current operational data. Data staging areas are temporary. Near Line Storage is designed for cost-effective storage of massive historical data volumes.

Multiple choice technology
  1. The data warehouse is created first and then the data marts

  2. The data marts are created first and then data marts

  3. A set of independent data marts are created

  4. An enterprise data warehouse is created without creating data marts

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

In top-down data warehouse architecture (Bill Inmon's approach), the enterprise data warehouse is created first as a single, integrated repository. Then, departmental data marts are derived from the warehouse. This ensures consistency across the organization and avoids data silos. Option B is incorrect because it contradicts the top-down principle. Option C describes independent data marts (bottom-up). Option D is wrong because data marts ARE created in top-down architecture.

Multiple choice technology
  1. The data warehouse is created first and then the data marts

  2. The data marts are created first and then data marts

  3. A set of independent data marts are created

  4. An enterprise data warehouse is created without creating data marts

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

In bottom-up architecture (Ralph Kimball's approach), data marts are created first to address specific business needs. These data marts can then be integrated to form an enterprise data warehouse. This is faster to implement initially but can lead to consistency challenges. Option A describes top-down, not bottom-up. Option C suggests independent marts with no integration, which isn't a complete architecture. Option D contradicts the bottom-up approach.

Multiple choice technology
  1. Processing overhead for large input data sets is high

  2. The no of dimensions is usually restricted to 10 or less

  3. Scalability is good

  4. It has a good user interface and functionality

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

MOLAP (Multidimensional OLAP) uses pre-computed cubes for fast query performance. However, scalability is POOR, not good. MOLAP struggles with large datasets because cubes require extensive pre-computation and storage. Processing overhead for large datasets is high because all aggregations must be pre-calculated. Dimensions are often restricted (commonly to 10 or fewer) due to cube explosion. User interface is good because pre-computed results enable instant responses. Option C is actually NOT true about MOLAP - it's the limitation.