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. Data Mart & DWH both are normalized and can exist in same tier

  2. Data Mart is normalized but DWH is not and they cannot exist in same tier.

  3. DWH is normalized but Data Mart is not and they can exist in same tier.

  4. Both Data Mart & DWH are denormalized and can exist in same tier.

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

Data warehouses and data marts both use denormalized schemas to optimize query performance. Denormalization reduces joins and improves read speed, which is essential for analytical processing. Both can exist in the same tier of an architecture (e.g., an ODS feeding both a DW and multiple marts). Option D correctly states this.

Multiple choice technology
  1. Deleting the report.

  2. The deletion of all the data fetched by the query.

  3. Deleting the report structure.

  4. Refreshing the report

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

Report purge in BusinessObjects refers to the deletion of data retrieved by the query. When a report is purged, the data rows are removed but the report structure (layout, formatting, formulas) remains intact. This is different from deleting the entire report structure or refreshing it with new data. Option B correctly describes this.

Multiple choice technology
  1. Sum

  2. Detail

  3. Measure

  4. Dimension

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

In Web Intelligence multi-query documents, only Dimension objects can be merged across queries. Measures cannot be merged because they represent calculations that would conflict when combined. Detail objects are query-specific and cannot be merged. Dimensions provide the consistent reference points needed to combine data from different queries.

Multiple choice technology
  1. You can not include complex calculations and functions in a derived table.

  2. Reduced maintenance of database summary tables

  3. Derived table provides real time data analysis

  4. None

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

Derived tables reduce maintenance overhead because they eliminate the need to manually create and update physical database summary tables. They provide real-time data analysis by executing queries against current data rather than potentially stale pre-aggregated tables. Option A is incorrect because derived tables can include complex calculations and functions.

Multiple choice technology
  1. Rows, Values, Columns

  2. Column, Values, Rows

  3. Rows, Columns, Values

  4. Both A and C are true

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

In OLAP (Online Analytical Processing), the standard output format is a matrix where dimensions form the rows and columns, and measures (the numerical values) populate the cell values. This is the fundamental structure of a pivot table or cube view. Option A incorrectly places 'Values' in the second position, and Option B misorders the components entirely.

Multiple choice technology
  1. Attached to Measure

  2. Attached to Dimension

  3. Standalone objects

  4. A & B

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

Detail objects in Business Objects universe design are always attached to dimensions and provide additional descriptive information about those dimensions. They cannot exist as standalone objects (Option C) or attach to measures (Option A). This is fundamental - dimensions are the core objects, and details elaborate on them with extra context.

Multiple choice technology
  1. Query navigation states and query results are stored in the application server memory

  2. If the same query has been executed by another user the result sets can be used if the OLAP cache is active

  3. Reading query results from OLAP cache is faster than reading from the database

  4. The size of the OLAP cache available does depend on the size of Cache memory available on the Users Desktop

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

OLAP cache stores query navigation states and results in application server memory, enabling result sharing across users who execute the same query. Cache reads are faster than database reads since data is pre-computed and stored in memory. The cache size depends on server memory, not user desktop memory.

Multiple choice technology
  1. Multidimensional

  2. Pre-calculated value

  3. Nested data

  4. Run time Calculation

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

Aggregation provides OLAP with pre-calculated values, which are summary values computed in advance and stored. This enables faster query response times since calculations don't need to be performed at runtime.

Multiple choice technology
  1. Measure Objects

  2. Dimension Objects

  3. Detail Objects

  4. A & B

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

Metrics are derived from Measure Objects, which contain numerical values that can be aggregated (sum, average, etc.). Dimension Objects provide descriptive context for grouping, while Detail Objects provide additional attributes about dimensions.

Multiple choice technology
  1. Multidimensionality

  2. Complex and adhoc query analysis

  3. Typically Normalized data structure with many tables

  4. Two dimensional data Structure with many tables

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

OLAP achieves multidimensionality through cube structures that organize data across multiple dimensions (time, geography, product, etc.). The cube structure enables complex and ad-hoc query analysis by allowing users to navigate and slice data along any dimension combination.

Multiple choice technology programming languages
  1. ERROR RECOVERY

  2. ROLLBACK

  3. Any one of the above

  4. Both of the above

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

In COBOL ENVIRONMENT DIVISION, programs (not subroutines) should have both ERROR RECOVERY and ROLLBACK paragraphs. These paragraphs handle error conditions and transaction recovery. The question follows COBOL mainframe programming standards where recovery sections are required for robust program execution.

Multiple choice technology programming languages
  1. ERROR RECOVERY

  2. ROLLBACK

  3. None of the above

  4. Both of the above

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

In certain enterprise COBOL programming schemas, the subroutine structure requires the ERROR RECOVERY paragraph in the ENVIRONMENT DIVISION to handle execution-time anomalies and provide structured recovery blocks, distinguishing it from standard programs which do not enforce this section.

Multiple choice technology programming languages
  1. ERROR RECOVERY

  2. ROLLBACK

  3. Any one of the above

  4. Both of the above

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

A program (not a subroutine) in the ENVIRONMENT DIVISION should have both ERROR RECOVERY and ROLLBACK paragraphs (D). ERROR RECOVERY handles exceptional conditions, while ROLLBACK manages transaction rollback on failure. Having both ensures comprehensive error handling and data integrity. Either one alone is insufficient.

Multiple choice technology databases
  1. Cursor table

  2. Table filter

  3. Dynamic procedure

  4. View

  5. Summary table

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

Views are virtual tables that hide underlying table structure while presenting data in a customized way. They support abstraction and can be updatable, making them ideal for allowing controlled data access without exposing base tables.