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 mainframe
  1. A. STORAGE GROUP -->DATABASE --> TABLESPACE -->TABLE--> VIEW

  2. B.TABLESPACE -> DATABASE-> TABLE-> VIEW--> STORAGE GROUP

  3. C. DATABASE --> TABLE --> TABLE SPACE --> VIEW-->STORAGE GROUP

  4. D. VIEW --> TABLE --> DATABASE--> TABLE SPACE --> STORAGE GROUP

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

The correct hierarchy in database storage organization is Storage Group (physical containers) → Database (logical grouping) → Tablespace (storage organization) → Table (actual data) → View (virtual table representation). This represents the progression from physical storage containers to logical database structures, with views being derived from tables.

Multiple choice technology
  1. Index cache stores data for the connected output ports and unconnected return ports

  2. Data cache stores data for the connected output ports and not for unconnected return ports

  3. Index cache stores data for the columns used in the lookup condition.

  4. Data cache stores data for the columns used in the lookup condition

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

In Informatica lookup transformations, the index cache stores data for columns used in the lookup condition to optimize performance. The data cache stores data for the connected output ports. This separation allows faster lookup operations by indexing the condition columns.

Multiple choice technology
  1. Application server

  2. Database server

  3. Local server

  4. Remote server

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

SQL scripts invoked by Report Types are typically placed on the Application server rather than the Database server. This architecture allows the application server to manage report execution and SQL script invocation, keeping database servers focused on data storage and query execution rather than report logic.

Multiple choice technology
  1. Buffer block size

  2. Index and data cache size for Aggregator

  3. Index and data cache size for Joiner

  4. Index and data cache size for Source qualifier

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

The Workflow Monitor provides session-specific details that help tune performance. Buffer block size can be optimized based on performance counters. Index and data cache sizes for Aggregator and Joiner transformations can be tuned based on session details. Source Qualifier does not have cache settings - cache is configured at the source/target level, not for Source Qualifier itself.

Multiple choice technology
  1. Index cache-Stores primary and foreign key information in separate caches

  2. Index cache-Stores XML row data while it generates the XML target

  3. Data cache-Stores primary and foreign key information in separate caches

  4. Data cache-Stores XML row data while it generates the XML target

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

For XML target caches in Informatica, the index cache stores primary key and foreign key information in separate caches, while the data cache stores the actual XML row data during XML target generation. Option B is incorrect because index cache stores key information, not row data. Option C is incorrect because data cache stores row data, not key information.

Multiple choice technology
  1. Use a Filter transformation to measure the time it takes to read source data

  2. Use a read test mapping

  3. Use a database query

  4. Use a Sorter transformation to measure the time it takes to read source data

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

Identifying relational source bottlenecks requires measuring query/data retrieval performance: Filter transformation with timing, read test mapping (single-source mapping to test speed), or running the source database query directly. A Sorter transformation processes already-read data and doesn't measure source read time.

Multiple choice technology
  1. to establishing business intelligence.

  2. designs and manufactures automated solutions

  3. to Adoption of Key Infrastructure

  4. None of the above.

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

Data warehousing consolidates data from multiple operational systems into a unified repository. This consolidated view enables business intelligence (BI) tools to perform analytics, reporting, and data mining across the entire organization, supporting strategic decision-making that operational systems cannot provide.

Multiple choice technology
  1. subject oriented.

  2. connection oriented

  3. object oriented.

  4. service oriented.

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

Operational systems are organized around business processes and applications (order processing, payroll, inventory). Data warehouses are organized around business subjects (customer, product, sales) to facilitate cross-functional analysis. This subject orientation allows reporting across the entire organization rather than within application silos.

Multiple choice technology
  1. rational utified pattern

  2. spiral pattern

  3. agile pattern

  4. waterfall pattern

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

Data warehousing follows a spiral (iterative) development pattern because requirements evolve as users interact with initial deployments. Each spiral adds new data sources, enhances existing schemas, and refines ETL processes based on feedback. Waterfall is too rigid for this continually evolving environment.

Multiple choice technology
  1. True

  2. False

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

The four defining characteristics of a data warehouse are: subject oriented (organized by business subjects), time variant (historical data with timestamps), integrated (consistent format across sources), and nonvolatile (once loaded, data is not updated). The statement incorrectly claims not integrated, when integration is a core feature.

Multiple choice technology
  1. Assisted by JAD sessions

  2. Integrated

  3. Extensible

  4. Manageable

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

Data warehouses must integrate data from disparate sources (integrated), accommodate new requirements and sources (extensible), and remain maintainable as scope grows (manageable). JAD (Joint Application Development) sessions are useful but not mandatory.

Multiple choice technology
  1. normalised

  2. denormalised

  3. none of the above

  4. all the above

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

Data warehouses use neither purely normalized nor purely denormalized schemas. They employ dimensional modeling (star/snowflake schemas) which selectively denormalizes dimensions for query performance while maintaining some normalization in fact tables. Different schemas serve different purposes: dimensional modeling is the standard.

Multiple choice technology
  1. True

  2. False

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

OLAP systems organize data in multidimensional cubes (also called hypercubes), enabling fast analysis across multiple dimensions like time, geography, and product. This structure allows users to drill down, slice, and dice data efficiently. The alternative flat relational model would be much slower for complex analytical queries.

Multiple choice technology
  1. Meta Data

  2. The work area where we apply our complex business rules

  3. Hold the data and does calculations

  4. element and related attribute

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

A staging area in ETL processes serves multiple purposes: it stores metadata about the data, provides a workspace to apply complex business rules and transformations before loading to the target, and holds intermediate data for calculations and validation. Distractor D refers to a database schema element, not a staging area function.

Multiple choice technology web technology
  1. shared data, processed data, form data

  2. shared data, pre-session data and temporary data

  3. shared data, post-session data and temporary data

  4. shared data, pre-session data and permanent data

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

Web services typically manage three types of data: shared data (persistent data accessible across sessions), pre-session data (configuration/initiation data before the session starts), and temporary data (transient data during execution like request variables). Post-session and permanent data are not standard categories.