Computer Knowledge
Database Management Systems
5,344 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
-
BALANCED TREE
-
BITMAP
-
FUNCTIONAL
-
BINARY TREE
A
Correct answer
Explanation
Oracle's default and most common indexing system is B-Tree (Balanced Tree) indexing. Bitmap indexing is an optional feature in Oracle used for low-cardinality columns, not the default. Functional indexing exists but is not a separate indexing system - it's just indexing on function results. Binary tree is not a standard Oracle indexing term.
-
Pointer data
-
Metadata
-
Information data
-
backup data
B
Correct answer
Explanation
The question asks what blocks pointing to data blocks (single indirect, double indirect) are collectively known as. While these are technically part of the inode's indirect pointer structure, 'Metadata' (option B) is the best available answer among the options, though it's not entirely precise - they're more accurately called indirect pointer blocks or simply indirect blocks.
B
Correct answer
Explanation
Materialized views store actual data physically, unlike regular views which are just stored queries. When base tables are dropped, the materialized view's data remains in storage. The view may become invalid or unusable, but the data is not automatically deleted. The statement is false.
-
Restart the client machine alone
-
Verify the parameters in the tnsnames.ora file. If required parameters are not present provide it, save it and just connect again
-
Verify the parameters in the tnsnames.ora file. If required parameters are not present provide it, save it and just connect again.Then restart the forms server for the changes to get reflected.
-
Only restart the forms server.
B
Correct answer
Explanation
ORA-12154 indicates the TNS listener cannot resolve the service name. The solution is to verify and correct the tnsnames.ora file parameters. Once corrected and saved, reconnecting is sufficient - restarting the client machine or forms server is unnecessary and excessive.
-
for handling multi valued dimensions
-
for integrating data marts into a data warehouse
-
for event tracking
-
for explaining why a record exists in a fact table
B
Correct answer
Explanation
Conformed dimensions are dimensions that have the same meaning and content across multiple data marts. They enable integration of disparate data marts into a coherent data warehouse by ensuring consistent dimension keys and definitions. This allows drilling across data marts without data integrity issues.
-
Data explosion
-
Data integration
-
Scalability
-
Data warehouse performance
A
Correct answer
Explanation
Compound Growth Factor (CGF) measures how data volume grows over time in a data warehouse environment. As historical data accumulates and new sources are added, the data can explode exponentially. CGF quantifies this growth phenomenon, particularly relevant for storage capacity planning and performance management.
-
Surrogate keys
-
Compound keys
-
Complex keys
-
None of the above
A
Correct answer
Explanation
In dimensional modeling, fact tables link to dimension tables using surrogate keys - artificially generated keys that are independent of source system keys. Surrogate keys provide stability, performance, and handle slowly changing dimensions better than natural or compound keys.
-
As a helper table
-
For explaining why a record exists in a fact table
-
For integrating data marts into a data warehouse
-
For handling changes to the data
B
Correct answer
Explanation
Casual dimensions (also called degenerate dimensions) are dimension attributes stored in the fact table that have no corresponding dimension table. They explain why a fact exists - such as invoice number, order number, or transaction ID - and provide context without requiring a separate dimension table.
-
for event tracking
-
for handling multi valued dimensions
-
as a helper table
-
none of the above
A
Correct answer
Explanation
Factless fact tables contain no measures - only foreign keys to dimensions. They are used to track events or represent relationships that occur, such as student attendance, product promotions, or patient visits. The existence of a record indicates the event happened.
-
The time it takes to populate a data warehouse
-
The amount of time that elapses between the update of a record in the operational environment and the time that the update is reflected in the data warehouse
-
The granularity of the time dimension that is present in the data warehouse
-
The time it takes to populate the data warehouse from the data staging area
B
Correct answer
Explanation
A 'wrinkle of time' refers to the latency delay between when data changes in operational systems and when those changes appear in the data warehouse. This lag can occur due to ETL batch windows, processing time, or intentional delays. It's a key data freshness metric.
-
Data that is reconciled and stored in the data warehouse
-
Data that is calculated and stored in the data warehouse
-
Data that is stored in the ODS
-
Numeric data that is stored in the data warehouse
B
Correct answer
Explanation
Derived data is data that is calculated from other data and stored in the data warehouse. Examples include totals, ratios, percentages, or any computed values. Unlike raw data which is copied directly, derived data involves computation before storage.
-
Network protocols and bandwidth
-
Data normalization and security
-
Data cleansing and transformation
-
Raw data size and software license management
C
Correct answer
Explanation
When integrating acquired company data, the primary challenge is data quality - different formats, standards, duplicates, and inconsistencies must be cleansed and transformed before loading into the enterprise warehouse. Network issues, security concerns, and raw data size are secondary to ensuring clean, consistent integration.
-
The ETL scripts that are used for loading the data into the data warehouse
-
The metadata that is associated with the data warehouse
-
The user manual for the data warehouse
-
all of the above
B
Correct answer
Explanation
Metadata in a data warehouse contains descriptive information about the structure, meaning, and lineage of data fields. This includes field names, data types, source systems, transformation rules, and business definitions. End users access metadata repositories or data dictionaries to understand field details without needing to examine ETL scripts or technical documentation.
-
Aggregation
-
Filtering
-
Extraction
-
Loading
A
Correct answer
Explanation
Shrunken dimensions are created through the aggregation process in dimensional modeling. When a dimension table is summarized or aggregated at a higher level (such as aggregating from daily to monthly), it becomes a shrunken dimension. This technique reduces dimension size and improves query performance for summary-level analysis.