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. at BIND time

  2. at RUN time

  3. at Execution time

  4. at End time

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

DB2 performs authorization checks at runtime when the actual SQL statement is executed. BIND time is when the application plan is created and optimized, but authorization is verified later when the plan runs. 'Execution time' and 'End time' are not the correct DB2 terminology.

Multiple choice technology databases
  1. Number of distinct values a column contain

  2. Number of distinct values a column or columns contain

  3. Number of distinct values a row contain

  4. Number of distinct values a row or rows contain

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

Index cardinality refers to the number of distinct values in the indexed column(s). A single-column index's cardinality is the count of distinct values in that column. For multi-column (composite) indexes, it's the count of distinct value combinations. Options A and B both correctly capture this definition.

Multiple choice technology databases
  1. TSO and CICS

  2. IMS and BATCH

  3. TSO, CICS, IMS and DB2

  4. TSO, CICS, IMS and VSAM

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

DB2 for z/OS is designed to be accessed from multiple attachment facilities. The four primary environments are TSO (Time Sharing Option), CICS (Customer Information Control System), IMS (Information Management System), and Batch (standard JCL jobs). VSAM is a file system, not an access environment.

Multiple choice technology databases
  1. After a load

  2. After mass updates

  3. After a deletes

  4. After a inserts

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

RUNSTATS (or RUN STATISTICS) should be executed after any operation that significantly changes data distribution. This includes bulk loads, mass updates, large delete operations, and major batch inserts. Updated statistics help the query optimizer choose efficient execution plans.

Multiple choice technology programming languages
  1. Data model objects

  2. PL/SQL objects

  3. Layout objects

  4. Frames

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

In Oracle Reports, Layout objects (frames, repeating frames, fields) collectively define the visual structure and presentation of the report. Data model objects define data sources, PL/SQL objects contain program logic, while frames are just one type of layout component. The question asks what defines the report's appearance.

Multiple choice technology programming languages
  1. Tabular Report

  2. Form Report

  3. Matrix Report

  4. Single Query Report

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

Tabular Report is the most fundamental report type, displaying data in simple rows and columns format similar to a database table. Form reports present one record per page, Matrix reports show two-dimensional data with row and column headers, while Single Query refers to a data source approach, not a report type. Tabular reports form the foundation for more complex formats.

Multiple choice technology programming languages
  1. Groups

  2. Links

  3. Fields

  4. Summaries

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

Groups organize report columns into logical sections, enabling hierarchical display and summary calculations at different levels. Fields are individual data display units, Links connect related data, and Summaries perform calculations. Groups provide the structural organization that determines how columns relate and repeat in the report.

Multiple choice technology programming languages
  1. Data model

  2. Data Query

  3. Data wizard

  4. Data fields

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

The Data model defines what data gets retrieved by specifying queries, data sources, and column definitions. It acts as the blueprint for data access, determining which tables are queried, how they're joined, and what columns are available. Data Query, Data Wizard, and Data Fields are components or tools, not the comprehensive model itself.

Multiple choice technology web technology
  1. Persistence

  2. Server Persistence

  3. Session Persistence

  4. Streaming

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

Session Persistence specifically refers to the mechanism of saving HTTP session data to disk when a server shuts down and reloading it when the server restarts. This ensures that user sessions survive server restarts without losing data. Persistence and Server Persistence are too general, while Streaming relates to data transfer, not session storage.

Multiple choice technology web technology
  1. a) Integrates desperate data into meaningful information

  2. b) Collects only historical data for past data analysis

  3. c) Defines business rules

  4. d) Unearths hidden patterns and trends to sustain market leadership

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

Business Intelligence integrates data from disparate sources into meaningful information for decision-making (Option A). It unearths hidden patterns and trends that can help sustain market leadership (Option D). BI is not limited to historical data only (B is wrong) - it includes current and predictive analytics. While BI may inform business rules, defining them is not its core purpose (C is wrong).

Multiple choice technology
  1. a) Dispersed data -> Collected Data -> Integrated Data -> Information -> Knowledge

  2. b) Collected Data -> Dispersed data -> Integrated Data -> Information -> Knowledge

  3. c) Dispersed data -> Collected Data -> Integrated Data -> Knowledge-> Information

  4. d) Collected Data -> Dispersed data -> Integrated Data -> Knowledge -> Information

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

In BI architecture, data flows from dispersed sources (operational systems) to collected data (data warehouse/staging), then to integrated data (integrated warehouse), transformed into information (reports/analysis), and finally into knowledge (insights/decisions). Options B and D incorrectly reverse dispersed and collected data. Option C incorrectly places knowledge before information.

Multiple choice technology
  1. a) Sourcing data from disparate sources and integrating to be central repository

  2. process to change data from a detailed level to a summary level

  3. process to change data from a summary level to a detailed level

  4. d) Separating data from one source into various sources of data

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

Data Integration involves sourcing data from disparate sources and integrating them into a central repository like a data warehouse. This is Option A. Options B and C describe aggregation/disaggregation (summarization), not integration. Option D describes the opposite of integration - it's about separating data, not combining it.

Multiple choice technology
  1. a) ETL Tool processing engine

  2. b) Target database engine

  3. c) Source database engine

  4. d) Source and Target database engine

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

ELT processes data using the target database engine, unlike ETL which transforms before loading. The data is first extracted and loaded into the target system, then transformed using that system's processing power.

Multiple choice technology
  1. a) Integrates desperate data into meaningful information

  2. b) Collects only historical data for past data analysis

  3. c) Defines business rules

  4. d) Unearths hidden patterns and trends to sustain market leadership

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

Business Intelligence integrates data from disparate sources into meaningful information (A) and uncovers hidden patterns and trends for competitive advantage (D). BI is not limited to historical data only, and defining business rules is not its primary purpose.