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
-
current data
-
historical data
-
both
-
none
A
Correct answer
Explanation
SCD Type 1 (Slowly Changing Dimension) overwrites old data with new data, storing only the current state of the record. No history is maintained - when a value changes, it is simply replaced. This is the simplest SCD method and is appropriate when historical tracking is not needed.
-
current data
-
historical data
-
both
-
none
C
Correct answer
Explanation
SCD Type 2 maintains both current and historical data by creating new rows for each change, preserving the complete history of changes. Unlike Type 1 which only keeps current data, Type 2 tracks every version of a record with effective dates or version numbers. This allows historical analysis of how values changed over time.
-
operational data
-
historical data
-
both
-
none
A
Correct answer
Explanation
Oracle, as an operational database (OLTP system), is designed to store and manage current operational data for day-to-day business transactions. While it can be configured for various purposes, its primary use is for operational data rather than historical analysis (which is typically handled by data warehouses). Historical data storage requires different design approaches.
-
Network Monitoring
-
Database Monitoring
-
Storage Monitoring
-
Server Monitoring
B
Correct answer
Explanation
DBSPI refers to Database Smart Probe Infrastructure, which is used for database monitoring in HP Operations Manager (HPOM) products. It helps monitor database performance, availability, and events through agents installed on database servers.
-
sp_databases
-
sp_spaceused
-
db_dbm_space_file
-
None of the above
-
NTZ_HOST, NTZ_DATABASE, NTZ_USER, NTZ_PASSWORD
-
NTZ_HOST, NTZ_DATABASE, NTZ_USER, NTZ_PASSD
-
NZ_HOST, NZ_DATABASE, NZ_USER, NZ_PASSWORD
-
NZ_HOST, NZ_DATABASE, NZ_USER, NZ_PASSWD
C
Correct answer
Explanation
The correct environment variables for Netezza database connections use the NZ_ prefix with PASSWORD (not PASSD or PASSWD). Option C has the correct variable names: NZ_HOST, NZ_DATABASE, NZ_USER, NZ_PASSWORD. Options A and B incorrectly use NTZ_ prefix, and option D uses NZ_PASSWD instead of NZ_PASSWORD.
-
netezza
-
ntzsql
-
nzsql
-
None of the above
C
Correct answer
Explanation
The nzsql command is the correct Netezza SQL client utility for connecting to and querying Netezza databases. Options A and B are incorrect command names that do not exist in the Netezza toolkit.
-
nzsql -h
-
nzsql -d
-
nzsql -l
-
None of the above
C
Correct answer
Explanation
The nzsql -l command lists all databases available on the Netezza Performance Server. The -l flag stands for 'list'. Option A (-h) typically shows help, and Option B (-d) specifies a database name to connect to.
-
Business Interaction
-
Business Intelligence
-
Both
-
None
B
Correct answer
Explanation
BI is the widely accepted industry acronym for Business Intelligence. Business Interaction is an incorrect expansion of the abbreviation, making the other options wrong.
-
Identifying business Data
-
Analyzing business Data
-
Extracting business Data
-
Storing Data
A,B,C
Correct answer
Explanation
Business intelligence focuses on extracting, identifying, and analyzing data to support decision-making. While data storage is a necessary foundation, it is typically classified under database management rather than a core BI analytical technique.
-
Data warehouses
-
Business intelligence
-
OLAP
-
Executive Information Systems
-
Joiner
-
Lookup
-
Source Qualifier
-
All
C
Correct answer
Explanation
When sources come from homogeneous databases (same database type), the Source Qualifier transformation can join them at the source level using SQL. The Source Qualifier represents the data rows from a single source and can combine multiple sources from the same database connection into one SQL query. Joiner and Lookup are used when sources come from heterogeneous databases or when joining downstream in the pipeline.
-
SEQUENTIAL
-
DYNAMIC
-
INDEX
-
ALL OF THE ABOVE
D
Correct answer
Explanation
The START statement in COBOL is used for indexed or relative files to position the file pointer. It requires the file's access mode to be defined as either SEQUENTIAL or DYNAMIC. Since multiple valid access modes/file organizations are listed, 'ALL OF THE ABOVE' serves as the correct choice.
-
SEQUENTIAL
-
DYNAMIC
-
INDEX
-
ALL OF THE ABOVE
D
Correct answer
Explanation
The START statement in COBOL is used for indexed or relative files to position the file pointer. It requires the file's access mode to be defined as either SEQUENTIAL or DYNAMIC. Since multiple valid access modes/file organizations are listed, 'ALL OF THE ABOVE' serves as the correct choice.
-
Microsoft
-
Sun Microsystems
-
IBM
-
Oracle Corporation
C
Correct answer
Explanation
Datastage is an IBM product. Originally developed by VMark, then Ascential Software, it was acquired by IBM in 2005. It is NOT a Microsoft, Sun Microsystems, or Oracle product.