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
-
bprd
-
bpcd
-
bpbkar32
-
bpbackup
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.
-
Create a catalog backup policy using policy type NBU-Catalog
-
Create a catalog backup policy using policy type Sybase
-
Create a catalog backup policy using policy type Standard
-
Create a catalog backup policy using policy type MS-Windows-NT
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.
-
bprecover
-
bprestore
-
dbrecover
-
ndbrestore
-
bpcatrecover
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.
-
Cross mount points
-
Take checkpoints every
-
Collect true image restore information
-
Collect disaster recovery information
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.
-
Image database
-
Net backup database
-
Relational database
-
Backup policies
-
NBU configuration
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.
-
bprecover
-
bpchangeprimary
-
bpimage
-
bpexpdate
-
bprestore
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).
-
UPDATE_INTERVAL
-
REFRESH_INTERVAL
-
SIZE_DATA_BUFFERS
-
NUMBER_DATA_BUFFERS
-
DENSITY_DATA_BUFFERS
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.
-
Net backup database
-
EMM database
-
Net backup reports
-
Net backup Logs
-
Image database
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.
-
Can represent remote tables and views.
-
Can us used by anyone.
-
Does not need DB2 authority to use.
-
All the above.
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.
-
Embedded within application program.
-
Prepared during the execution of SQL application.
-
Is the result of a DB2 query.
-
None of the above
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.
-
A list of package names
-
The bound form of SQl statements taken from one or more DBRMs.
-
Neither of the above
-
Both of the above
-
SQL LOADER utility is used to load data from other data source into Oracle.
-
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
-
SQL Loader will only read the data from Flat files.
-
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.
-
All the above
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.
-
sqlldr userid=scott/tiger control=emp.ctl log=emp.log
-
qlldr userid=scott/tiger control=emp.ctl log=emp.log data=data1.dat
-
sqlldr userid=scott/tiger control=emp.ctl log=emp.log direct=FALSE
-
sqlldr userid=scott/tiger control=emp.ctl
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.
-
Control File
-
Data File
-
Target Table
-
Bad File
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.
-
Conventional
-
Direct
-
Indirect
-
Insert
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.