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 mainframe
  1. Yes

  2. No

  3. Only for uncataloged datasets

  4. Only for cataloged datasets

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

VOL=SER (volume serial) specifications are required for tape datasets that are not cataloged. Cataloged tape datasets have their volume information recorded in the system catalog, so VOL=SER is optional. For uncataloged tape datasets, VOL=SER tells the system which tape volume to mount.

Multiple choice technology performance
  1. /opt/Netcool/var/logs

  2. /opt/Netcool/ism/datalogs

  3. /opt/Netcool/log/ism

  4. /opt/Netcool/ism/log

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

ISM (IBM Tivoli Netcool/ISM) stores its operational logs in /opt/Netcool/log/ism by default. Options A, B, and D are incorrect - they either point to wrong directories or reverse the correct path structure.

Multiple choice technology databases
  1. System tablespace

  2. Users tablespace

  3. Default tablespace for the user

  4. Oracle will give an error

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

When a TABLESPACE clause is omitted, Oracle stores the segment in the user's default tablespace. Each database user has a default tablespace assigned (often USERS or a custom tablespace). The SYSTEM tablespace is reserved for data dictionary objects. Oracle will not give an error - it uses the default tablespace as a fallback.

Multiple choice technology databases
  1. All statements are removed and have to be resubmitted

  2. The Oracle server rolls back the statement that detected the deadlock

  3. The administrator has to kill the session

  4. Deadlocks can not be resolved

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

Oracle automatically detects deadlocks and resolves them by rolling back the specific statement that caused the deadlock, allowing other transactions to proceed. Manual intervention or killing the entire session is usually not required for basic resolution.

Multiple choice technology databases
  1. The user disconnects from Oracle

  2. A COMMIT or a ROLLBACK statement is used in conjunction with a SAVEPOINT clause

  3. A user process is terminated abnormally

  4. A DDL statement such as DROP, GRANT, RENAME

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

In Oracle, a transaction ends with a COMMIT, ROLLBACK, DDL statement, or disconnection. Using a SAVEPOINT with ROLLBACK only reverts to a specific point within the transaction; it does not terminate the transaction itself.

Multiple choice technology databases
  1. USER_TABLESPACES

  2. V$TABLESPACE
  3. DBA_TABLESPACE_GROUPS

  4. DBA_TABLESPACES

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

DBA_TABLESPACES is the correct data dictionary view that contains descriptions of all tablespaces in the database. USER_TABLESPACES only shows tablespaces accessible to the current user, while V$TABLESPACE and DBA_TABLESPACE_GROUPS are not valid views for tablespace descriptions.

Multiple choice technology databases
  1. Statement failure

  2. User process failure

  3. Network failure

  4. Instance failure

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

A user process failure occurs when a single database session encounters an error and terminates. Statement failure refers to individual SQL statement errors, network failure involves connectivity issues, and instance failure is when the entire database instance crashes.

Multiple choice technology architecture
  1. Subject orientation

  2. Non-volatile

  3. Integrated

  4. Time variant

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

Data warehouses have four key characteristics per W.H. Inmon: subject-oriented (organized around major subjects), non-volatile (data is read-only), integrated (data from multiple sources is standardized), and time-variant (provides historical perspective). All options are correct.

Multiple choice technology architecture
  1. Fact

  2. Dimension

  3. Granularity

  4. Summary

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

Granularity refers to the level of detail stored in the data warehouse - how fine or coarse the data is. For example, sales data stored by day versus by month represents different granularity levels. Facts are measurements, dimensions provide context, and summary is an aggregation.

Multiple choice technology databases
  1. System tablespace

  2. Users tablespace

  3. Default tablespace for the user

  4. Oracle will give an error

  5. Undefined

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

In Oracle, if a user creates a segment (like a table) without specifying a tablespace, the database automatically assigns it to the default tablespace defined in that specific user's profile configuration.

Multiple choice technology databases
  1. the process of arranging information stored in a database in a way, which removes redundancy and ambiguity.

  2. a special way of selecting data

  3. the process of adding primary key to a table

  4. All the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology databases
  1. System tablespace

  2. Users tablespace

  3. Default tablespace for the user

  4. Oracle will give an error

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

When no TABLESPACE clause is specified, Oracle automatically stores the segment in the user's default tablespace. This is the tablespace assigned to the user when their account was created or last modified with an ALTER USER statement. The system tablespace is reserved for data dictionary objects, not user data.