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
-
SQL assistant
-
BTEQ
-
PMON
-
Statistics wizard
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.
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.
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.
-
Fastload
-
MultiLoad
-
FastExport
-
TPUMP
B
Correct answer
Explanation
MultiLoad is designed for loading data into already populated tables (UPDATE/INSERT/DELETE operations). FastLoad is for empty tables only, FastExport is for extracting data, and TPUMP is for real-time trickle feed.
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.
C
Correct answer
Explanation
Teradata MultiLoad supports loading, inserting, updating, or deleting data in up to 5 target tables within a single MultiLoad utility execution job, which helps optimize resource consumption.
-
BTEQ
-
TDQM
-
Teradata SQL Assistant
-
Teradata Manager
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.
-
BTEQ
-
Archive Recovery
-
Table rebuild
-
FastLoad
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.
-
Based on the secondary unique index
-
Based on the Primary key of the table
-
Based on the Primary Index of the table
-
Based on the partitioning column
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.
-
Multiload
-
BulkLoad
-
TPUMP
-
FastLoad
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.
-
compare performance of multiple workloads
-
recommend secondary indexes for a table
-
recommend primay indexes for a table
-
compare primay and secondary indexes for a table
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.
-
Shared nothing
-
Shared memory
-
Shared everything
-
shared data
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.
-
A Non Unique primary index may be more effective for query access and joins
-
A NUPI query simplifies the optimization process in the PE
-
A NUPI provides better data distribution
-
A NUPI requires less disk space to store the data row
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.
-
1 AMP
-
Multi - AMP
-
2 -AMP
-
All-AMP
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.