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 programming languages
  1. mapping java classes to database tables

  2. mapping of java data types to sql data types

  3. data querying and retreival

  4. all the above

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

Hibernate is a comprehensive ORM framework that handles mapping Java classes to database tables, converting Java data types to SQL data types, and providing querying mechanisms like HQL and Criteria API for data retrieval.

Multiple choice technology programming languages
  1. Retreive Hibernate session

  2. persist objects

  3. Save session

  4. config hibernate.cfg.xml

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

In a Hibernate application, the very first configuration and bootstrap step involves configuring and loading the hibernate.cfg.xml file to build the SessionFactory before any sessions can be opened or objects persisted.

Multiple choice technology programming languages
  1. Object oriented Query language

  2. Transparent persistence without byte code processing

  3. High Perfomance

  4. Automatic Composite Key generation

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

Hibernate provides HQL (object-oriented query language), works with plain POJOs without bytecode instrumentation for transparent persistence, and offers high performance through caching and lazy loading. Automatic composite key generation is not a standard feature.

Multiple choice technology programming languages
  1. increment

  2. sequence

  3. hilo

  4. foreign

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

The tag in Hibernate mapping files uses attributes to specify the identifier generation strategy. Common attributes include increment (identity column), sequence (database sequences), hilo (high/low algorithm), and foreign (uses foreign key value).

Multiple choice technology
  1. ETL tool

  2. Reporting tool

  3. Debugging tool

  4. db tool

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

Informatica PowerCenter is an ETL (Extract, Transform, Load) tool. It is specifically designed for data integration - extracting data from various sources, transforming it according to business rules, and loading it into target systems. It is not a reporting tool, debugging tool, or database tool - its primary purpose is ETL and data integration.

Multiple choice technology
  1. Surrogate Key

  2. Primary Key

  3. Composite Key

  4. Foreign key

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

A surrogate key is a system-generated unique identifier that exists independently of any source or natural key. Unlike natural keys which may be composite, change over time, or have business meaning, surrogate keys provide consistent, immutable identification for each dimension table row regardless of the data source.

Multiple choice technology
  1. TYPE 3

  2. TYPE 2

  3. TYPE 1

  4. None of the above

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

SCD Type 2 preserves complete history by creating a new dimension record for each change, maintaining both current and historical data with effective date columns. Type 1 overwrites old values (no history), Type 3 tracks limited history in separate columns, and Type 0 makes no changes at all.

Multiple choice technology mainframe
  1. Database

  2. Functional

  3. Attribute

  4. Descriptive

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

Functional fields in Synon are calculated at runtime based on defined formulas or expressions. Unlike database fields which store persistent data, functional fields derive their values dynamically when accessed. This makes them ideal for computed values that shouldn't be stored permanently. Database, Attribute, and Descriptive fields all store static data rather than calculating values at runtime.

Multiple choice technology mainframe
  1. PRC

  2. DRV

  3. DTE

  4. ATR

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

ATR (Attribute) is indeed a database field type in Synon that represents physical attributes stored in the database. Attribute fields define the structure and properties of database entities. PRC (Processing), DRV (Derived), and DTE (Date) are other field types, but ATR is the one specifically designed for database attribute definitions. Understanding field type taxonomy is fundamental in Synon development.

Multiple choice technology databases
  1. stack variables and other info

  2. session's variables and arrays

  3. session info stored in PGA

  4. binding variables and runtime buffers

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

The stack space in a PGA (Program Global Area) holds the session's variables and arrays that are local to the session. This memory area is allocated per session and maintains session-specific data structures and runtime information. Option A is too vague, Option C is circular, and Option D describes the cursor area (UGA) which holds bind variables and runtime buffers, not the stack space specifically.

Multiple choice technology databases
  1. Task Center

  2. Command Editor

  3. Design Advisor

  4. Command Line Processor

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

DB2's Command Editor provides the capability to execute SQL statements and view graphical representations of access plans (also called explain plans or visual explain). This feature helps developers and DBAs understand how DB2 will execute their queries, including index usage and join methods. Task Center is for scheduling tasks, Design Advisor suggests optimizations, and CLP is command-line only.