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
  1. Number of Processes or Nodes.

  2. Actual Disk Storage Location.

  3. Fast name

  4. All the Above

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

A DataStage configuration file for parallel jobs specifies all execution environment parameters: number of processes/nodes for parallel processing, disk storage locations for data, and the 'fastname' (node identifier). All three components are essential for proper parallel job configuration.

Multiple choice technology
  1. Range

  2. Same

  3. Round Robin

  4. None of the above

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

The Range partitioner divides data based on key ranges (like 1-100, 101-200, etc.) to create approximately equal-sized partitions. This is different from Hash (same values go to same partition), Round Robin (distributes sequentially), or Entire (copies to all partitions).

Multiple choice technology
  1. Read From Multiple Nodes

  2. Number of Readers Per Node

  3. Report Progress

  4. Pattern

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

Sequential files are typically read by a single node. To enable parallel reading where multiple nodes each read parts of the file, you must select the "Read From Multiple Nodes" option. This allows the file to be partitioned across nodes for parallel processing. Number of Readers Per Node controls reader count per node, not multi-node access.

Multiple choice technology
  1. DataStage Administrator

  2. DataStage Director

  3. DataStage Manager

  4. DataStage Designer

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

DataStage Administrator is the client tool used for version control operations like checking in/out jobs, managing version history, and comparing versions. Director is for job monitoring and scheduling. Manager is deprecated. Designer is for job development. Administrator handles administrative functions including version control.

Multiple choice technology
  1. Hashed files are the best way to store data for lookups.

  2. Hashed files are especially useful if they store information with data dictionaries (customer details, countries, exchange rates).

  3. Very fast when looking up the key-value pairs.

  4. All the Above

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

Hashed files in DataStage provide optimized storage and retrieval for reference data. They are ideal for lookups due to their key-based structure, excel at storing relatively static reference data like country codes or exchange rates, and offer very fast lookup performance using hash-based access rather than full table scans.

Multiple choice technology
  1. unique sort

  2. stable sort

  3. bubble sort

  4. sync sort

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

DataStage supports unique sort, which removes duplicate records based on key columns while maintaining one instance of each unique record. Stable sort (which preserves original order) is not a DataStage option. The sorting functionality focuses on data deduplication and ordering rather than stability.

Multiple choice technology
  1. BuildOP stage

  2. File stage

  3. Processing stage

  4. Database stage

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

A Dataset stage in DataStage is classified as a File stage because it writes data to persistent disk storage in Data Set format. Unlike BuildOP, Processing, or Database stages which handle data transformation or database operations, the Dataset stage's primary function is file-based data storage and retrieval for parallel processing jobs.

Multiple choice technology
  1. Project, category, jobs

  2. Category, jobs, project

  3. Jobs, project, category

  4. Project, jobs, category

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

DataStage follows a clear three-level hierarchy: Projects sit at the top level, Jobs exist within projects, and Categories organize jobs within each project. This structure allows for logical grouping and management of jobs. The other options either reverse this order or place categories above projects incorrectly.

Multiple choice technology
  1. Memory usage

  2. Sorting

  3. Treatment of rows with unmatched keys

  4. All the above

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

Lookup, Join, and Merge stages differ in three key aspects: (1) Memory usage - Lookup loads entire reference dataset into memory while Join/Merge process streaming data, (2) Sorting requirements - Join and Merge require sorted inputs but Lookup doesn't, and (3) Unmatched key handling - Lookup drops unmatched rows, Join drops them, but Merge can preserve them depending on settings. All three represent valid differences.

Multiple choice technology
  1. Data Stage Engine, Meta Data Repository, Package Installer

  2. Data Stage Administrator, Data Stage Designer, Data Stage Director

  3. Data Stage Engine and Meta Data Repository

  4. Data Stage Engine and Package Installer

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

DataStage server components include the Engine (executes jobs), Metadata Repository (stores job metadata and definitions), and Package Installer (manages deployment packages). Options B lists client tools (Administrator, Designer, Director) which are applications that connect to the server but aren't server components themselves. The server runs the backend services that these tools interact with.

Multiple choice technology
  1. dml

  2. sql

  3. run

  4. mp

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

SQL (Structured Query Language) is a standard database query language, while DML (Data Manipulation Language), RUN, and MP are all specific to DataStage or its processing paradigms. SQL stands out as it's a universal standard rather than a DataStage-specific component.

Multiple choice technology
  1. Project, category, jobs

  2. Category, jobs, project

  3. Jobs, project, category

  4. Project, jobs, category

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

DataStage uses a three-level hierarchy: Project at the top level, Jobs within projects, and Categories to organize jobs. Categories provide logical grouping within projects. Jobs cannot exist without projects, and categories are organizational structures within projects.

Multiple choice technology
  1. Memory usage

  2. Sorting

  3. Treatment of rows with unmatched keys

  4. All the above

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

Lookup, Join, and Merge stages differ in multiple ways: Lookup loads reference data entirely into memory (high memory usage), Join requires sorted input on both links, and they handle unmatched rows differently (Lookup drops, Merge keeps, Join can drop or keep). All three are valid distinguishing characteristics.

Multiple choice technology
  1. Data Stage Engine, Meta Data Repository, Package Installer

  2. Data Stage Administrator, Data Stage Designer, Data Stage Director

  3. Data Stage Engine and Meta Data Repository

  4. Data Stage Engine and Package Installer

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

DataStage server components include the Data Stage Engine (execution core), Metadata Repository (stores all metadata), and Package Installer (deploys packages). The Designer, Director, and Administrator are client tools, not server components.

Multiple choice technology
  1. True

  2. False

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

Checkpointed Sort is an Ab Initio component that performs external sorting on large datasets. It sorts data in the first phase and then merges sorted runs in the second phase. The checkpoint is a feature that allows recovery or resumption if the operation is interrupted - it writes state information between the sorting and merging phases. This makes long-running sort operations more fault-tolerant.