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
-
Aggregate data should be stored in the original fact and dimension tables that contain the detail data
-
Aggregate data has to be stored in separate fact tables but the same dimension tables can be used.
-
Each level of aggregate data should be stored in separate set of fact and dimension tables.
-
All levels of aggregation should be stored in a set of fact and dimension tables and the detailed data should be stored in separate fact and dimension table.
C
Correct answer
Explanation
In data warehouse design, each aggregation level should have its own set of fact and dimension tables (Option C). This is because aggregated data has different granularity than detailed data. For example, monthly sales aggregates have different dimensions and grain than daily transactions. Option A is wrong because mixing aggregate and detail data degrades query performance. Option B is incorrect because aggregate data requires appropriate dimension tables at the same grain. Option D is inefficient - storing all aggregation levels together doesn't optimize for different query patterns.
-
View
-
Business object
-
Business component
-
Database table
C
Correct answer
Explanation
A Business Component in Siebel CRM is the object responsible for data retrieval and manipulation from the database. Views display data, Business Objects contain relationships, and database tables are the underlying storage.
-
Differences
-
Similarities
-
Shared properties
-
Relationships
D
Correct answer
Explanation
A Business Object in Siebel CRM defines and contains the relationships between different Business Components, linking related data entities together in a logical structure.
B
Correct answer
Explanation
The statement is False. When you install iProcess Engines on multiple servers sharing the same database, it creates a Cluster architecture, not a Node Cluster Architecture. The terminology matters - it's simply called a Node Cluster or just a Cluster. The distinction in naming is important for accurate documentation.
-
detect that the failure has occurred
-
guarantee the integrity of any in-progress transactions
-
seamlessly continue working when the database connection returns (whether that connection is to the original database or a failover database)
-
All of above
D
Correct answer
Explanation
The TIBCO iProcess Engine is designed for enterprise resilience, automatically detecting database failures, ensuring transaction integrity through two-phase commits, and resuming seamlessly when connection is restored.
-
Microsoft Transaction Server (MTS)
-
Oracle ODBC Driver
-
Transparent Application Failover (TAF)
-
All of above
C
Correct answer
Explanation
On Oracle databases, the Process Sentinels use Oracle's event system for failure detection. Transparent Application Failover (TAF) is the Oracle feature that enables automatic failover to a backup database instance if the primary fails. MTS is a Microsoft technology, ODBC is a driver interface - neither provide failover support.
-
Relational database and COBOL file.
-
Relational database and flat file.
-
Relational database, flat file, and COBOL file.
-
Relational database, flat file, COBOL file, and XML file.
B
Correct answer
Explanation
PowerCenter Lookup transformations primarily support relational sources (tables, views) and flat files. COBOL files are handled through source definitions and aren't direct lookup sources, and XML files require different handling. The core lookup sources are relational databases and flat files.
-
Relational databases.
-
Relational databases and flat files.
-
Relational databases, flat files, and COBOL files.
-
Relational databases, flat files, COBOL files, and certified ERP sources such as PeopleSoft and SAP/R3.
D
Correct answer
Explanation
Source Qualifier transformations are versatile readers that support relational databases, flat files, COBOL files, and certified ERP sources including PeopleSoft and SAP/R3. This wide compatibility makes them the primary transformation for reading from diverse source systems.
-
Configure a session to write to a file
-
Configure a session to write to a oracle database
-
Configure a session to write to a table without indexes but constraints enabled.
-
Configure a session to write to a table without indexes but constraints disabled.
A
Correct answer
Explanation
Writing to a file is faster than writing to a database and eliminates database-related bottlenecks. If performance improves with file output, the target writer was the bottleneck. Writing to Oracle, tables with/without indexes, or constraints doesn't isolate the writer bottleneck as cleanly as a file target.
-
only one
-
All that apply
-
I Dont know
-
None of the above
B
Correct answer
Explanation
RRDS (Relative Record Data Set) uses fixed-length slots at specific relative record numbers. Once created, a record's position (its slot number) cannot change - it's part of the dataset's fixed structure. You can update the data but not move it to a different position.
A
Correct answer
Explanation
When a record spans across multiple Control Intervals (CIs), each CI that contains a segment of that spanned record cannot contain any other data. This is because spanned records require exclusive use of the CIs they occupy to maintain data integrity and proper reassembly of the record segments when read.
B
Correct answer
Explanation
QCP (Query Current Processing or Query Control Panel) is the interface for viewing current/active job executions in scheduling systems. This complements LTP (planning view). LTP is for planned jobs, QCP for currently running ones. MCP and Database are not the standard interfaces for monitoring execution status.
-
Access the rows
-
Distribution of the rows
-
Both a and b
-
Only for distribution of rows to particular AMPs
A
Correct answer
Explanation
Secondary Index in Teradata is primarily used to optimize data access - it provides an alternate path to locate rows without full table scans. Secondary Indexes do NOT determine data distribution across AMPs; only the Primary Index controls distribution. Option A correctly identifies the access purpose.
-
Hash Value
-
Partition Number
-
First column of the table
-
Both a and b
B
Correct answer
Explanation
In PPI (Partitioned Primary Index) tables, rows are first organized by partition number at each AMP, then by hash value within each partition. This two-level sorting (partition then hash) enables efficient partition elimination in queries. Option B correctly states that rows are first sorted by Partition Number.