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

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. Teradata Manager

  2. TDQM

  3. BTEQ

  4. QueryMan

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

TDQM (Teradata Query Management) is the component that enforces query limits based on predefined thresholds for resource usage. Teradata Manager is an administrative tool but does not directly limit queries. BTEQ is a query utility, and QueryMan is a legacy query interface.

Multiple choice technology databases
  1. True

  2. False

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

In DataStage Oracle OCI stage, the Array Size property controls the number of rows written in each batch to the database. Increasing this value reduces network round trips between DataStage and Oracle by buffering more rows before sending them, which significantly improves write performance for bulk operations. This is a performance tuning technique specifically for write operations, not reads.

Multiple choice technology
  1. TC_CONTINUE_TRANSACTION

  2. TC_STOP_TRANSACTION

  3. TC_COMMIT_BEFORE

  4. TC_ROLLBACK_BEFORE

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

Informatica provides transaction control variables for managing session commits. TC_CONTINUE_TRANSACTION keeps the transaction open, TC_COMMIT_BEFORE commits before processing, and TC_ROLLBACK_BEFORE rolls back before processing. TC_STOP_TRANSACTION is not a valid transaction control variable - the correct options for stopping are handled through transaction settings or workflow conditions, not this variable name.

Multiple choice technology
  1. A deleted object can be recovered and reused in future

  2. A purged object can be recovered and reused in future

  3. A deleted object cannot be recovered and reused in future

  4. A purged object cannot be recovered and reused in future

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

In Informatica repository, Delete moves objects to the recycle bin from where they can be recovered and restored. Purge permanently removes objects from the repository with no recovery option. The distinction is important for version control - deleted objects remain recoverable until purged, while purged objects are completely gone and cannot be reused.

Multiple choice technology
  1. ODBO

  2. TM1

  3. ODBC

  4. Text

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

Turbo Integrator uses ODBC (Open Database Connectivity) as the standard data source type for connecting to external databases. ODBC is a widely-accepted standard for database connectivity that provides a consistent interface across different database systems. Option A (ODBO) is a related but different standard for OLAP databases. Option B (TM1) is the application itself, not a data source type. Option D (Text) refers to flat file sources, not databases.

Multiple choice technology databases
  1. Identifies Data producer to Data Consumer

  2. Identifies Data Consumer to Producer .

  3. Communication between data producer and Data consumers

  4. None

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

Subject-based addressing in messaging systems routes messages based on a topic or subject line rather than explicit source or destination addresses. This facilitates decoupled communication between data producers and data consumers. Other options are incorrect because they imply direct identification or addressing between specific producers and consumers.

Multiple choice technology databases
  1. memsize

  2. arraysize

  3. partitionsize

  4. transactsize

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

The 'arraysize' property controls how many rows are fetched per network round-trip when reading from Oracle, which significantly impacts performance. Setting a larger array size reduces network overhead but uses more memory. The 'memsize' property is not a standard Oracle Enterprise stage property, 'partitionsize' is not applicable to Oracle reads, and 'transactsize' relates to write operations not reads.

Multiple choice technology databases
  1. Import using bridges.

  2. Import a table definition using the Connector wizard.

  3. Import DataStage components.

  4. Import a table definition using the Plug-In Meta Data facility.

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

In IBM InfoSphere DataStage, importing metadata from third-party data modeling tools (such as CA Erwin or Rational Data Architect) is achieved via the Meta Integration Model Bridges (MIMB), represented by importing using bridges.