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

Multiple choice technology
  1. Loading data into table

  2. Unloading data from table

  3. Data is not loaded into all SPU’s

  4. All of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Data skew is an uneven distribution of data across processing units (SPUs). When some SPUs receive significantly more data than others, they become bottlenecks while other SPUs sit idle. This defeats the purpose of parallel processing and severely degrades query performance. It's typically caused by poor distribution key choice in MPP databases.

Multiple choice technology
  1. Already loaded records are visible to the user

  2. Already loaded records are logically deleted

  3. Already loaded records are Physically deleted

  4. None

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

nzload is transactional - if it fails mid-operation, all partially loaded records are rolled back to maintain data integrity. This rollback is typically implemented by logically deleting the records (marking them as deleted). They remain on disk temporarily but are invisible to users and will be cleaned up by maintenance processes.

Multiple choice technology
  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JDBC classes are distributed across java.sql (core JDBC API including Connection, Statement, ResultSet) and javax.sql (optional package including DataSource, ConnectionPool, RowSet). Options A and B incorrectly use 'jdbc' instead of 'sql', and option D invents non-existent 'rdb' packages.

Multiple choice technology
  1. A transaction is a set of sql statements

  2. Auto commit to be set off before Transaction

  3. Auto commit to be set off after transaction

  4. Commit permanently records to database all changes waiting with current Connection

  5. Rollback is used in case of any error to undo transaction

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Transactions require auto-commit to be disabled BEFORE starting transactional operations. This allows multiple statements to be grouped together and either committed (all succeed) or rolled back (all fail) as a unit. Option C is false because auto-commit must be turned off before, not after, the transaction begins.

Multiple choice technology
  1. DataBaseDirectory

  2. AdminHost

  3. ServerName

  4. PortNumber

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

ServerName is the correct parameter in tm1s.cfg that uniquely identifies the TM1 application server. DataBaseDirectory specifies where data is stored, AdminHost is for administration, and PortNumber defines the communication port.

Multiple choice technology
  1. To increase the number of dimensions and empty cells in a cube.

  2. To increase the sparsity of the dimensions and empty cells in a cube.

  3. To reduce the number of dimensions and empty cells in a cube.

  4. To reduce the density of the dimensions and string cells in a cube.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Creating multiple hierarchies within a single dimension reduces the total number of dimensions needed in a cube, which consequently reduces the number of empty cells. Using separate dimensions for each hierarchy would dramatically increase sparsity.

Multiple choice technology platforms and products
  1. domainutility

  2. TIBCO Administrator

  3. MigrateFileStorage Utility

  4. MigrateDomainStorage Utility

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

MigrateFileStorage Utility is the specific tool for migrating from file-based to database-based domain data repository storage. The domain utility is general-purpose, TIBCO Administrator doesn't perform migrations, and MigrateDomainStorage is not the correct utility name.

Multiple choice technology architecture
  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JDBC core classes are in java.sql package. Extended JDBC API (for connection pooling, distributed transactions) is in javax.sql. There are no java.jdbc or java.rdb packages.

Multiple choice technology architecture
  1. A transaction is a set of sql statements

  2. Auto commit to be set off before Transaction

  3. Auto commit to be set off after transaction

  4. Commit permanently records to database all changes waiting with current Connection

  5. Rollback is used in case of any error to undo transaction

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In JDBC transactions, auto-commit must be disabled BEFORE beginning transactional operations, not after. Setting setAutoCommit(false) before the transaction ensures statements are grouped. Setting it after would be meaningless as the transaction would have already executed in auto-commit mode. Options A, B, D, and E describe true transaction characteristics.

Multiple choice technology
  1. a) Source field is the Foreign Key field in record pointing to target BC

  2. b) Destination field is the Primary Key field in the target BC

  3. c) Business Component specifies master BC in target view

  4. d) None

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All three statements (A, B, C) accurately describe drilldown object components: the source field is a foreign key pointing to the target, the destination field is the primary key in the target BC, and the business component specifies the master view. Option D ('None') correctly indicates there is no wrong statement among them.

Multiple choice technology
  1. a) An index must exists for the columns associated with the sort ield(s) specified in the Sort Specification.

  2. b) To use the index, the sort fields should be in the same order as the columns in the index

  3. c) If a sort specification uses columns from two different tables, both index will be used.

  4. d) If a sort specification uses columns from two different tables, no index will be used.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

When sorting spans multiple tables, database engines cannot effectively use indexes because the sort operation requires combining data from different sources. Indexes work best for single-table sorts where column order matches. Option C is correctly identified as false - using both indexes simultaneously would be inefficient and is not supported.