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 web technology
  1. A Session will not obtain a JDBC Connection (or a Datasource) unless it is needed

  2. A Session will obtain a JDBC Connection (or a Datasource) on object create

  3. A Session has no relation with JDBC Connection (or a Datasource)

  4. none of the above

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

In Hibernate, a Session uses lazy initialization for obtaining JDBC connections. A connection is only fetched from the datasource when an actual database operation is needed, not when the Session object itself is created. This reduces unnecessary resource usage.

Multiple choice technology databases
  1. Clustered

  2. Partitioned

  3. Regular

  4. Index organized

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

Regular tables are the default and most widely used table type in databases. They're simple, well-understood, and suitable for most use cases. Clustered tables (physically ordered by index) and index-organized tables are specialized for specific performance scenarios. Partitioned tables are used for very large datasets.

Multiple choice technology databases
  1. Sequence

  2. View

  3. Synonym

  4. Table

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

A Table is a database object containing columns and rows that requires physical storage segments in a tablespace to hold its data. Views, Synonyms, and Sequences are metadata definitions stored only in the data dictionary.

Multiple choice technology databases
  1. True

  2. False

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

Normalization eliminates redundancy but is not always the best approach. Denormalization is often used to improve read performance by reducing joins. Real-world databases frequently balance normalization (for write integrity) with strategic denormalization (for query performance). The statement is false because 'always' makes it incorrect.

Multiple choice technology databases
  1. True

  2. False

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

A ROLLBACK command only undoes uncommitted changes in the current transaction. Any transactions that have already been committed are permanent and cannot be undone by a subsequent rollback.

Multiple choice technology enterprise content management
  1. DB2 Application Development Client

  2. DB2 Text Information Extender

  3. DB2 Everyplace

  4. DB2 Connect

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

To enable full-text search capabilities in IBM DB2 Content Manager, the DB2 Text Information Extender (now known as Net Search Extender) must be installed alongside the Library Server.

Multiple choice technology enterprise content management
  1. DB2, CM

  2. CM, DB2

  3. CM, WAS

  4. DB2, WAS

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

The application first checks CM (likely Configuration Manager or cache) for authentication/user information during login, and only falls back to DB2 database if the information isn't found in CM. This two-tier lookup pattern is common for performance optimization.

Multiple choice technology enterprise content management
  1. Native Oracle support

  2. XML

  3. eClient

  4. Pre-req software dependency (Removal of C/C++ compiler)

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

The eClient was introduced in earlier versions of IBM Content Manager. Native Oracle support, XML capabilities, and the removal of C/C++ compiler prerequisites are specific enhancements of Version 8.

Multiple choice technology enterprise content management
  1. DB2 Runtime Client

  2. DB2 Control Center

  3. DB2 Application Development Client

  4. DB2 Net Search Extender

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

IBM Content Manager's Library Server and System Administration Client require the DB2 Application Development Client (or the equivalent Software Development Kit) to provide the necessary header files, libraries, and pre-compilers required for the system to interface with the database engine. The Runtime Client is insufficient for the administrative and server-side linking requirements.

Multiple choice technology web technology
  1. Always view the inferred SQL to check whether the Select statement includes the restriction.

  2. Save and export your universe.

  3. Test it by making a query in the User module.

  4. All of the above.

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

Testing the restriction by running an actual query in the User module is the essential validation step after creating or editing an object. While viewing inferred SQL (A) and exporting (B) are good practices, only testing confirms the restriction works correctly in practice.

Multiple choice technology web technology
  1. Cardinality

  2. Optionality

  3. Many-to-one relationship

  4. Self join

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

Cardinality is the standard database term expressing how rows in two tables relate through a join (one-to-one, one-to-many, many-to-many). Optionality refers to nullability, many-to-one is a specific cardinality type, and self-join is a join technique - not the general term.