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
-
First level data mart
-
Second level data mart
-
All of these
-
None of Above
B
Correct answer
Explanation
A consolidated data mart is a second-level data mart that aggregates and combines data from multiple first-level (atomic) data marts. First-level marts contain detailed transactional data, while second-level (consolidated) marts provide summarized, cross-functional views for reporting and analysis.
-
Similar Data
-
Isolated data
-
None of Above
-
Both 1& 2
B
Correct answer
Explanation
In data warehousing, 'stovepipe' data marts refer to isolated, non-integrated systems that do not share common dimensions (conformed dimensions), leading to fragmented and siloed data.
-
Fact table with no dimensions
-
Factless fact table
-
Fact table with two or three dimensions
-
Fact table with to many dimensions
D
Correct answer
Explanation
A centipede fact table refers to a fact table with an excessive number of dimensions (often 15+), which makes it difficult to manage and query efficiently. This pattern is considered an anti-pattern in dimensional modeling because it violates the principle of keeping fact tables focused on specific business processes. The name 'centipede' metaphorically describes the table having 'too many legs' (dimensions).
-
Transaction Number, bill of lading number, invoice number may be DD.
-
DD has no attributes
-
DD does not join to actual dimension table
-
All of the above are correct
D
Correct answer
Explanation
A degenerate dimension is a dimension key (like an invoice or transaction number) that is stored directly in the fact table without joining to a separate dimension table, meaning it has no attributes of its own.
-
Second level data mart
-
First level data mart
-
All of these
-
None of above
A
Correct answer
Explanation
This is a duplicate of question 134480 with reordered options. A consolidated data mart is a second-level data mart that aggregates and combines data from multiple first-level (atomic) data marts, providing summarized, cross-functional views for reporting and analysis.
-
Similar Data
-
Isolated data
-
Unique data
-
None of Above
B
Correct answer
Explanation
In data warehousing, a 'stovepipe' refers to isolated data marts that are developed independently without conforming to enterprise standards. These stovepipe systems cannot easily share or integrate data with other parts of the organization, creating information silos. The term comes from the analogy of separate stove pipes that don't connect.
-
Clean Data
-
Dirty Data
-
Clean and Dirty Data
-
None of above
A
Correct answer
Explanation
A core purpose of data warehousing is the ETL (Extract, Transform, Load) process that cleanses source data by removing errors, handling missing values, standardizing formats, and applying business rules. The data warehouse stores this cleaned, consistent, integrated data - this is a fundamental differentiator from operational systems that may contain dirty, inconsistent data.
-
Adjusting DAta BAse System
-
Adaptable DAta BAse System
-
Altering DAta BAse System
-
Amending DAta BAse System
B
Correct answer
Explanation
ADABAS is a high-performance database management system. The name ADABAS is an acronym for Adaptable DAta BAse System, reflecting its flexible architecture designed for efficient data processing.
-
Inverted List Model
-
Relational Model
-
Hierarchical Model
-
Object Oriented Model
A
Correct answer
Explanation
ADABAS uses the Inverted List Model for data storage and retrieval. This model uses inverted indexes to provide fast access to data through multiple keys, which is a key architectural feature of ADABAS.
-
GRANT
-
EXIT at pl/sql prompt
-
Alter command
-
System crash
-
Commit before a system crash
D
Correct answer
Explanation
System crashes cause automatic rollback of uncommitted transactions to maintain database ACID properties. The UNDO logs are used to reverse any uncommitted changes. Normal SQL commands like GRANT, ALTER, or EXIT do not trigger rollbacks.
-
They indicate an optimized execution plan.
-
They may be able to be tuned to use an index
-
The full-table scan should be normalized from the database design
-
A full-table scan is always sub-optimal.
B
Correct answer
Explanation
Full-table scans on large tables read every row, which is expensive. Identifying these scans is critical because they can often be optimized by creating or using appropriate indexes. Indexes allow the database to read only relevant rows instead of scanning the entire table.
-
Regulate the transport of the table's data records during installs, upgrades, copies
-
Regulate the scope that you may use to display and maintain data records
-
Answers A & B
-
None of the above
B
Correct answer
Explanation
In SAP ABAP Dictionary, the 'Data Browser/Table View Maintenance' setting (such as 'Display/Maintenance Allowed') regulates whether and how users can view, edit, or maintain the table's records using tools like SE16 or SM30.
-
Relational
-
Hierarchical
-
Network
-
What is IDMS
C
Correct answer
Explanation
IDMS (Integrated Database Management System) is a Network Model database. The Network model allows many-to-many relationships between records through set relationships, unlike the Hierarchical model (tree structure) or Relational model (tabular structure with foreign keys).
-
Intergrated Data Management System
-
India Department of Management Studies
-
International Data Management System
-
Integrated Data Management Services
A
Correct answer
Explanation
IDMS stands for Integrated Database Management System (or Integrated Data Management System). Option A contains the correct expansion despite a minor spelling error where 'Intergrated' should be 'Integrated'. The other options (B, C, D) represent incorrect expansions.
-
CHANGE PASSWORD USER bob OLD bobpass NEW newpass
-
CONNECT TO sample USER bob USING bobpass NEW newpass
-
CONNECT TO sample USER bob USING bobpass NEW newpass CONFIRM newpass
-
No DB2 command can be used to change the password of a user ID
C
Correct answer
Explanation
In DB2, you can change a user's password during connection using the syntax: CONNECT TO database USER username USING old_password NEW new_password CONFIRM new_password. This verifies and updates the password in the operating system or external security manager.