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. Database Administrator

  2. Device & Base Administrator

  3. Durable & Bicentric Automated

  4. Datebase Administrator

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

DBA stands for Database Administrator, the person responsible for managing database systems. Option A correctly uses 'Database' and 'Administrator'. Option B incorrectly uses 'Device' and 'Base'. Option C is nonsensical. Option D has a typo 'Datebase' instead of 'Database'.

Multiple choice technology
  1. Data Flow Data

  2. Data Fnd Data

  3. Data Fast Data

  4. Data Flow Diagram

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

DFD stands for Data Flow Diagram, used to visualize the flow of data through a system. Option D correctly uses 'Data Flow' twice - data flowing through processes. Options A, B, and C incorrectly use variations like 'Fnd' (typo) and 'Fast' which are not part of the term.

Multiple choice technology databases
  1. The two tables had their same Primary Index

  2. Teradata redistributed one or both tables by rehashing them by thePrimary index in spool

  3. Teradata placed the smaller table on all AMPs

  4. All the Above

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

Teradata provides multiple mechanisms to enable joins to occur on the same AMP: identical primary indexes naturally distribute matching rows to the same AMP; dynamic redistribution can rehash tables during query processing; and duplicating small tables across all AMPs eliminates data movement. All three are valid join optimization strategies.

Multiple choice technology
  1. String

  2. Decimal

  3. Date and Datetime

  4. Integer

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

Date and Datetime types in Ab Initio are stored in binary form for efficiency in calculations and comparisons. While integers are also stored in binary, the question specifically asks about types known for binary storage of temporal data. Decimal stores as packed decimal, and string stores as character data. Date/Datetime is the best answer for binary-encoded temporal data.

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.