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. Host naming

  2. Local naming

  3. Easy Connect

  4. External naming

  5. Directory naming

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

Directory naming centralizes database service name resolution in an LDAP-compliant directory server (like Oracle Internet Directory). When IP addresses or ports change, they only need to be updated in the directory, eliminating client-side configuration overhead.

Multiple choice technology databases
  1. alert_Training.log

  2. alertlog_Training.log

  3. alert_log_Training.log

  4. Training_alert_log.log

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

The alert log file follows the naming convention alert_.log, where SID is the instance name. For a database named 'Training', the alert log would be alert_Training.log. This file resides in the BACKGROUND_DUMP_DEST directory and contains critical diagnostic information, errors, and startup/shutdown messages.

Multiple choice technology databases
  1. By multiplexing the control files.

  2. By multiplexing the redo log files.

  3. By decreasing the size of redo log files.

  4. By configuring the Mean Time Recover (MTTR) to a lower value.

  5. By setting UNDO_RETENTION parameter to a higher value.

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

Instance recovery time depends on the amount of redo to apply since the last checkpoint. Reducing redo log file size (C) causes more frequent checkpoints, leaving less redo to apply. Configuring FAST_START_MTTR_TARGET to a lower value (D) tells Oracle to recover faster by advancing checkpoints more aggressively. Multiplexing files (A, B) improves availability but not recovery speed. UNDO_RETENTION affects undo, not redo recovery.

Multiple choice technology databases
  1. True

  2. False

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

Oracle Database 10g Release 2 introduced dynamic baselines for alert thresholds in Enterprise Manager. This allowed automatic adjustment of thresholds based on historical performance patterns, complementing the existing static user-defined thresholds.

Multiple choice technology programming languages
  1. ACB

  2. DLI

  3. BMP

  4. MPP

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

To answer the question, the user needs to know the basic concepts of IMS, including the different interfaces used to connect the program to the Database in IMS.

Each option is explained below:

A. MPP: This option stands for Message Processing Program, which is not the correct interface used to connect the program to the Database in IMS.

B. ACB: This option stands for Access Control Block, which is not the correct interface used to connect the program to the Database in IMS.

C. DLI: This option stands for Data Language Interface, which is the correct interface used to connect the program to the Database in IMS. It provides a high-level interface for accessing IMS databases.

D. BMP: This option stands for Batch Message Processing, which is not the correct interface used to connect the program to the Database in IMS.

Therefore, the answer is: C. DLI

Multiple choice technology programming languages
  1. PLAN Name in which the DB2 program has to be bound

  2. Collection name in to which the program has to be bound

  3. Database Name

  4. Dataset in which the DB2 program resides

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

To answer this question, the user needs to have knowledge of DB2 and the process of binding a program.

The PLAN parameter in DB2 refers to the plan name in which the DB2 program has to be bound.

Option A is correct because the PLAN parameter specifies the name of the plan to which the program should be bound during the BIND process.

Option B is incorrect because the collection name refers to a set of related objects in DB2, and it is not related to the PLAN parameter.

Option C is incorrect because the database name refers to the name of the database in which the tables and other objects used by the program are located, and it is not related to the PLAN parameter.

Option D is incorrect because the dataset refers to the physical location of the program code, and it is not related to the PLAN parameter.

Therefore, the correct answer is:

The Answer is: A. PLAN Name in which the DB2 program has to be bound

Multiple choice technology programming languages
  1. TSO

  2. CICS

  3. IMS

  4. ENDEVOUR

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

To solve this question, the user needs to have basic knowledge of mainframe environments and their capabilities to access DB2.

Now let's go through each option and explain why it is right or wrong:

A. TSO - This environment can access DB2. TSO (Time Sharing Option) is an interactive dialog with the operating system, which provides an interface for the user to interact with the system. DB2 can be accessed through TSO environment using SPUFI and QMF tools.

B. CICS - This environment can access DB2. CICS (Customer Information Control System) is a transaction processing system that can access DB2 databases to store and retrieve data.

C. IMS - This environment can access DB2. IMS (Information Management System) is a hierarchical database management system that can access DB2 databases using the DLI (Data Language Interface) module.

D. ENDEVOUR - This environment is a software change management tool and does not have the ability to access DB2.

Therefore, the correct answer is:

The Answer is: D. ENDEVOUR

Multiple choice technology programming languages
  1. CBLTDLI

  2. PLITDLI

  3. Only a

  4. A or b

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

To answer this question, the user needs to have knowledge of database access methods.

The correct answer is:

D. A or B

Explanation:

CBLTDLI and PLITDLI are both programming interfaces for accessing databases. CBLTDLI is a COBOL interface, and PLITDLI is a PL/I interface. Both interfaces are used to submit commands and retrieve data from databases. Therefore, either option A or option B can be used to access the database. Option C is incorrect because only option A or B can be used to access the database, not just option A.

Multiple choice technology platforms and products
  1. initPKR.ini

  2. initPKR.ora

  3. initPKR.sap

  4. initPKR.brt

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

In SAP R/3 systems using Oracle databases, BR*Tools (brbackup and brarchive) use parameter files with the .sap extension. The naming convention follows the format init.sap where SAPSID is the System ID. For SAP System ID PKR, the correct parameter file name is initPKR.sap. The .ora extension is used for Oracle's own initialization files, while .ini and .brt are not standard for this purpose.