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. IF_ROW_BATCH_NUM, IF_ROW_STAT, CONFLICT_ID

  2. ROW_ID, IF_ROW_BATCH_NUM, conflict_id

  3. ROW_ID, IF_ROW_BATCH_NUM, IF_ROW_STAT

  4. ROW_ID, IF_ROW_BATCH_NUM

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

EIM tables require ROW_ID (unique identifier), IF_ROW_BATCH_NUM (batch tracking), and IF_ROW_STAT (status tracking like 0=success). These are mandatory columns for EIM processing. CONFLICT_ID is optional.

Multiple choice technology
  1. Insert, Delete, Merge, Upsert

  2. Upsert, Merge

  3. Upsert, Delete, Merge

  4. Insert, Delete, Merge, Update

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

EIM (Enterprise Integration Manager) performs four core operations: Insert new records, Delete existing records, Merge records, and Update records. 'Upsert' is not a standard EIM operation term; the combination of Update and Insert is covered by the individual operations.

Multiple choice technology
  1. External Data

  2. Seed Data

  3. Repository Data

  4. None

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

Interface tables (EIM tables) are designed to temporarily hold external data being imported into Siebel. They act as a staging area where external data is loaded before EIM processes and moves it into base tables. They don't store seed data (built-in reference data) or repository data (metadata).

Multiple choice technology
  1. True

  2. False

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

A single EIM interface table is configured to populate a specific base table or a set of related base tables in a controlled manner. EIM doesn't simultaneously populate arbitrary multiple base tables from one interface table; the mapping is specific and controlled. The statement is false.

Multiple choice technology
  1. True

  2. False

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

Views in Notes can filter documents based on various criteria - selection formulas can restrict views to show all documents, only those using a specific form, only those created within a timeframe, or any custom rule defined in the view's selection formula.

Multiple choice technology
  1. One Base table

  2. EIM Tables

  3. Extension tables

  4. More than one base table

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

In Siebel applications (or similar database systems), user data is stored across multiple base tables rather than a single table. This normalized database design allows efficient data management and relationships. Option D 'More than one base table' correctly represents this multi-table architecture.

Multiple choice technology
  1. List of documents in a database

  2. place holder for entering the data

  3. Place holder for viewing the data from the database

  4. Both a&c

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

A view in database systems (like Lotus Notes) displays a list of documents/records from the database. It serves as a placeholder/interface for viewing data. Option D combines both the definition (list of documents) and function (viewing data), making it the most complete answer.

Multiple choice technology
  1. Place holder for entering information in a database

  2. Framework for entering and storing information in a database

  3. Both a&b

  4. none of these

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

A form serves as both the interface placeholder for entering information AND the structural framework for storing that information in a database. Option C correctly combines both aspects - it's where you enter data (placeholder) and the system that stores it (framework).

Multiple choice technology
  1. Row ids are sequential and unique

  2. Row ids are not sequential but unique

  3. Row ids are sequential but not unique

  4. Row ids are neither sequential nor unique

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

Database row IDs are guaranteed to be unique but are not sequential. When records are deleted, gaps are created in the sequence. Additionally, concurrent inserts can allocate IDs that don't appear in strictly increasing order. This is true for most database systems including Netezza which uses a unique row identifier system.

Multiple choice technology
  1. 0

  2. 1

  3. NULL

  4. None of the above

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

DeleteXid defaults to 0, which is a special value indicating the record has not been deleted. When a record is deleted, its DeleteXid is set to the transaction ID that performed the deletion. This is part of Netezza's transaction tracking system where each record carries both InsertXid and DeleteXid.

Multiple choice technology
  1. Records inserted till that point are visible to the user

  2. Records inserted till that point are not visible to the user

  3. Records inserted till that point is physically delete from the table

  4. None of the above

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

When an insert or load operation is aborted, any records that were inserted during that transaction are not visible to other users. The transaction is rolled back completely, maintaining atomicity - either all records are visible or none are, preserving data consistency.

Multiple choice technology
  1. True

  2. False

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

Users can generate statistics on specific columns using commands like GENERATE STATISTICS. This is a common database administration task for optimizing query performance. Column-level statistics help the query optimizer make better decisions about query execution plans.

Multiple choice technology
  1. Synonyms

  2. Sequences

  3. System tables

  4. None of the above

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

The \ds meta-command in nzsql lists all sequences in the current database. Sequences are database objects used to generate unique numeric values, typically for auto-incrementing primary keys. This is different from \dt for tables or \dn for synonyms.