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
-
A. STORAGE GROUP -->DATABASE --> TABLESPACE -->TABLE--> VIEW
-
B.TABLESPACE -> DATABASE-> TABLE-> VIEW--> STORAGE GROUP
-
C. DATABASE --> TABLE --> TABLE SPACE --> VIEW-->STORAGE GROUP
-
D. VIEW --> TABLE --> DATABASE--> TABLE SPACE --> STORAGE GROUP
A
Correct answer
Explanation
The correct hierarchy in database storage organization is Storage Group (physical containers) → Database (logical grouping) → Tablespace (storage organization) → Table (actual data) → View (virtual table representation). This represents the progression from physical storage containers to logical database structures, with views being derived from tables.
-
Index cache stores data for the connected output ports and unconnected return ports
-
Data cache stores data for the connected output ports and not for unconnected return ports
-
Index cache stores data for the columns used in the lookup condition.
-
Data cache stores data for the columns used in the lookup condition
C
Correct answer
Explanation
In Informatica lookup transformations, the index cache stores data for columns used in the lookup condition to optimize performance. The data cache stores data for the connected output ports. This separation allows faster lookup operations by indexing the condition columns.
-
Application server
-
Database server
-
Local server
-
Remote server
A
Correct answer
Explanation
SQL scripts invoked by Report Types are typically placed on the Application server rather than the Database server. This architecture allows the application server to manage report execution and SQL script invocation, keeping database servers focused on data storage and query execution rather than report logic.
-
Buffer block size
-
Index and data cache size for Aggregator
-
Index and data cache size for Joiner
-
Index and data cache size for Source qualifier
A,B,C
Correct answer
Explanation
The Workflow Monitor provides session-specific details that help tune performance. Buffer block size can be optimized based on performance counters. Index and data cache sizes for Aggregator and Joiner transformations can be tuned based on session details. Source Qualifier does not have cache settings - cache is configured at the source/target level, not for Source Qualifier itself.
-
Index cache-Stores primary and foreign key information in separate caches
-
Index cache-Stores XML row data while it generates the XML target
-
Data cache-Stores primary and foreign key information in separate caches
-
Data cache-Stores XML row data while it generates the XML target
A,D
Correct answer
Explanation
For XML target caches in Informatica, the index cache stores primary key and foreign key information in separate caches, while the data cache stores the actual XML row data during XML target generation. Option B is incorrect because index cache stores key information, not row data. Option C is incorrect because data cache stores row data, not key information.
-
Use a Filter transformation to measure the time it takes to read source data
-
Use a read test mapping
-
Use a database query
-
Use a Sorter transformation to measure the time it takes to read source data
A,B,C
Correct answer
Explanation
Identifying relational source bottlenecks requires measuring query/data retrieval performance: Filter transformation with timing, read test mapping (single-source mapping to test speed), or running the source database query directly. A Sorter transformation processes already-read data and doesn't measure source read time.
-
to establishing business intelligence.
-
designs and manufactures automated solutions
-
to Adoption of Key Infrastructure
-
None of the above.
A
Correct answer
Explanation
Data warehousing consolidates data from multiple operational systems into a unified repository. This consolidated view enables business intelligence (BI) tools to perform analytics, reporting, and data mining across the entire organization, supporting strategic decision-making that operational systems cannot provide.
-
subject oriented.
-
connection oriented
-
object oriented.
-
service oriented.
A
Correct answer
Explanation
Operational systems are organized around business processes and applications (order processing, payroll, inventory). Data warehouses are organized around business subjects (customer, product, sales) to facilitate cross-functional analysis. This subject orientation allows reporting across the entire organization rather than within application silos.
-
rational utified pattern
-
spiral pattern
-
agile pattern
-
waterfall pattern
B
Correct answer
Explanation
Data warehousing follows a spiral (iterative) development pattern because requirements evolve as users interact with initial deployments. Each spiral adds new data sources, enhances existing schemas, and refines ETL processes based on feedback. Waterfall is too rigid for this continually evolving environment.
B
Correct answer
Explanation
The four defining characteristics of a data warehouse are: subject oriented (organized by business subjects), time variant (historical data with timestamps), integrated (consistent format across sources), and nonvolatile (once loaded, data is not updated). The statement incorrectly claims not integrated, when integration is a core feature.
-
Assisted by JAD sessions
-
Integrated
-
Extensible
-
Manageable
B,C,D
Correct answer
Explanation
Data warehouses must integrate data from disparate sources (integrated), accommodate new requirements and sources (extensible), and remain maintainable as scope grows (manageable). JAD (Joint Application Development) sessions are useful but not mandatory.
-
normalised
-
denormalised
-
none of the above
-
all the above
C
Correct answer
Explanation
Data warehouses use neither purely normalized nor purely denormalized schemas. They employ dimensional modeling (star/snowflake schemas) which selectively denormalizes dimensions for query performance while maintaining some normalization in fact tables. Different schemas serve different purposes: dimensional modeling is the standard.
A
Correct answer
Explanation
OLAP systems organize data in multidimensional cubes (also called hypercubes), enabling fast analysis across multiple dimensions like time, geography, and product. This structure allows users to drill down, slice, and dice data efficiently. The alternative flat relational model would be much slower for complex analytical queries.
-
Meta Data
-
The work area where we apply our complex business rules
-
Hold the data and does calculations
-
element and related attribute
A,B,C
Correct answer
Explanation
A staging area in ETL processes serves multiple purposes: it stores metadata about the data, provides a workspace to apply complex business rules and transformations before loading to the target, and holds intermediate data for calculations and validation. Distractor D refers to a database schema element, not a staging area function.
-
shared data, processed data, form data
-
shared data, pre-session data and temporary data
-
shared data, post-session data and temporary data
-
shared data, pre-session data and permanent data
B
Correct answer
Explanation
Web services typically manage three types of data: shared data (persistent data accessible across sessions), pre-session data (configuration/initiation data before the session starts), and temporary data (transient data during execution like request variables). Post-session and permanent data are not standard categories.