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 mainframe
  1. ACQUIRE(USE)

  2. ACQUIRE(ALLOCATE)

  3. RELEASE(COMMIT)

  4. RELEASE(DEALLOCATE)

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

ACQUIRE(ALLOCATE) is the DB2 bind option that opens all tablespaces and acquires all tablespace locks when the plan is allocated (at allocation time). ACQUIRE(USE) would acquire locks only when needed, and RELEASE options control when locks are released, not when they're acquired.

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 programming languages
  1. Use the output cache

  2. Use the cache object

  3. Use the ASP.NET central cache

  4. Use the client cache

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

Output caching stores the fully rendered HTML page, completely avoiding database queries and server-side page processing on subsequent requests. The cache object (data caching) still requires page rendering overhead, while ASP.NET central cache is not a standard term.