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
-
Control file
-
Data file
-
OnLine ReDo file
-
Offline ReDo file
B
Correct answer
Explanation
Data files in Oracle contain the actual user data and system data. Control files contain metadata about the database structure. Redo log files (online and offline) contain transaction records for recovery, not the actual data.
-
An improved version of multithreaded server configuration
-
A connection pooling configuration where several clients are connected to the same server process
-
Two more database servers, which share data by means of database links; the client software is unaware to which server it is connected
-
A configuration of Real Application Cluster where the client connection is routed to the least busy instance
A
Correct answer
Explanation
Oracle Shared Server is the evolution of the multithreaded server architecture, improving resource utilization through connection pooling and dispatcher processes. Options B and C describe different concepts - B describes basic connection pooling without mentioning dispatcher processes, while C describes Real Application Clusters (RAC). Option D refers to RAC load balancing, not Shared Server.
B
Correct answer
Explanation
PMON (Process Monitor) performs process monitoring and recovery, but it does NOT perform ALL system monitoring functions. That statement is an overstatement - other background processes like SMON (System Monitor), CKPT (Checkpoint), and archiving processes handle different aspects of system monitoring. PMON specifically monitors failed processes, cleans up their resources, and rolls back their transactions.
-
The reading of data from external datafiles into external tables
REMAP_SCHEMA=source_schema:targer_schema
-
The writing of data from Oracle tables to external datafiles
REMAP_TABLESPACE=source_tablespace:target_tablespace
-
The writing of data from external datafiles into external tables
FROMUSER TOUSER
-
The reading of data from Oracle tables into external
datafilesREMAP_TABLESPACE=source_tablespace:source_tablespace
-
Regular table
-
Clustered table
-
Partitioned table
-
Index-organized table
D
Correct answer
Explanation
Index-organized tables (IOTs) store rows in B-tree index structure sorted by primary key, providing fast key-based access for both exact matches and range searches. Regular tables store rows in heap format, clustered tables group related tables together physically, and partitioned tables divide data into segments but don't optimize key-based access specifically.
-
DROP TABLE NO PURGE
-
DROP TABLE works exactly the way it did in previous versions.
-
DROP TABLE … PURGE
-
DROP TABLE … TO BEFORE DROP
C
Correct answer
Explanation
In Oracle 10g, DROP TABLE by default moves tables to the recyclebin. The PURGE option drops the table permanently without sending it to the recyclebin, making it equivalent to pre-10g DROP TABLE behavior. DROP TABLE NO PURGE is not valid syntax, and DROP TABLE...TO BEFORE DROP is used for flashback recovery, not permanent deletion.
-
Heterogeneous Services
-
Firewalls
-
Oracle Advanced Security
-
Oracle Connection Manager
C
Correct answer
Explanation
Oracle Advanced Security Option provides authentication adapters that support various methods including token cards, biometrics, and Kerberos. Heterogeneous Services is for non-Oracle data access, Firewalls are network security devices, and Oracle Connection Manager handles connection pooling and multiplexing but not advanced authentication.
-
The redo log buffer is NOT a part of the shared memory area of an Oracle instance.
-
Multiple instances can be executed on the same computer, each accessing its own physical database.
-
An Oracle instance is a combination of memory structures, background processes, and user processes.
-
In a shared server environment, the memory structure component of an instance consists of a single SGA and a single PGA.
B
Correct answer
Explanation
Multiple Oracle instances can run on the same machine, each accessing separate physical databases - this is how Oracle Real Application Clusters (RAC) and standalone instances coexist. Option A is incorrect because redo log buffer IS part of SGA. Option C is incorrect because instances consist of memory structures and background processes, not user processes. Option D is incorrect because shared server environments have one SGA but multiple PGAs (one per server process).
-
EJB container provider
-
EJB server provider
-
Application assembler
-
Instance pooling
-
TX_BEAN_MANAGED
B
Correct answer
Explanation
It is an OS vendor, middleware vendor or database vendor.
-
TX_REQUIRES_NEW
-
TX_MANDATORY
-
TX_REQUIRED
-
Instance pooling
-
Websphere
A
Correct answer
Explanation
If a transaction is under way then the container temporarily suspends it until the bean's transaction finishes.
-
SQL work area
-
Session memory
-
Process monitor
-
PFile
-
Mounting the database
B
Correct answer
Explanation
In a shared server environment, this memory area is located in the SGA and is shared by server process.
-
Oracle database
-
SQL work area
-
Oracle database management system
-
Stream pool
-
Instance creation
A
Correct answer
Explanation
This is the centralized repository where the data is stored.
-
READ ONLY
-
PFILE
-
FORCE
-
Instance creation
-
Stream pool
A
Correct answer
Explanation
This STARTUP command option is used to open the database for queries only.
-
NORMAL
-
Immediate
-
PFILE
-
Mounting the database
-
ABORT
E
Correct answer
Explanation
This SHUTDOWN command option is a case of an improper shutdown.
-
Password file
-
Parameter file
-
Instance creation
-
Data file
-
Java pool
D
Correct answer
Explanation
All objects created in the database by users have their data physically stored in the data file.