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 databases
  1. Uncommitted Read

  2. Cursor Stability

  3. Read Stability

  4. Repeatable Read

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

Repeatable Read locks all rows scanned during query execution, preventing phantom reads and non-repeatable reads. UR takes no locks, CS locks only current row, and RS locks only qualifying rows. This is the strongest isolation level before Serializable.

Multiple choice technology databases
  1. Backup purposes

  2. Storing intermediate results

  3. Staging area for load operations

  4. Sharing result data sets between applications

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

Declared temporary tables are specifically designed for storing intermediate results during complex query processing. They are session-specific, not for backup (use backup utilities), load staging (use staging tables), or sharing between applications (use regular tables).

Multiple choice technology databases
  1. Uncommitted Read

  2. Cursor Stability

  3. Read Stability

  4. Repeatable Read

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

Repeatable Read isolation level locks all rows scanned to build the result set, ensuring the same query can be repeated with identical results. UR doesn't lock, CS locks only the current cursor position, and RS only locks rows that match the query criteria.

Multiple choice technology operating systems
  1. Standard

  2. Web

  3. Enterprise

  4. Datacenter

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

Windows Server 2003 was available in multiple editions to serve different market needs. Standard Edition for general server use, Web Edition optimized for web serving, Enterprise Edition for larger organizations with advanced features, and Datacenter Edition for high-end server consolidation and critical applications.

Multiple choice technology mainframe
  1. IBM

  2. Compuware

  3. CA

  4. Oracle

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

File-Aid (now owned by Broadcom) is a mainframe data management product originally developed by Compuware. It's not an IBM, CA (Broadcom), or Oracle product. File-Aid has been a standard tool in mainframe environments for decades, specifically for working with DB2 databases and VSAM files.

Multiple choice technology mainframe
  1. Test DB2 Queries

  2. Create, Modify DB2 Objects

  3. Load / Unload data

  4. All of the above

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

File-Aid is a comprehensive mainframe data management tool that supports multiple database operations. It can test DB2 queries through its browse and edit features, create and modify DB2 objects through its DDL generation capabilities, and efficiently load/unload data between datasets and tables. This versatility makes it a complete data management solution.

Multiple choice technology mainframe
  1. Write Cobol programs

  2. Test Cobol programs

  3. Explain Analysis

  4. Run Trace for DB2 programs

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

File-Aid includes explain analysis functionality that helps developers understand DB2 query access paths and performance characteristics. The explain feature shows how DB2 executes SQL statements, revealing table access methods, join strategies, sort usage, and index information. Options A, B, and D describe functions outside File-Aid's core scope - it's not a Cobol development or tracing tool.

Multiple choice technology mainframe
  1. DB2 Sub-Server ID

  2. DB2 Sub-System ID

  3. DB2 Super-System ID

  4. DB2 Super-Server ID

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

The DB2 SSID (Subsystem Identifier) is a 1-4 character identifier that uniquely names a specific DB2 subsystem within a mainframe environment. Multiple DB2 subsystems can run on the same mainframe, and the SSID distinguishes between them for connections, administration, and operational purposes. It's not a server, super-system, or sub-server identifier.

Multiple choice technology mainframe
  1. Location ID/Database

  2. Location ID/Tablespace

  3. Creator/Table Name

  4. Location ID/Table Name

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

To browse table data in File-Aid DB2, the Creator (schema/qualifier) and Table Name are the mandatory parameters. Location ID and Tablespace are not required for basic table browsing. Database alone is insufficient without the table qualifier.

Multiple choice technology mainframe
  1. Copy Rows between tables

  2. Object List Processing

  3. SQL Command Manager

  4. Display, Grant or Revoke DB2 Privileges

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

Option 3.3 from the File-Aid DB2 Main Menu is the 'Copy' function, which allows copying rows between tables. Option 3.4 is for Object List Processing, 3.2 for SQL Command Manager, and 3.6 for privilege management.

Multiple choice technology programming languages
  1. If you want to join two tables in same database

  2. If the Order By clause needs to be changed

  3. If you want to join two tables on different Oracle databases

  4. If you want to join table and flat file

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

A Joiner transformation is used in Informatica when you need to join data from heterogeneous sources, such as combining data from a relational database table and a flat file, which cannot be joined using a Source Qualifier.