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

Multiple choice technology
  1. Aggregate data should be stored in the original fact and dimension tables that contain the detail data

  2. Aggregate data has to be stored in separate fact tables but the same dimension tables can be used.

  3. Each level of aggregate data should be stored in separate set of fact and dimension tables.

  4. 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.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. detect that the failure has occurred

  2. guarantee the integrity of any in-progress transactions

  3. seamlessly continue working when the database connection returns (whether that connection is to the original database or a failover database)

  4. All of above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Microsoft Transaction Server (MTS)

  2. Oracle ODBC Driver

  3. Transparent Application Failover (TAF)

  4. All of above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Relational database and COBOL file.

  2. Relational database and flat file.

  3. Relational database, flat file, and COBOL file.

  4. Relational database, flat file, COBOL file, and XML file.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Relational databases.

  2. Relational databases and flat files.

  3. Relational databases, flat files, and COBOL files.

  4. Relational databases, flat files, COBOL files, and certified ERP sources such as PeopleSoft and SAP/R3.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Configure a session to write to a file

  2. Configure a session to write to a oracle database

  3. Configure a session to write to a table without indexes but constraints enabled.

  4. Configure a session to write to a table without indexes but constraints disabled.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. Database

  2. QCP

  3. MCP

  4. LTP

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Access the rows

  2. Distribution of the rows

  3. Both a and b

  4. Only for distribution of rows to particular AMPs

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Hash Value

  2. Partition Number

  3. First column of the table

  4. Both a and b

Reveal answer Fill a bubble to check yourself
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.