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
  1. bprd

  2. bpcd

  3. bpbkar32

  4. bpbackup

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

bpbkar32 is the NetBackup backup process that runs on the client and is responsible for reading data from the client filesystem. It traverses directories, reads files, applies exclude/include lists, and sends the data stream to the NetBackup media server. bprd is the request daemon, bpcd is the client daemon that accepts connections, and bpbackup is a command-line utility that initiates backups but does not perform the actual data reading.

Multiple choice technology
  1. Create a catalog backup policy using policy type NBU-Catalog

  2. Create a catalog backup policy using policy type Sybase

  3. Create a catalog backup policy using policy type Standard

  4. Create a catalog backup policy using policy type MS-Windows-NT

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

To configure NetBackup database (catalog) backups and resolve the 'Hot catalog backup is not configured' message, you must create a policy with policy type NBU-Catalog. This is a specialized policy type designed specifically for backing up the NetBackup catalog database. Option B (Sybase) is incorrect because while the catalog uses Sybase internals, NBU-Catalog is the correct policy type. Option C (Standard) cannot protect the catalog. Option D (MS-Windows-NT) is for Windows file system backups, not catalog backups.

Multiple choice technology
  1. bprecover

  2. bprestore

  3. dbrecover

  4. ndbrestore

  5. bpcatrecover

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

The bprecover command is the NetBackup utility specifically used for recovering the NetBackup catalog database during disaster recovery scenarios. bprestore is used for restoring client data, not catalogs. dbrecover and ndbrestore are not NetBackup commands, and bpcatrecover does not exist as a standard NetBackup command.

Multiple choice technology
  1. Cross mount points

  2. Take checkpoints every

  3. Collect true image restore information

  4. Collect disaster recovery information

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

The 'Take checkpoints every' policy attribute allows NetBackup to periodically save backup progress. If a backup fails, it can be restarted from the last checkpoint rather than from the beginning. 'Cross mount points' controls whether backups cross filesystem boundaries. The other options relate to image restore information and disaster recovery, not checkpoint-based restart capability.

Multiple choice technology
  1. Image database

  2. Net backup database

  3. Relational database

  4. Backup policies

  5. NBU configuration

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

The NetBackup catalog consists of three main components: the Image database (contains backup image metadata), a Relational database (stores all catalog information), and NBU configuration (NetBackup configuration data). 'Net backup database' and 'Backup policies' are not catalog components.

Multiple choice technology
  1. bprecover

  2. bpchangeprimary

  3. bpimage

  4. bpexpdate

  5. bprestore

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

To use duplicate tapes as primary copies for restores, use bpchangeprimary (changes a copy from duplicate to primary) or bpimage (manages image information and can change copy attributes). bprecover is for disaster recovery, bpexpdate changes expiration, and bprestore is for performing restores (not changing copy status).

Multiple choice technology
  1. UPDATE_INTERVAL

  2. REFRESH_INTERVAL

  3. SIZE_DATA_BUFFERS

  4. NUMBER_DATA_BUFFERS

  5. DENSITY_DATA_BUFFERS

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

SIZE_DATA_BUFFERS and NUMBER_DATA_BUFFERS are the key NetBackup parameters for performance tuning on media servers. They control how much data is buffered and how many buffers are used during read/write operations. UPDATE_INTERVAL and REFRESH_INTERVAL are for EMM database polling. DENSITY_DATA_BUFFERS is not a valid parameter.

Multiple choice technology
  1. Net backup database

  2. EMM database

  3. Net backup reports

  4. Net backup Logs

  5. Image database

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

During restoration, NetBackup checks the NetBackup database (backup metadata), EMM database (media and device information), and NetBackup Logs (for detailed operation records). NetBackup Reports (C) is for reporting, not restoration checks. Image database (E) is not a standard NetBackup component.

Multiple choice technology mainframe
  1. Can represent remote tables and views.

  2. Can us used by anyone.

  3. Does not need DB2 authority to use.

  4. All the above.

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

DB2 Alias can represent remote tables and views, can be used by anyone (public synonym), and does not require DB2 authority because it inherits permissions from the underlying object rather than granting new access.

Multiple choice technology mainframe
  1. Embedded within application program.

  2. Prepared during the execution of SQL application.

  3. Is the result of a DB2 query.

  4. None of the above

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

Static SQL statements are hard-coded or embedded directly within the source code of an application program before compile time. They are bound and prepared prior to execution, unlike dynamic SQL which is constructed and prepared during the application's execution.

Multiple choice technology databases
  1. SQL LOADER utility is used to load data from other data source into Oracle.

  2. For example, if you have a table in FOXPRO, ACCESS or SYBASE or any other third party database, you can use SQL Loader to load the data into Oracle Tables

  3. SQL Loader will only read the data from Flat files.

  4. If you want to load the data from Foxpro or any other database, first step is to convert that data into Delimited Format flat file or Fixed length format flat file, and then use SQL loader to load the data into Oracle.

  5. All the above

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

SQL*Loader is an Oracle utility used to load data from external flat files. All individual options accurately describe its capabilities, limitations, and standard processes, making 'All the above' the correct choice.

Multiple choice technology databases
  1. sqlldr userid=scott/tiger control=emp.ctl log=emp.log

  2. qlldr userid=scott/tiger control=emp.ctl log=emp.log data=data1.dat

  3. sqlldr userid=scott/tiger control=emp.ctl log=emp.log direct=FALSE

  4. sqlldr userid=scott/tiger control=emp.ctl

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

SQL Loader (sqlldr) invocation syntax: 'sqlldr' followed by 'userid=' for credentials, 'control=' for the control file, 'log=' for log file, 'data=' for input data file, and 'direct=' for load path. All four options show valid syntax variations - the command works with just the mandatory control parameter, or with any combination of the optional parameters.

Multiple choice technology databases
  1. Control File

  2. Data File

  3. Target Table

  4. Bad File

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

SQL Loader requires: a Control File (defines load rules), Data File (source data), and Target Table (where data loads). The Bad File is an OUTPUT file that records rejected records - it's created during loading, not required beforehand.

Multiple choice technology databases
  1. Conventional

  2. Direct

  3. Indirect

  4. Insert

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

Oracle SQL*Loader uses two load types: Conventional path (uses SQL INSERT statements, slower but more compatible) and Direct path (bypasses SQL engine, writes directly to data blocks, much faster). 'Indirect' and 'Insert' are not valid SQL*Loader load type categories.