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
-
a. Specifies the repair time in hours for any failed disk
-
b. The amount of time a disk can remain offline before it is dropped by Oracle ASM
-
c. The amount of time a disk will remain on-line if there is any fault
-
None of the above
B
Correct answer
Explanation
The disk_repair_time parameter in Oracle ASM specifies how long a disk can remain offline before ASM drops it from the disk group. This is a protection mechanism that prevents permanent disk removal during transient failures. It is measured in hours and applies to disks that go offline, not to repair time specification or disk online behavior during faults.
-
a. The CELL_FLASH_CACHE storage clause attribute allows the override of the automatic caching policy, when the compatible parameter is greater than or equal to 11.2.0.0
-
b. The CELL_FLASH_CACHE storage clause attribute can be used to specify how specific database objects are cached in Exadata Smart Flash Cache
-
c. It can have values NONE, DEFAULT and KEEP
-
None of the above
A,B,C
Correct answer
Explanation
CELL_FLASH_CACHE is a storage clause attribute that controls how database objects are cached in Exadata Smart Flash Cache, overriding the automatic caching policy when compatible parameter is 11.2.0.0 or higher. The attribute accepts three values: NONE (no caching), DEFAULT (uses automatic policy), and KEEP (forces caching). This provides fine-grained control over flash cache usage for specific tables, partitions, or tablespaces.
-
The CELL_OFFLOAD_PROCESSING parameter is set to FALSE.
-
The optimizer uses direct path read.
-
A scan is performed on a clustered table.
-
A scan is performed on an index-organized table.
-
A fast full scan is performed on compressed indexes.
A,C,D,E
Correct answer
Explanation
Predicate evaluation is not offloaded when CELL_OFFLOAD_PROCESSING is FALSE, or when scanning certain table types. Clustered tables and index-organized tables have storage structures that don't support predicate offloading. Fast full scans on compressed indexes also don't support offload. Direct path reads are a different optimization mechanism and don't prevent predicate offloading - they're often used together in Exadata.
-
A scan is performed on a flashback table.
-
A query that has more than 255 columns referenced
-
A query that has more than 255 columns referenced and HCC compressed
-
The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to false
-
The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to true
A,B,D
Correct answer
Explanation
Flashback table scans require database-level processing and cannot be offloaded. Queries over 255 columns exceed cell offload capabilities. When CELL_OFFLOAD_DECRYPTION is false on encrypted tablespaces, offload is disabled for security. Option C is redundant - HCC compression doesn't change the 255 column limit. Option E is incorrect - setting CELL_OFFLOAD_DECRYPTION to true enables offload for encrypted data.
-
A scan is performed on a flashback table.
-
A query that has more than 255 columns referenced
-
A query that has more than 255 columns referenced and HCC compressed
-
The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to false
-
The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to true
-
The predicate evaluation is on a virtual column.
-
The tablespace is not completely stored on Exadata Cell.
-
A scan is performed on a flashback table.
-
The command is CREATE INDEX using nosort.
A,B,C,D
Correct answer
Explanation
Virtual column predicates cannot be offloaded because they require computation. If the tablespace is not fully on Exadata Cell, offload is impossible. Flashback table scans require database-level processing. CREATE INDEX with nosort needs database-side sorting operations that cannot be pushed to storage cells.
-
Process Monitor
-
Checkpoint
-
Log Writer
-
System Monitor
D
Correct answer
Explanation
SMON (System Monitor) is the Oracle background process responsible for coalescing free extents in dictionary-managed tablespaces, consolidating adjacent free space into larger extents. Process Monitor (PMON) monitors processes, Checkpoint (CKPT) updates checkpoints, and Log Writer (LGWR) writes redo logs.
-
The number of CPUs on the server
-
The degree of parallelism on the tables
-
The use of bitmap indexes
-
The quality of the SQL optimization
D
Correct answer
Explanation
SQL optimization quality directly determines statement performance - a well-optimized query executes efficiently while a poorly optimized one performs badly regardless of other factors. The optimizer's ability to choose efficient execution plans is more critical than CPUs, parallelism, or index types.
-
No data can be updated while it is being read
-
No data can be read while it is being updated
-
While SQL statement gets executed automatically DBA locks data called implicit locking
-
All the Above
-
Oracle
-
Access
-
Microsoft SQL Server
-
Sybase
A,C
Correct answer
Explanation
Quality Center supports enterprise databases - Oracle and Microsoft SQL Server. Access is a desktop database, not supported. Sybase is also not a supported QC database (supported are Oracle, SQL Server, and in some versions, MySQL).
-
Configuration Testing
-
Monitoring
-
Security Testing
-
Analysis and Support
-
Recovery
C
Correct answer
Explanation
DB RACE and ArcSight Intrusion are security monitoring and analysis tools. In Operational Acceptance Testing (OAT), these security tools are predominantly used under the Security Testing service.
-
Metadata for transformation
-
Source schema
-
Target schema
-
Both b and c
-
Only Heterogeneous source
-
Only heterogeneous Target
-
Heterogeneous source and target
-
Only homogeneous source and target
C
Correct answer
Explanation
Informatica PowerCenter is an ETL tool that can extract data from various heterogeneous sources (like databases, flat files, XML, etc.), transform it, and load it into heterogeneous targets. This flexibility is a key feature that allows integration between different systems and platforms.
-
$Oracle_home/data
-
$Oracle_home/dbs
-
$Oracle_home/dba
-
$Oracle_home/db
B
Correct answer
Explanation
In Oracle, the init.ora file (or init.ora) is located in the $ORACLE_HOME/dbs directory on Unix/Linux systems. This is the standard location for instance initialization parameter files.
-
$Oracle_home/network/administrator
-
$Oracle_home/db/administrator
-
$Oracle_home/network/admin
-
$Oracle_home/db/admin
C
Correct answer
Explanation
The Oracle Net configuration files (tnsnames.ora, listener.ora, and sqlnet.ora) are located in $ORACLE_HOME/network/admin directory. This is the standard location for network configuration files.