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. What is this customer’s address?

  2. Does this customer have any unpaid bills?

  3. What is the balance in this customer’s account?

  4. What is the total sales for each of the last 6 months?

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

Typical data warehouse queries are analytical and historical, examining trends over time like total sales across months. Options A, B, and C are operational OLTP queries for individual customer transactions, which are characteristic of operational systems, not data warehouses.

Multiple choice technology databases
  1. Design Advisor

  2. Visual Explain

  3. Performance Advisor

  4. Configuration Assistant

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

Design Advisor is the DB2 tool that analyzes queries and workload patterns to recommend indexes and materialized query tables (MQTs) for performance improvement. Visual Explain shows plans but doesn't make recommendations. Performance Advisor and Configuration Assistant serve different purposes.

Multiple choice technology databases
  1. SERVER

  2. SERVER_ENCRYPT

  3. CLIENT

  4. DCS

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

DB2 9 supports SERVER, SERVER_ENCRYPT, CLIENT, and CLIENT_ENCRYPT authentication types. DCS (Database Connection Services) is not a valid authentication method - it's a facility for connecting to non-DB2 databases (like Oracle, SQL Server) through DRDA, not an authentication type.

Multiple choice technology databases
  1. CONNECT

  2. CONTROL

  3. SYSMAINT

  4. EXECUTE

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

The DB2 Database Manager configuration file (dbm cfg) is used to set instance-level authorities including SYSMAINT, SYSCTRL, and SYSADM. CONNECT, CONTROL, and EXECUTE are database or object-level privileges granted through SQL statements, not configuration file settings. SYSMAINT is a system maintenance authority defined at the instance level.

Multiple choice technology databases
  1. CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 446

  2. CATALOG TCPIP NODE mydb2srv REMOTE myhost SERVER 446

  3. CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 192.168.10.1

  4. CATALOG TCPIP NODE mydb2srv REMOTE myhost SERVER 192.168.10.1

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

The CATALOG TCPIP NODE command requires: a local node name (what you're naming it locally), the remote hostname, and the port. Option B is correct: 'mydb2srv' is the local node name, 'myhost' is the remote hostname, and 446 is the port. Options A and C use 'myhost' as the node name (incorrect), and D uses an IP address instead of hostname for the SERVER parameter (should be port number).

Multiple choice technology databases
  1. Control Center

  2. Development Center

  3. Developer Work Bench

  4. Stored Procedure Builder

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

The Developer Work Bench is the integrated development environment for DB2 V9 that supports creating and debugging SQL stored procedures. Control Center is for administration. Development Center was from earlier versions. Stored Procedure Builder was a separate tool that was deprecated in favor of Developer Work Bench.

Multiple choice technology databases
  1. Journal

  2. Task Center

  3. Control Center

  4. Activity Monitor

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

The Journal is a DB2 tool that maintains a historical log of tasks performed, database changes made, messages generated, and notifications received. Task Center is for scheduling tasks. Control Center provides general administration. Activity Monitor shows current activity, not historical information.

Multiple choice technology databases
  1. Visual Explain

  2. Activity Monitor

  3. SQL Performance Monitor

  4. DB2 Performance Monitor

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

SQL Performance Monitor is the tool specifically designed for analyzing database operations against DB2 for i5/OS. Visual Explain shows access plans. Activity Monitor is for real-time monitoring. DB2 Performance Monitor was the tool for other DB2 platforms, not i5/OS.

Multiple choice technology databases
  1. Current

  2. Projected

  3. Historical

  4. Current and Projected

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

OLTP (Online Transaction Processing) systems are designed to handle day-to-day real-time operations and maintain current, up-to-date data. Unlike OLAP systems which store historical data for analysis, OLTP systems focus on current transactional data. The data age is 'Current' because OLTP systems process transactions as they occur in real-time, not projections or historical records.

Multiple choice technology databases
  1. DB2 AVI Extender

  2. DB2 Text Extender

  3. DB2 XML Extender

  4. DB2 Spatial Extender

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

The DB2 XML Extender is specifically designed to handle XML documents within DB2 databases, including shredding (parsing and decomposing) XML into relational columns. 'Shredding' refers to the process of breaking XML documents into relational data that can be stored and queried in database tables. The other extenders serve different purposes: AVI for audio/video, Text for text search, and Spatial for geospatial data.

Multiple choice technology databases
  1. SERVER

  2. SERVER_ENCRYPT

  3. CLIENT

  4. DCS

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

DB2 UDB Version 8 supports SERVER, SERVER_ENCRYPT, CLIENT, and CLIENT_ENCRYPT as valid authentication types. DCS (Database Connection Services) is not a valid authentication method for DB2 UDB Version 8. DCS is related to DRDA (Distributed Relational Database Architecture) and gateways to access non-DB2 databases, not an authentication type. SERVER authentication occurs at the database server, while CLIENT authentication relies on the client system.