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 databases
  1. SQL assistant

  2. BTEQ

  3. PMON

  4. Statistics wizard

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

PMON (Performance Monitor) is a command-line or graphical tool specifically designed to monitor sessions, processes, and resource usage in a Teradata database. SQL Assistant and BTEQ are query execution tools, and Statistics Wizard is used for managing statistics, not for real-time process monitoring.

Multiple choice technology databases
  1. OLAP

  2. MOLAP

  3. ROLAP

  4. OLTP

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

Teradata is a Massively Parallel Processing (MPP) system designed for data warehousing and analytical processing (OLAP), not transaction processing (OLTP). OLAP involves complex queries on large historical datasets, which is Teradata's strength.

Multiple choice technology databases
  1. UPI

  2. NUSI

  3. PI

  4. USI

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

UPI (Unique Primary Index) in Teradata is equivalent to a Primary Key in Oracle - both enforce uniqueness and are used for data distribution. A regular PI (without uniqueness) is not equivalent to a PK.

Multiple choice technology databases
  1. FSLDM

  2. HCLDM

  3. RLDM

  4. CLDM

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

FSLDM (Financial Services Logical Data Model) is Teradata's industry-specific logical data model designed for financial markets and banking institutions. It provides pre-defined schemas for common financial entities like customers, accounts, transactions, and risk management. HCLDM, RLDM, and CLDM are not standard Teradata logical data models.

Multiple choice technology databases
  1. BTEQ

  2. TDQM

  3. Teradata SQL Assistant

  4. Teradata Manager

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

Teradata Manager is the administrative tool specifically designed for monitoring, collecting, and analyzing database performance metrics, resource usage, and system health. BTEQ is a query utility, Teradata SQL Assistant is for SQL development, and TDQM is not a standard Teradata performance tool.

Multiple choice technology enterprise content management
  1. BTEQ

  2. Archive Recovery

  3. Table rebuild

  4. FastLoad

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

Archive/Recovery utility is designed to copy tables (archive) and restore them to another database (recovery). BTEQ is for query processing, Table rebuild is for rebuilding damaged tables, and FastLoad is for high-speed initial data loading into empty tables.

Multiple choice technology databases
  1. Based on the secondary unique index

  2. Based on the Primary key of the table

  3. Based on the Primary Index of the table

  4. Based on the partitioning column

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

With Partitioned Primary Index (PPI), data is first distributed based on the Primary Index (PI) across AMPs, then partitioned within each AMP based on the partitioning column. The primary distribution mechanism is still the Primary Index hash. Secondary index and primary key don't control distribution in PPI.

Multiple choice technology databases
  1. Multiload

  2. BulkLoad

  3. TPUMP

  4. FastLoad

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

MultiLoad is the utility designed for batch processing and block-level loading against already-populated tables. It can handle INSERT, UPDATE, DELETE, and UPSERT operations efficiently. FastLoad is for initial load to empty tables only, TPUMP is for continuous trickle feed, and BulkLoad is not a standard Teradata utility.

Multiple choice technology databases
  1. compare performance of multiple workloads

  2. recommend secondary indexes for a table

  3. recommend primay indexes for a table

  4. compare primay and secondary indexes for a table

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

The Teradata Index Wizard analyzes a query workload to recommend secondary indexes (USIs and NUSIs) that will improve query performance, rather than primary indexes which are defined during table creation.

Multiple choice technology databases
  1. Shared nothing

  2. Shared memory

  3. Shared everything

  4. shared data

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

Teradata uses a shared-nothing architecture where each node (with its AMPs) has its own memory and disk storage, and doesn't share resources with other nodes. This enables linear scalability. Shared memory (SMP) and shared everything are different architectures where resources are shared across processors.

Multiple choice technology databases
  1. A Non Unique primary index may be more effective for query access and joins

  2. A NUPI query simplifies the optimization process in the PE

  3. A NUPI provides better data distribution

  4. A NUPI requires less disk space to store the data row

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

A Non-Unique Primary Index (NUPI) can group rows with the same index value on the same AMP, which makes query access, aggregations, and joins on those columns highly effective, despite not guaranteeing uniform distribution.

Multiple choice technology databases
  1. 1 AMP

  2. Multi - AMP

  3. 2 -AMP

  4. All-AMP

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

A Unique Secondary Index (USI) value is hashed to determine which AMP contains the index subtable. Since USI enforces uniqueness, Teradata distributes USI rows across exactly 2 AMPs (one for the index, one as backup) to ensure single-AMP access during joins. This is more efficient than all-AMP or multi-AMP access, but more redundancy than 1-AMP.