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

Multiple choice technology databases
  1. Define the connection properties to an ODBC data source.

  2. Define columns for the output link.

  3. Specify properties for the input link.

  4. Define columns for the input link data.

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

When using the ODBC connector stage as a target, you must define: (1) connection properties to reach the ODBC data source, (2) input link properties to control how data flows into the stage, and (3) column definitions for the input data to map incoming fields. Output link column definition (Option B) is not required for a target stage since data flows in through the input link, not out.

Multiple choice technology databases
  1. Use import "Oracle Table Definitions" .

  2. Use import "Via bridges".

  3. Use import "Plug-in Meta Data Definitions".

  4. Use import "Orchestrate Schema Definitions" using orchdbutil.

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

The most accurate method is using Orchestrate Schema Definitions via orchdbutil because it directly queries Oracle's system tables to extract precise column definitions, data types, lengths, and constraints. This native Oracle bridge captures metadata more completely than generic importers. Options A, B, and C use higher-level import mechanisms that may lose precision or require additional manual verification.

Multiple choice technology mainframe
  1. A.KILL(Utilityname)

  2. B. TERM(UTILITY NAME)

  3. C.TERM

  4. D.KILL

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

The DB2 command used to cancel or stop a running utility is -TERM UTILITY(utility-id), where TERM is short for terminate. KILL is not a valid DB2 command for terminating utilities, and TERM alone without specifying the utility name or ID is syntactically incomplete.

Multiple choice technology mainframe
  1. A. SELECT * FROM DB2P.SYSIBM.SYSPLANDEP WHERE BCREATOR = 'DBNAME' AND BTYPE = 'T' ORDER BY BNAME, DNAME

  2. B. SELECT BNAME, BQUALIFIER, BTYPE, DCOLLID, DNAME FROM DB2P.SYSIBM.SYSPACKDEP WHERE BQUALIFIER = 'DATABASE NAME' AND BTYPE = 'T' ORDER BY BNAME, DNAME

  3. C. (A) or (B)

  4. D. Neither (A) nor (B)

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

DB2 system catalogs track plan-table dependencies. Both SYSIBM.SYSPLANDEP and SYSIBM.SYSPACKDEP contain this information depending on the DB2 version and configuration, so either query could work depending on your environment.

Multiple choice technology mainframe
  1. A. REPAIR

  2. B. UPDATE

  3. C. LOAD

  4. D. IMAGCOPY

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

In DB2, REPAIR, LOAD, and IMAGCOPY are database-level utilities that require special privileges. UPDATE is a standard DML (Data Manipulation Language) operation that operates on table-level data, not a database administration privilege.

Multiple choice technology databases
  1. Default tablespace for the user

  2. Oracle will give an error

  3. System tablespace

  4. Users tablespace

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

Oracle automatically stores a user's objects in their default tablespace when no TABLESPACE clause is specified. This default tablespace is assigned when the user is created. The SYSTEM tablespace is reserved for data dictionary objects, and user objects are not stored there by default.