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
-
IF_ROW_BATCH_NUM, IF_ROW_STAT, CONFLICT_ID
-
ROW_ID, IF_ROW_BATCH_NUM, conflict_id
-
ROW_ID, IF_ROW_BATCH_NUM, IF_ROW_STAT
-
ROW_ID, IF_ROW_BATCH_NUM
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.
-
Insert, Delete, Merge, Upsert
-
Upsert, Merge
-
Upsert, Delete, Merge
-
Insert, Delete, Merge, Update
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.
-
External Data
-
Seed Data
-
Repository Data
-
None
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).
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.
B
Correct answer
Explanation
EIM can only populate base table columns that exist in the underlying base table. Extension columns added to base tables are not supported by EIM - extension tables must be used instead. This is a known limitation of EIM's architecture.
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.
-
One Base table
-
EIM Tables
-
Extension tables
-
More than one base table
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.
-
List of documents in a database
-
place holder for entering the data
-
Place holder for viewing the data from the database
-
Both a&c
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.
-
Place holder for entering information in a database
-
Framework for entering and storing information in a database
-
Both a&b
-
none of these
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).
-
Row ids are sequential and unique
-
Row ids are not sequential but unique
-
Row ids are sequential but not unique
-
Row ids are neither sequential nor unique
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.
-
0
-
1
-
NULL
-
None of the above
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.
-
Records inserted till that point are visible to the user
-
Records inserted till that point are not visible to the user
-
Records inserted till that point is physically delete from the table
-
None of the above
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.
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.
-
-r
-
-t
-
-c
-
None of the above
B
Correct answer
Explanation
The nzsql -t option displays only the data rows (tuples) without column headers or other formatting elements. This is useful for extracting pure data for scripting or further processing. The -r option is for row output mode, -c is for running a single command.
-
Synonyms
-
Sequences
-
System tables
-
None of the above
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.