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 databases
  1. True

  2. False

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

When an archive database is created in Lotus Notes, it receives a completely NEW replica ID - it is not a true replica of the original database. Archive databases are independent copies with their own identity in the replication system. This is why archived mail doesn't replicate back to the original mail file automatically.

Multiple choice technology databases
  1. .nsf

  2. .dba

  3. .id

  4. .ntf

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

In Lotus Notes, .nsf (Notes Storage Facility) is the standard file extension for database files. Option D (.ntf) is for template files, and .id files store user security information, not databases.

Multiple choice technology databases
  1. True

  2. False

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

By default, RMAN (Recovery Manager) in Oracle 11g does not back up committed undo data. This is the expected behavior because undo data is primarily used for rollback and read consistency, and backing it up is not necessary for standard recovery scenarios. Therefore, the statement is true, making option A correct.

Multiple choice technology databases
  1. Library Cache

  2. Data Buffer Cache

  3. Data Dictionary Cache

  4. SQL buffer cache

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

The Shared Pool in Oracle SGA contains the Library Cache (which stores parsed SQL statements and PL/SQL code) and Data Dictionary Cache (which stores data dictionary rows). Data Buffer Cache is a separate SGA component used for caching data blocks from disk, not part of Shared Pool. SQL buffer cache is not a standard Oracle memory component.

Multiple choice technology databases
  1. Shared Pool

  2. Java Pool

  3. Large Pool

  4. Big Pool

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

RMAN (Recovery Manager) uses the Large Pool for memory-intensive operations like backups and recovery. The Large Pool is designed for large memory allocations that don't compete with the Shared Pool, preventing performance degradation during RMAN operations. Shared Pool and Java Pool serve different purposes.

Multiple choice technology web technology
  1. When you want to protect the data from outside attacks

  2. When there are users accessing the same data simultaneously

  3. When there is a chance for database to go down

  4. When database maintenance is going on

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

Database locks are used to manage concurrent access and maintain data integrity when multiple users try to access the same data simultaneously. Locks prevent conflicts like lost updates or inconsistent reads by serializing access to shared resources. They're not meant for security (protecting from attacks) or system maintenance.

Multiple choice technology
  1. Scan

  2. Sort

  3. Rollup

  4. Aggregate

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

Scan is used to produce intermediate summary records because it can read all input records and generate summary output without requiring grouping or aggregation logic. Sort is for ordering, Rollup is for grouped summaries, and Aggregate is for similar grouped operations - Scan is the appropriate choice for simple intermediate summaries.

Multiple choice technology
  1. account details

  2. transaction details

  3. Personal details

  4. both a&c

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

Demographic files contain personal information about individuals such as name, address, age, gender, and contact details. Account details and transaction details are stored in separate financial systems and databases, not in demographic files. Option D is incorrect because account details are not demographic data.

Multiple choice technology
  1. DBA Team servicing the global database environment

  2. Customer information repository

  3. Customer payment system

  4. Customer Global New Account Generation system for

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

In specific enterprise database architecture contexts, CMHDB serves as a customer information repository (often storing customer history data). The distractors incorrectly define it as the database administration team itself, a payment transaction system, or a global new account generator system, which represent different components.

Multiple choice technology
  1. VSAM

  2. DB2

  3. IMS

  4. IDMS

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

CMHDB commonly uses DB2 as its database storage system. DB2 is IBM's relational database product commonly used in mainframe and enterprise environments. VSAM, IMS, and IDMS are alternative database/storage technologies but DB2 is the standard for CMHDB.

Multiple choice technology
  1. Oracle

  2. IMS database

  3. IDMS database

  4. None of the above

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

The CMHDB process does not store data in Oracle, IMS, or IDMS databases directly. It likely uses a different database system or storage mechanism altogether, hence None of the above is correct. This question specifically refers to the CMHDB process storage, not general CMHDB data storage.

Multiple choice technology
  1. EPRD

  2. WROC

  3. LDEV

  4. PDEV

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

For DB2 testing, CMHDB uses tables in the PDEV environment. PDEV likely stands for Production Development or a parallel development environment used for testing DB2-related functionality. EPRD, WROC, and LDEV are not the correct table environments for DB2 testing.

Multiple choice technology
  1. CRD_PROD_LOOKUP

  2. MARKET_LOOKUP

  3. CUST_LOOKUP

  4. CM_LOOKUP

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

CRD_PROD_LOOKUP (Card Product Lookup) is the CMHDB table that stores product-level information. This table name directly indicates its purpose - looking up card product details. The other tables (MARKET_LOOKUP, CUST_LOOKUP, CM_LOOKUP) serve different purposes for market, customer, and credit management lookups respectively.