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
-
Round robin
-
Auto
-
Hash
-
Entire
C
Correct answer
Explanation
Hash partitioning is optimal for join operations because it distributes rows with the same join key to the same partition. This ensures matching records from both inputs are colocated, minimizing data movement during the join. Round robin distributes randomly, Entire copies everything to all partitions, and Auto may not choose the best method.
-
count,calculation,recalculation
-
Sort and Hash
-
count, sum, Average
-
None of the Above
A
Correct answer
Explanation
DataStage's Aggregator stage supports three types of aggregation: count (calculating the number of records), calculation (computing aggregates like sum, avg), and recalculation (updating existing aggregate values). Sort and Hash are partitioning methods, not aggregation types.
-
Datastage Designer
-
Datastage Administrator
-
Install the Datastage engine
-
All the Above
B,C
Correct answer
Explanation
DataStage projects are created through the Administrator client, which provides the project management interface. The DataStage engine must be installed as the underlying foundation. Designer is used for job development within projects, not for creating projects themselves.
-
Range
-
Same
-
Round Robin
-
None of the above
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).
-
DataStage Administrator
-
DataStage Director
-
DataStage Manager
-
DataStage Designer
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.
-
BuildOP stage
-
File stage
-
Processing stage
-
Database stage
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.
-
Project, category, jobs
-
Category, jobs, project
-
Jobs, project, category
-
Project, jobs, category
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.
-
Data Stage Engine, Meta Data Repository, Package Installer
-
Data Stage Administrator, Data Stage Designer, Data Stage Director
-
Data Stage Engine and Meta Data Repository
-
Data Stage Engine and Package Installer
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.
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.
-
Project, category, jobs
-
Category, jobs, project
-
Jobs, project, category
-
Project, jobs, category
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.
-
Data Stage Engine, Meta Data Repository, Package Installer
-
Data Stage Administrator, Data Stage Designer, Data Stage Director
-
Data Stage Engine and Meta Data Repository
-
Data Stage Engine and Package Installer
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.
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.
-
known as
-
has
-
qualified by
-
includes
-
refers to
-
qualified as
A,D,E,F
Correct answer
Explanation
File-to-field relations in SYNON include has and qualified by. known as and qualified as are invalid, while refers to is a file-to-file relation, making them correct options.
-
Datastage Designer GUI
-
orchadmin Command
-
dsrecords Command
-
all of the above
-
OSH Scripts
-
C++
-
BASIC
-
Java
C
Correct answer
Explanation
DataStage Server jobs are compiled into BASIC code (the underlying DataStage engine language). Parallel jobs compile into OSH (Orchestrate Shell). C++ and Java are not Server job compilation outputs. Option C is correct.