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
  1. WSS can have indexer and Query server role on the different machines

  2. WSS uses both indexer and Query server role on the same machine

  3. WSS has the ability to index only local content which is stored in Content DB

  4. WSS has the ability to index content stored on external data source such as File Share, Lotus Notes

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

WSS 3.0 (Windows SharePoint Services) has search limitations compared to MOSS: (B) It runs both indexer and query roles on the same machine (cannot separate them), and (C) It can only index local content stored in the Content Database. It cannot index external sources like file shares or Lotus Notes (that requires MOSS).

Multiple choice technology databases
  1. Index

  2. Cluster

  3. Package

  4. DB links

  5. Function

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

DDL triggers fire when CREATE, ALTER, or DROP commands execute. Index, Package, and Function creation all trigger DDL events. Clusters (B) are schema objects but don't typically fire DDL triggers in most database systems. Database links (D) are created with CREATE DATABASE LINK but are not always caught by DDL triggers depending on the DB system.

Multiple choice technology
  1. SQL Management

  2. Procman

  3. IIS

  4. notepad

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

W3 service is specifically part of IIS, handling web publishing and HTTP requests. This core service enables web server functionality and is distinct from other system management tools.

Multiple choice technology
  1. No

  2. Yes

  3. Sometimes

  4. Definitely

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

Replication and mirroring are critical for SQL Server as they provide data redundancy, high availability, and disaster recovery capabilities. 'Yes' and 'Definitely' both affirm the importance, though they differ in emphasis. 'No' and 'Sometimes' are incorrect because these are standard best practices for production SQL Server environments to prevent data loss and minimize downtime.

Multiple choice technology web 2.0
  1. dbopen("localhost");

  2. mysql_open("localhost");

  3. mysql_connect("localhost")

  4. connect_mysql("localhost");

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

The correct way to connect to a MySQL database in PHP uses the mysql_connect() function. Option A's dbopen() doesn't exist, option B's mysql_open() is not a standard PHP function, and option D's connect_mysql() is also not a valid function.

Multiple choice technology programming languages
  1. Set dbMyDB = OpenDatabase

  2. Set dbMyDB = OpenDatabase("MyDatabase.mdb")

  3. dbMyDB = OpenDatabase("MyDatabase.mdb")

  4. None of these

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

To open a database in VB, you need to use Set dbMyDB = OpenDatabase("MyDatabase.mdb") with both the Set statement and the database path parameter. The Set statement is required for object variables.

Multiple choice technology databases
  1. AMP

  2. MPL

  3. PE

  4. VDisk

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

In Teradata architecture, the Message Protection Layer (MPL) is responsible for transferring messages between components. AMPs handle data storage and retrieval, PEs parse SQL, and VDisks are virtual storage units. Only MPL specifically handles message transfer.

Multiple choice technology databases
  1. Maintained by RDBMS

  2. Partially maintained users

  3. Accessed via teradata supplied views

  4. Distributed across all AMPs

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

Teradata's Data Dictionary is automatically maintained by the RDBMS (not users), is accessed through system-provided views, and is distributed across all AMPs. Option B correctly identifies that users do NOT maintain the DD - the system handles it automatically.

Multiple choice technology databases
  1. PE

  2. AMP

  3. BYNET

  4. PDE

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

BYNET (Byte-wise Network) is Teradata's interconnect that facilitates communication between AMPs and PEs. It can be implemented as physical hardware (BYNET hardware in larger systems) or as software (virtual BYNET in SMP systems). PE (Parsing Engine) and AMP (Access Module Processor) are purely software components running on nodes, while PDE (Parallel Database Extensions) is the database software layer.

Multiple choice technology
  1. Standered java interface for accesing hetrogeneous databases.

  2. Standered Oracle interface for accesing hetrogeneous databases.

  3. Standered Mainframe interface for accesing hetrogeneous databases

  4. None

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

JDBC (Java Database Connectivity) is the standard Java API that provides a database-independent connectivity mechanism between Java applications and heterogeneous databases. It is a Java-specific interface, not tied to Oracle or mainframe systems. The option correctly identifies it as a Java interface, despite spelling errors in the option text.

Multiple choice technology
  1. on the services>JDBC>Multipool connection

  2. on the services>JDBC>connectionpools

  3. on the services>JMS>Services.

  4. None

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

To monitor JDBC connection pool status, navigate to Services > JDBC > Connection Pools in the Administration Console. This section shows all configured JDBC connection pools with their runtime statistics including active connections, available connections, waiting threads, and throughput metrics. Option B shows the correct navigation path.

Multiple choice technology
  1. Oracle

  2. DB2

  3. Microsoft SQL Server, JDBC-compliant databases

  4. All

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

BEA WebLogic Server supports all major database platforms listed: Oracle, DB2, and Microsoft SQL Server along with other JDBC-compliant databases. This broad database compatibility is a key feature of WebLogic, making it suitable for enterprise applications that need to work with different database backends. Options A, B, and C each correctly identify supported databases but are incomplete because they don't acknowledge WebLogic's comprehensive database support.

Multiple choice technology
  1. Runner Engine

  2. Runner SQL

  3. TMFCentral

  4. TMFFile

  5. Session Simulator

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

TMFCentral server maintains comprehensive runner alarm information. This central server aggregates and stores all alarm data from the runner infrastructure, serving as the primary source for alarm-related queries and monitoring.

Multiple choice technology web technology
  1. RDBMS

  2. LDAP

  3. XML/Flat files

  4. All of them

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

The Data Access Object design pattern abstracts and encapsulates all database access details. It is data-source independent and can isolate connections to Relational Databases (RDBMS), directory services (LDAP), or file-based formats (XML and flat files), making the selection of all options correct.