Computer Knowledge

Database Management Systems

5,344 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 platforms and products
  1. Staging tables

  2. Dimension Tables

  3. Fact Tables

  4. All of above

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

OLAP (Online Analytical Processing) databases used for data warehousing contain multiple table types. Staging tables hold raw data before processing, Dimension tables store descriptive attributes (like time, geography, product), and Fact tables store quantitative metrics and foreign keys to dimensions. All three are fundamental components of a dimensional data warehouse. The star or snowflake schema architecture requires both fact and dimension tables, and staging tables are essential for the ETL loading process.

Multiple choice technology platforms and products
  1. Dimension is surrounded by Facts

  2. Fact is surrounded by Dimensions

  3. Dimension is surrounded by Dimensions

  4. All of above

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

A star schema is a dimensional database design where a central fact table (containing quantitative metrics and foreign keys) is directly connected to multiple dimension tables (containing descriptive attributes). The fact table is at the center 'surrounded by' dimension tables, creating a star-like pattern when visualized. Dimension tables are never at the center - they provide the context (who, what, where, when) for the metrics stored in the fact table. This design optimizes query performance for analytical queries.

Multiple choice technology platforms and products
  1. Data warehouse Admin Tool

  2. Data Administration Console

  3. Database Administration Console

  4. Data warehouse Administration Console

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

In Oracle Business Intelligence (OBI), DAC stands for Data Warehouse Administration Console. It is a centralized command and control center used to configure, manage, and monitor data warehouse execution plans and ETL processes.

Multiple choice technology databases
  1. True

  2. False

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

The nzsql -d flag specifies which database to connect to (requires a database name as argument), it does not list databases. To list all databases in nzsql, use the \l command once inside an nzsql session, not the -d command-line flag.

Multiple choice technology programming languages
  1. Primary!

  2. Delete!

  3. Original!

  4. Sort!

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

PowerBuilder Datawindow buffers are Primary!, Delete!, and Filter! buffers. The Original! buffer contains the originally retrieved data. Sort! is not a standard Datawindow buffer type - sorting is handled through the Datawindow's sort properties, not a dedicated buffer.

Multiple choice technology programming languages
  1. SetTransObject()

  2. SetTrans()

  3. SetDBTrans()

  4. SetLimitTrans()

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

SetTrans() pools database connections by sharing a single connection among multiple Datawindows, releasing it after each transaction. This is efficient when connections are limited. SetTransObject() maintains a dedicated connection per Datawindow, which is more efficient for frequent database access but uses more connections.

Multiple choice technology web technology
  1. D-List

  2. Access Table

  3. File Map

  4. Allocation Table

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

In Cognos Analyst, the core components include D-Lists (dimension lists containing items), D-Cubes (multidimensional data structures), D-Links (data transfer mechanisms), Allocation Tables (for distributing values), and File Maps (for import/export). Access Tables are not an Analyst component - this appears to be a distractor mixing terminology. Access is typically associated with database permissions or Microsoft Access, not Analyst architecture.

Multiple choice technology
  1. Database cache optimizes, worklists items.

  2. Database cache optimizes, reading values.

  3. PEGARULES database cannot be accessed by external reporting tools.

  4. none

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

The PEGARULES database is Pega's internal database schema with restricted access. External reporting tools cannot directly query this database due to its proprietary structure and access restrictions. Database cache optimization refers to performance aspects, not external access.

Multiple choice technology web technology
  1. session..commit()

  2. session.getCommitTransaction()

  3. session.getTransaction().commit()

  4. session.getTransaction().save()

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

To commit a transaction in Hibernate, you must call session.getTransaction().commit(). This retrieves the current Transaction object associated with the session and commits it. The other options don't represent valid Hibernate API methods.

Multiple choice technology web technology
  1. Every table must have a separate mapping file

  2. Only parent table needs separate mapping fie

  3. Only child table need separate mapping file

  4. One mapping file can have mappings for one or more table.

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

Hibernate mapping files are flexible - one mapping file can contain mappings for multiple tables. You're not required to have separate files for parent, child, or each table. A single mapping file can define multiple class mappings.

Multiple choice technology web technology
  1. Using several dialect

  2. Using several <session-factory>

  3. Using several connection properties

  4. Not possible to map more than one database

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

Hibernate can map multiple databases by defining multiple elements in the configuration. Each session-factory represents a separate database connection with its own dialect and connection properties. You cannot use multiple dialects for a single session factory.