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 mainframe
  1. Simple Tablespace

  2. Partitioned Tablespace

  3. Complex Tablespace

  4. Segmented Tablespace

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

Segmented tablespaces organize space into segments that can be efficiently reused when tables are dropped, requiring minimal reorganization. Simple, Partitioned, and Complex tablespaces do not offer this same level of space reclamation efficiency.

Multiple choice technology mainframe
  1. True

  2. False

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

In DB2, partitioned tablespaces allow database administrators to perform utility operations, such as recoveries and reorganizations, independently on individual partitions. This improves performance and availability, meaning they do not need to process the entire tablespace at once, making the statement false.

Multiple choice technology mainframe
  1. Data Definition Language

  2. Data Manipulation Language

  3. Data Confusion Language

  4. Data Control Language

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

DB2 uses Data Control Language (DCL) commands like GRANT and REVOKE to manage security internally. DDL is for schema definitions, DML is for data manipulation, and Data Confusion Language is not a real SQL language category.

Multiple choice technology web technology
  1. JMS

  2. Java IDL

  3. JDBC

  4. JAF

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

JDBC (Java Database Connectivity) is the standard Java API for connecting to relational databases. It provides methods to execute SQL queries, retrieve results, and manage database transactions. JMS is for messaging, Java IDL for CORBA connectivity, and JAF (JavaBeans Activation Framework) for handling MIME data types.

Multiple choice technology web technology
  1. True

  2. False

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

J2EE products from different vendors can support different databases. For example, one application server might support Oracle, DB2, and SQL Server, while another might support MySQL and PostgreSQL. The J2EE specification does not mandate specific database support, leaving it to vendor implementation.

Multiple choice technology web technology
  1. JTA

  2. JIA

  3. JEA

  4. JAI

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

JTA (Java Transaction API) is the standard Java EE API for managing transactions across multiple resources. It provides interfaces for demarcating transaction boundaries (beginning, committing, or rolling back transactions). The other options are not standard transaction APIs in the Java ecosystem.

Multiple choice technology packaged enterprise solutions
  1. Stored Procedures

  2. Business Service

  3. DTS

  4. VB.net

  5. Database Triggers

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

In AXA Partners legacy system architecture (primarily built on Siebel or SQL Server-based integrations), Producer IDs are generated at the database level using Stored Procedures to ensure unique sequential key assignment. Other options like Business Service, DTS, or VB.net do not handle this specific database sequence generation.

Multiple choice technology web technology
  1. True

  2. False

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

The Data Access Object (DAO) pattern abstracts database operations behind an interface. It provides a clean API for CRUD operations, hiding implementation details like SQL, connection management, and data source specifics. This reduces coupling between application components and the database, making the codebase more maintainable and testable.

Multiple choice technology web technology
  1. Business Delegate

  2. Data Access Object

  3. Factory

  4. Builder

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

The Data Access Object pattern is ideal when accessing multiple heterogeneous data sources. Each data source type (relational database, LDAP, flat files) gets its own DAO implementation exposing a common interface. The application code works with the DAO interface, remaining unaware of underlying storage differences. Business Delegate reduces coupling, Factory creates objects, and Builder constructs complex objects; none address multi-source data access.

Multiple choice technology platforms and products
  1. Cloudscape

  2. Oracle

  3. Informix

  4. Microsoft SQL (MSSQL) Server

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

WebLogic JMS with JDBC persistence supports multiple databases including Cloudscape, Oracle, Informix, and Microsoft SQL Server for persistent message storage. The JDBC store allows JMS to use any database with a compliant JDBC driver, providing flexibility in choosing the persistence backend.

Multiple choice technology platforms and products
  1. Waiters high

  2. Waiters

  3. Connections high

  4. Wait seconds high

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

The 'Waiters' attribute in the JDBC connection pool monitoring shows the current number of clients waiting for a connection. 'Waiters high' is the peak value reached, not the current count. 'Connections high' tracks maximum connections used, and 'Wait seconds high' tracks maximum wait time.

Multiple choice technology testing
  1. Bank

  2. ULIS

  3. IARD

  4. CIF

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

Bank serves as the master database in the AXA system architecture. It contains the primary customer and account records. Other applications like ULIS (life insurance), IARD (non-life insurance), and CIF (customer information interface) derive or reference data from the Bank master.

Multiple choice technology testing
  1. Back end application

  2. Front End application

  3. Interface

  4. Database

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

CIF is a Front End application. It provides the user interface for viewing and managing customer information, accessible to both internal and external users. It is not a backend application (processing logic), not an interface between systems, and not the database itself (though it accesses database data).

Multiple choice technology testing
  1. Producer

  2. Collaborator

  3. Staff member

  4. None of the above

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

The basic associate principle dictates that a physical person or legal entity should only be stored once. The Collaborator role violates this database normalization rule by storing duplicate records or multiple distinct entries for the same entity under different contexts.