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. 5

  2. 4

  3. 3

  4. 1

  5. Program will terminate abnormally

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

When a record layout or DDM length mismatch occurs where the database contains data longer than the program's DDM definition (A4 vs A6), updating or reading may lead to mismatch behavior, but in Adabas/Natural, changing field length specifications or updating with mismatch formats can cause runtime errors (such as NAT3009 or type conflicts) during execution, leading to abnormal termination.

Multiple choice technology mainframe
  1. 5

  2. 4

  3. 3

  4. 1

  5. Program will terminate abnormally

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

The data was stored using IDENTIFICATION-TABLE-EXP with IDENT-NAME as A6 (6 bytes), but the READ uses IDENTIFICATION-TABLE where IDENT-NAME is defined as A4 (4 bytes). This field length mismatch causes a runtime error because the READ operation cannot properly interpret the 6-byte data using a 4-byte field definition, resulting in abnormal program termination.

Multiple choice technology databases
  1. PL/SQL

  2. SQL

  3. SQL*PLUS

  4. JAVA

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

SQL (Structured Query Language) is the standard language for relational database operations including data manipulation (INSERT, SELECT, UPDATE, DELETE), data definition (CREATE, ALTER, DROP), transaction control (COMMIT, ROLLBACK), and database administration.

Multiple choice technology testing
  1. A. Trigger

  2. B. Recovery Operation

  3. C. Recovery Scenario Name

  4. D. The Function used in the scenario

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

When creating a Recovery Scenario in QTP/UFT, the Recovery Scenario Wizard first requires you to define the Trigger Event that interrupts the test run (e.g., a pop-up window or application crash). Recovery operations and scenario names are defined in subsequent steps.

Multiple choice technology databases
  1. Multiple rows

  2. Multiple coulumns

  3. Multiple schemas

  4. Multiple tables

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

In database hierarchy, a catalog represents a database container hosting one or more named schemas. Each schema then groups related tables, views, and columns. Distractors like multiple rows, tables, or columns represent lower-level database components rather than the high-level schema containers grouped under a catalog.

Multiple choice technology web technology
  1. Semantic Layer

  2. Database

  3. Reporting Layer

  4. Schema type

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

In Business Objects, a Universe is a semantic layer that maps complex database structures to business terminology. It provides user-friendly object names while hiding technical schema details from end users.

Multiple choice technology platforms and products
  1. Database Layer

  2. Semantic Layer

  3. Schema Layer

  4. View Layer

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

A Universe serves as a semantic layer that abstracts the underlying database schema. It translates technical table and column names into business terminology, making data accessible to non-technical users through familiar business concepts.

Multiple choice technology databases
  1. Installing SQL Server 2005 in the same directory as the current installation and replacing the SQL Server files

  2. Installing a new instance of SQL Server 2005 and sharing the older databases between the new instance and the old instance

  3. Installing a new instance of SQL Server 2005 on the same server as the old instance and moving the databases from the old instance to the new instance

  4. Installing a new instance of SQL Server 2005 on a different server from the old instance and moving the databases from the old server to the new server

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

An in-place upgrade means installing a new version of SQL Server in the same directory as the existing installation, replacing the old files while keeping the same instance. This is different from side-by-side migration where a new instance is created. In-place upgrades are simpler but riskier because they modify the existing installation directly without a fallback option.

Multiple choice technology databases
  1. Copy Database Wizard

  2. Detach/attach

  3. Backup/restore

  4. Manual scripting

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

The detach/attach method requires exclusive access to the database because detaching removes the database from the SQL Server instance. Users cannot access the database while it's detached. Other methods like backup/restore or Copy Database Wizard can work with active databases or use different mechanisms that don't require taking the database completely offline during the entire process.

Multiple choice technology databases
  1. Service Broker

  2. Database Mirroring

  3. Extended MAPI Profile

  4. Microsoft Exchange Server

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

Database Mail requires Service Broker to be enabled because it uses Service Broker's messaging infrastructure to queue and process email messages asynchronously. Database Mirroring is a high-availability feature unrelated to email. Extended MAPI Profile and Microsoft Exchange Server are not prerequisites; Database Mail can work with SMTP servers without requiring an Exchange server or MAPI profiles.

Multiple choice technology databases
  1. In the Simple recovery model, all transactions are logged.

  2. In the Bulk-Logged recovery model, all transactions are logged.

  3. In the Full recovery model, most transactions are minimally logged.

  4. In the Simple recovery model, most transactions are minimally logged.

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

In the Simple recovery model, minimal logging is used for most transactions to save space and improve performance; the log is automatically truncated. Bulk-Logged minimally logs bulk operations but fully logs other transactions. Full recovery logs all transactions. Therefore, the correct statement is that in Simple recovery, most transactions are minimally logged, which conserves log space.

Multiple choice technology programming languages
  1. Store all the main information regarding the records of a Job

  2. Its is used to view the PDF of the old records

  3. It is used to view the information online

  4. All of the Above

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

Metadoc appears to be a document management system that performs multiple functions: it stores comprehensive job record information, provides PDF viewing capabilities for historical records, and enables online information access. Since all individual options describe valid functions, 'All of the Above' is the correct choice.

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.