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 databases
  1. a. Specifies the repair time in hours for any failed disk

  2. b. The amount of time a disk can remain offline before it is dropped by Oracle ASM

  3. c. The amount of time a disk will remain on-line if there is any fault

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. 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

  2. b. The CELL_FLASH_CACHE storage clause attribute can be used to specify how specific database objects are cached in Exadata Smart Flash Cache

  3. c. It can have values NONE, DEFAULT and KEEP

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. The CELL_OFFLOAD_PROCESSING parameter is set to FALSE.

  2. The optimizer uses direct path read.

  3. A scan is performed on a clustered table.

  4. A scan is performed on an index-organized table.

  5. A fast full scan is performed on compressed indexes.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. A scan is performed on a flashback table.

  2. A query that has more than 255 columns referenced

  3. A query that has more than 255 columns referenced and HCC compressed

  4. The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to false

  5. The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to true

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. A scan is performed on a flashback table.

  2. A query that has more than 255 columns referenced

  3. A query that has more than 255 columns referenced and HCC compressed

  4. The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to false

  5. The tablespace is encrypted, and the CELL_OFFLOAD_DECRYPTION parameter is set to true

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Multiple choice technology databases
  1. The predicate evaluation is on a virtual column.

  2. The tablespace is not completely stored on Exadata Cell.

  3. A scan is performed on a flashback table.

  4. The command is CREATE INDEX using nosort.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology packaged enterprise solutions
  1. Process Monitor

  2. Checkpoint

  3. Log Writer

  4. System Monitor

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology packaged enterprise solutions
  1. The number of CPUs on the server

  2. The degree of parallelism on the tables

  3. The use of bitmap indexes

  4. The quality of the SQL optimization

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Oracle

  2. Access

  3. Microsoft SQL Server

  4. Sybase

Reveal answer Fill a bubble to check yourself
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).

Multiple choice technology platforms and products
  1. Only Heterogeneous source

  2. Only heterogeneous Target

  3. Heterogeneous source and target

  4. Only homogeneous source and target

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. $Oracle_home/network/administrator
  2. $Oracle_home/db/administrator
  3. $Oracle_home/network/admin
  4. $Oracle_home/db/admin
Reveal answer Fill a bubble to check yourself
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.