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
-
What is this customer’s address?
-
Does this customer have any unpaid bills?
-
What is the balance in this customer’s account?
-
What is the total sales for each of the last 6 months?
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.
-
Current
-
Projected
-
Historical
-
Current and Projected
A
Correct answer
Explanation
OLTP (Online Transaction Processing) systems maintain current, up-to-date data for day-to-day operations. They reflect the current state of business entities, not projected or historical data. Historical data is the domain of data warehouses.
-
Design Advisor
-
Visual Explain
-
Performance Advisor
-
Configuration Assistant
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.
-
SERVER
-
SERVER_ENCRYPT
-
CLIENT
-
DCS
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.
-
CONNECT
-
CONTROL
-
SYSMAINT
-
EXECUTE
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.
-
CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 446
-
CATALOG TCPIP NODE mydb2srv REMOTE myhost SERVER 446
-
CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 192.168.10.1
-
CATALOG TCPIP NODE mydb2srv REMOTE myhost SERVER 192.168.10.1
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).
-
Control Center
-
Development Center
-
Developer Work Bench
-
Stored Procedure Builder
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.
-
Journal
-
Task Center
-
Control Center
-
Activity Monitor
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.
-
Visual Explain
-
Activity Monitor
-
SQL Performance Monitor
-
DB2 Performance Monitor
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.
-
Current
-
Projected
-
Historical
-
Current and Projected
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.
-
DB2 AVI Extender
-
DB2 Text Extender
-
DB2 XML Extender
-
DB2 Spatial Extender
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.
-
SQL statements
-
New indexes
-
DDL
-
Database configuration parameter settings
D
Correct answer
Explanation
The DB2 Configuration Advisor recommends optimal values for database configuration parameters and buffer pools based on system resources and user inputs. It does not design indexes, write SQL, or generate DDL.
-
CONTROL
-
BIND
-
EXECUTE
-
BINDADD
-
CONTROL
-
BIND
-
EXECUTE
-
BINDADD
-
SERVER
-
SERVER_ENCRYPT
-
CLIENT
-
DCS
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.