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
-
Chain
-
Network
-
Tree
-
Relational
A
Correct answer
Explanation
Chain is a physical storage structure used in older file systems and some database implementations, not a logical database model. The logical database models are Network (many-to-many relationships), Tree/Hierarchical (parent-child relationships), and Relational (tables with keys). Chain describes how data blocks are linked on disk.
-
Indexes
-
Public synonyms
-
Triggers
-
Packages
B
Correct answer
Explanation
Public synonyms are database objects that provide alternative names for tables/views, but they are NOT schema objects themselves. Schema objects are entities contained within a schema like indexes, triggers, packages, tables, and views. Synonyms are pointers/reference objects that exist outside the schema namespace.
-
Disk space associated with an AMP is divided into three areas: system, permanent and spool
-
Parallelism is achieved through operating system time slicing
-
The AMP’s access data from their associated vdisks as required.
-
The PE’s communicate with the AMP’s across the BYNET
C,D
Correct answer
Explanation
Teradata's architecture uses AMPs (Access Module Processors) that each own a portion of data on their associated vdisks - they access this data independently when queries require it. The PEs (Parsing Engines) handle query parsing and send requests to AMPs through the BYNET, which is the high-speed interconnect that enables communication between components. Option A describes disk areas but isn't an architectural attribute, while option B is incorrect because Teradata uses hardware parallelism, not OS time-slicing.
-
Teradata SQL Assistant
-
BTEQ
-
Teradata Manager
-
TDQM
D
Correct answer
Explanation
TDQM (Teradata Database Query Manager) is the component that monitors and limits queries based on defined thresholds for resource usage, run time, and other criteria. Teradata Manager provides administration capabilities, BTEQ is a query utility, and SQL Assistant is a query tool - none of these directly enforce query limits based on thresholds.
-
Temporary space is spool space currently not used
-
Temporary space is permanent space currently not used.
-
Temporary space is subtracted from SysAdmin
-
Temporary space is assigned at the table level.
B
Correct answer
Explanation
In Teradata, temporary space refers to the portion of permanent disk space that is currently allocated but not actively in use - it's the available space within the permanent allocation. Spool space is separate and dynamically allocated during query execution. Temporary space is managed at the database/user level, not the table level, and is tracked by SysAdmin.
-
Customer applications drive the processes.
-
Relational databases are more flexible than other types.
-
Businesses are able to quickly respond to changing conditions
-
It is built to reflect business application models.
B,C
Correct answer
Explanation
Teradata warehouses leverage relational database flexibility to adapt to changing business needs and enable rapid response to market conditions. Customer applications consume data rather than drive processes, and warehouses are designed to reflect the business itself (subject areas) rather than specific application models. Relational databases provide more flexibility than hierarchical or network databases.
-
A primary Index is a physical mechanism.
-
There is a limit to the number of columns in a Primary Index.
-
A Primary Index requires uniqueness
-
A Primary Index value can not be null.
A,B
Correct answer
Explanation
A Primary Index is indeed a physical mechanism used for data distribution and retrieval in Teradata, determining which AMP stores each row. There is a practical limit on the number of columns that can be in a Primary Index (typically around 16 columns depending on the version). However, a Primary Index does not require uniqueness (that would be a UPI), and Primary Index values can be null.
-
Shared everything
-
Shared memory
-
Shared nothing
-
Shared data
C
Correct answer
Explanation
Teradata uses a shared-nothing architecture where each node (AMP) has its own memory and disk storage, with no shared resources between nodes. This is in contrast to shared-everything (like traditional SMP systems), shared-memory architectures, or shared-data designs. Shared-nothing enables linear scalability and high availability by eliminating resource contention.
-
A row is one instance of all columns.
-
Row sequence is specified.
-
Duplicate rows are allowed in a table.
-
Rows can have different formats.
A
Correct answer
Explanation
In relational model concepts, a row (tuple) is a single instance containing data for all defined columns (attributes). Relational tables do not have a defined row sequence, cannot contain duplicate rows, and enforce a uniform schema structure across all rows.
-
A NUPI requires less disk space to store the data row.
-
A NUPI may be more effective for query access and joins.
-
A NUPI query amplifies the optimization process in the PE.
-
A NUPI provides better data distribution
B
Correct answer
Explanation
A Non-Unique Primary Index (NUPI) can be more effective than UPI for query access and joins because it provides better data distribution when the natural key doesn't distribute evenly, and it avoids the overhead of uniqueness enforcement. NUPI requires the same disk space as UPI and provides no better distribution. Option C is nonsensical terminology.
-
BTEQ
-
Teradata SQL Assistant
-
Teradata Manager
-
TDQM
B
Correct answer
Explanation
Teradata SQL Assistant is a query tool that provides ODBC connectivity, allowing access to multiple database systems including Teradata and other RDBMS platforms like Oracle or SQL Server. BTEQ is Teradata-specific, Teradata Manager focuses on administration, and TDQM is for query management - none of these provide multi-database connectivity.
-
Tpump
-
BulKLoad
-
FastLoad
-
MultiLoad
D
Correct answer
Explanation
MultiLoad is designed specifically for performing block-level operations on tables that already contain data (populated tables). Unlike FastLoad which only works on empty tables, MultiLoad can handle insert, update, delete, and upsert operations efficiently in bulk. Tpump is for trickle-feed continuous updates, while BulkLoad is not a standard Teradata utility.
-
All data rows are copied into temporary space
-
Each data block for a table is read
-
Each data row is accessed only one
-
A random set of data blocks for a table is read
B,C
Correct answer
Explanation
A full table scan (FTS) in Teradata requires reading every single data block containing the table's records. During this operation, each row is accessed exactly once to evaluate filter conditions. FTS does not copy rows to temporary space, nor does it read a random subset of blocks.
-
Mature optimizer
-
Industry standard access language(SQL)
-
Concurrent users
-
Parallel architecture
A,D
Correct answer
Explanation
Teradata's primary unique features are its highly mature, cost-based parallel query optimizer and its shared-nothing parallel architecture (AMPs/BYNET). Features like SQL support and concurrent user access are industry-wide database standards and not exclusive to Teradata.
-
Teradata Manager
-
BTEQ
-
Teradata SQL Assistant
-
TDQM
D
Correct answer
Explanation
TDQM (Teradata Query Manager) is the tool used to manage and restrict queries based on defined thresholds such as execution time, resource usage, or other performance criteria. It acts as a governor for query execution. Teradata Manager provides monitoring but not threshold-based restrictions, while BTEQ and SQL Assistant are query tools.