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 sql
  1. Normalization

  2. Data Integrity

  3. Materialized Views

  4. All of the above

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

ON UPDATE CASCADE is a referential integrity constraint that automatically updates child records when the parent key changes. This ensures data remains consistent across related tables. Normalization reduces redundancy, materialized views pre-compute results, and the cascade specifically serves integrity.

Multiple choice sql
  1. Tables contain one or more rows

  2. Rows contain one or more database of information

  3. Databases contain one or more tables

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

Tables contain rows (also called records), and rows contain columns (fields) that hold actual data values. The statement 'Rows contain one or more database of information' is false - rows contain individual data elements (fields/columns), not entire databases. Databases contain tables, tables contain rows.

Multiple choice sql
  1. Tables

  2. Columns

  3. Rows

  4. Databases

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

Columns define the specific data attributes like name, address, or phone number. Tables organize data, rows represent individual records, and databases contain tables. The actual data elements (name, address, phone) are stored in columns.

Multiple choice db2
  1. Sub-second response time

  2. Heterogeneous data sources

  3. Voluminous historical data

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

To answer this question, the user needs to know the characteristics of a data warehouse.

A data warehouse is a large, centralized repository of data that is used for analysis and decision-making. It is designed to support business intelligence (BI) activities, such as reporting, data mining, and online analytical processing (OLAP).

Now, let's go through each option and explain why it is right or wrong:

A. Sub-second response time: This option is not a characteristic of a data warehouse. In fact, data warehouses are typically optimized for complex queries that involve large volumes of data, which can take some time to execute. They are not designed to provide sub-second response times.

B. Heterogeneous data sources: This is a characteristic of a data warehouse. Data warehouses are designed to integrate data from a wide variety of sources, such as databases, flat files, and external systems. This allows organizations to consolidate their data into a single repository for analysis.

C. Voluminous historical data: This is a characteristic of a data warehouse. Data warehouses are designed to store large volumes of historical data, which can be used for analysis and decision-making. This historical data is typically used to identify trends, patterns, and insights that can inform business strategies.

Therefore, the answer is: A. Sub-second response time.

Multiple choice db2
  1. Develop and debug an SQL stored procedure

  2. Develop and debug a user-defined data type

  3. Develop and debug a user-defined function

  4. Develop and run XML queries

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

Developer Workbench supports SQL stored procedures, user-defined functions, and XML queries with debugging capabilities. User-defined data types (UDTs) are typically managed through Data Studio or command-line tools, not the Developer Workbench. UDTs require different administrative interfaces.

Multiple choice db2
  1. Control Center

  2. Journal

  3. Task Center

  4. Health Center

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

To solve this question, the user needs to have a basic understanding of database management systems.

The correct answer is A. Control Center.

Explanation of each option:

A. Control Center: This is a graphical user interface (GUI) tool that allows database administrators to perform a wide range of administrative tasks, such as creating and managing database objects, monitoring database performance, and configuring database security.

B. Journal: This option is incorrect. A journal is a record of database changes that is used for recovery purposes in case of system failure or other issues. It does not provide a way to perform administrative tasks against database objects.

C. Task Center: This option is incorrect. The Task Center is a tool that allows users to schedule and automate tasks within the database, such as backups and maintenance routines. It does not provide a way to perform administrative tasks against database objects.

D. Health Center: This option is incorrect. The Health Center is a tool that monitors the health of the database and provides diagnostic information about potential issues. It does not provide a way to perform administrative tasks against database objects.

Therefore, the correct answer is:

The Answer is: A. Control Center.

Multiple choice db2
  1. Task Center

  2. Visual Explain

  3. Configuration Assistant

  4. Satellite Administration Center

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

To set DB2 registry parameters, the correct tool is:

C. Configuration Assistant

Configuration Assistant is a DB2 tool that allows users to configure and customize various aspects of DB2, including setting DB2 registry parameters. It provides an interface for managing system configuration, such as registry settings, database manager configuration, and database configuration.

A. Task Center: Task Center is a tool used for managing and scheduling tasks in DB2, but it does not directly allow users to set DB2 registry parameters.

B. Visual Explain: Visual Explain is a tool used for analyzing and optimizing SQL queries in DB2, but it does not have the functionality to set DB2 registry parameters.

D. Satellite Administration Center: Satellite Administration Center is a tool used for managing and monitoring database replication in DB2, but it does not have the functionality to set DB2 registry parameters.

Therefore, the correct answer is C. Configuration Assistant.

Multiple choice db2
  1. Visual Explain

  2. Alert Center

  3. Journal

  4. Configuration Assistant

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

Visual Explain is the IBM DB2 tool used to analyze and catalog database access plans and performance metrics. Alert Center manages notifications, Journal tracks activity logs, and Configuration Assistant helps with setup. Cataloging databases to understand their structure and optimization is done through Visual Explain.

Multiple choice knowledge
  1. It is a physical representation of the data

  2. It allows a many-to-many relationship

  3. It is conceptually simple

  4. It will be dominant data base of the future

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

The network data model's key advantage is that it allows many-to-many relationships between records, unlike hierarchical models which only allow one-to-many. Option A is incorrect because it's a logical model, not physical. Option C is incorrect - network models are complex.

Multiple choice knowledge
  1. spreadsheet program

  2. word processor program

  3. graphics program

  4. all of the above

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

DBMS can export and import data to and from various applications including spreadsheets (for analysis), word processors (for reports), and graphics programs (for visualization). Modern DBMS support multiple data export/import formats.

Multiple choice knowledge
  1. DB/DC dictionary

  2. TOTAL

  3. ACCESS

  4. Datapac

  5. Data Manager

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

DB/DC Dictionary (Database/Data Communications Dictionary) is a data dictionary software tool that stores metadata about the database structure. TOTAL, ACCESS, Datapac, and Data Manager are database management systems or related products, not data dictionary tools.

Multiple choice knowledge
  1. bit-byte-record-field-file-database

  2. byte-bit-field-record-file-database

  3. bit-byte-field-record-file-database

  4. bit-byte-file-record-field-database

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

Data hierarchy in ascending order is: bit (smallest) → byte → field (combination of bytes) → record (combination of fields) → file (combination of records) → database (collection of files). Option C correctly orders these from smallest to largest.

Multiple choice crystal report-reporting
  1. Connect to Data Sources

  2. Create ODBC DSNs

  3. Add tables to a report

  4. Link the tables used in a report

  5. Add fields to a report

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

Database Expert connects to data sources, adds tables to reports, links related tables via joins, and adds fields from those tables to the report layout. Creating ODBC DSNs is done outside Crystal Reports in Windows ODBC Administrator, not within the Database Expert itself.