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

  2. Analytical processing

  3. Merge

  4. Snapshot

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

Transactional replication is the correct answer because BlackBerry Enterprise Solution uses transactional replication to ensure data consistency across the database infrastructure. This type of replication replicates data transactions in real-time, which is essential for an enterprise messaging system where data integrity and synchronization are critical. Analytical processing is not a replication type, while merge and snapshot replication are less suitable for real-time enterprise messaging systems.

Multiple choice technology databases
  1. 48 hours

  2. 2 day

  3. 24 hours

  4. 4 hours

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

24 hours is correct because the BlackBerry State Database (BBSD.nsf) is programmatically configured to be deleted after 24 hours as part of automated maintenance and cleanup routines. This prevents the accumulation of stale state data and helps maintain database performance. The 24-hour window is a standard retention period for temporary state information in the BlackBerry infrastructure.

Multiple choice technology databases
  1. BBprofile.nsf

  2. Steadystate.nsf

  3. BBSD.nsf

  4. none

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

BBprofile.nsf is correct because this database file stores information about emails sent to the handheld device and is unique for each user in the BlackBerry system. The BBprofile.nsf file maintains user-specific profile data and message tracking information. Steadystate.nsf and BBSD.nsf serve different purposes (state database and other functions), making BBprofile.nsf the correct answer.

Multiple choice technology databases
  1. MS SQL

  2. Oracle

  3. SAP

  4. none of the above

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

The Microsoft BlackBerry Enterprise Server (BES) configuration database is natively created on MS SQL Server (including MSDE/SQL Server Express). Oracle and SAP are not the default database platforms used for BES configuration storage.

Multiple choice technology databases
  1. One

  2. Two

  3. One domino and One SQL

  4. none

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

The BlackBerry Enterprise Server architecture supports a single cluster setup for high availability and load balancing. While multiple servers can exist within that cluster, the fundamental design limits configuration to one cluster per BES deployment. This architectural constraint ensures stable and predictable server communication.

Multiple choice technology databases
  1. Library Cache

  2. Data Buffer Cache

  3. Data Dictionary Cache

  4. SQL buffer cache

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

The Shared Pool in Oracle SGA contains the Library Cache (which stores parsed SQL statements and PL/SQL code) and Data Dictionary Cache (which stores data dictionary rows). Data Buffer Cache is a separate SGA component used for caching data blocks from disk, not part of Shared Pool. SQL buffer cache is not a standard Oracle memory component.

Multiple choice technology databases
  1. Shared Pool

  2. Java Pool

  3. Large Pool

  4. Big Pool

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

RMAN (Recovery Manager) uses the Large Pool for memory-intensive operations like backups and recovery. The Large Pool is designed for large memory allocations that don't compete with the Shared Pool, preventing performance degradation during RMAN operations. Shared Pool and Java Pool serve different purposes.

Multiple choice technology web technology
  1. When you want to protect the data from outside attacks

  2. When there are users accessing the same data simultaneously

  3. When there is a chance for database to go down

  4. When database maintenance is going on

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

Database locks are used to manage concurrent access and maintain data integrity when multiple users try to access the same data simultaneously. Locks prevent conflicts like lost updates or inconsistent reads by serializing access to shared resources. They're not meant for security (protecting from attacks) or system maintenance.

Multiple choice technology web technology
  1. mysql con=new mysql("Connection string")

  2. mysql("database name");

  3. mysql_connect("database name")

  4. mysql_connect("database",username,password)

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

The correct syntax is mysql_connect() with three parameters: server hostname, username, and password. Option D shows the correct parameter order, though the database name is actually a fourth optional parameter. Options A and B use incorrect syntax, while option C is missing the required connection parameters.

Multiple choice technology
  1. the TEMS logs

  2. the WAREHOUSELOG table

  3. the Summarization & Pruning Agent java logs

  4. the Warehouse Proxy Agent ODBC data source logs

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

The WAREHOUSELOG table in the Tivoli Data Warehouse logs detailed information about export operations, including success counts and failure reasons like ODBC errors or timeouts. This is the definitive source for export statistics.

Multiple choice technology
  1. Scan

  2. Sort

  3. Rollup

  4. Aggregate

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

Scan is used to produce intermediate summary records because it can read all input records and generate summary output without requiring grouping or aggregation logic. Sort is for ordering, Rollup is for grouped summaries, and Aggregate is for similar grouped operations - Scan is the appropriate choice for simple intermediate summaries.

Multiple choice technology
  1. account details

  2. transaction details

  3. Personal details

  4. both a&c

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

Demographic files contain personal information about individuals such as name, address, age, gender, and contact details. Account details and transaction details are stored in separate financial systems and databases, not in demographic files. Option D is incorrect because account details are not demographic data.