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. SQL Server Browser

  2. SQL Server Integration Services

  3. SQL Server Full-Text Search

  4. SQL Server Agent

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

SQL Server Agent is a Windows service that depends on the SQL Server service to be running. It executes scheduled jobs, alerts, and automated tasks. The other services (Browser, Integration Services, Full-Text Search) can run independently or don't have the same dependency relationship.

Multiple choice technology databases
  1. Simple

  2. Full

  3. T-log

  4. Bulk-Logged

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

SQL Server has exactly three recovery models: Simple (no log backups, minimal logging), Full (complete transaction logging, requires log backups), and Bulk-Logged (minimal logging for bulk operations, still point-in-time recovery). T-log is not a recovery model - it's shorthand for transaction log, which is a file, not a recovery model.

Multiple choice technology databases
  1. 1441

  2. 25

  3. 8000

  4. 1433

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

SQL Server's default TCP port is 1433 for the default instance. This is the well-known port used by SQL Server clients to connect. Port 1441 is incorrect (off by 8), 25 is SMTP, and 8000 is commonly used for web servers or alternate applications.

Multiple choice technology databases
  1. Transactional

  2. Snapshot

  3. Mirroring

  4. Merge

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

SQL Server supports three main replication types: Transactional replication (changes propagated immediately), Snapshot replication (periodic full data refresh), and Merge replication (bi-directional, allows autonomous changes). Mirroring is a high-availability technology, not a replication method.

Multiple choice technology databases
  1. Select * from sys.servers

  2. sp_get_serverinfo

  3. select @@version

  4. sp_serverproperty

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

The @@version global variable returns complete version information including edition, product level (RTM, SP, CTP), and build number. The other options are either non-existent stored procedures or return server configuration rather than version details.

Multiple choice technology
  1. OLAP tool

  2. ETL tool

  3. Reporting tool

  4. None of the above

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

Business Objects is primarily an OLAP (Online Analytical Processing) tool designed for multidimensional analysis, interactive reporting, and ad-hoc querying of data warehouses. It is NOT an ETL tool (that's Data Integrator) and while it produces reports, 'Reporting tool' is too narrow - OLAP captures its analytical capabilities better.

Multiple choice technology web technology
  1. TRAQProxy

  2. TRAQSolution

  3. TRAQModel

  4. TRAQCommon

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

TRAQCommon is the module that handles all database transactions including stored procedure calls and data mapping operations. This module provides a centralized data access layer, abstracting database interactions from the rest of the application and maintaining consistency in data operations.

Multiple choice technology web technology
  1. C#, SQL 2005

  2. VB.Net SQL 2000

  3. C#, SQL 2000

  4. VB.Net SQL 2005

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

The TRAQ project is built using C# as the programming language with SQL Server 2005 as the database backend. This technology stack was commonly used in mid-2000s enterprise applications, combining the object-oriented capabilities of C# with the robust data management of SQL Server 2005.

Multiple choice technology web technology
  1. SecurityInfo

  2. LoginInfo

  3. SecurityDefinition

  4. UserInfo

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

The SecurityDefinition table contains authorization information for all users in the system. This table stores user roles, permissions, and access rights, serving as the central repository for security and authorization data that determines what each user can access and perform within the application.

Multiple choice technology web technology
  1. Static Table

  2. Partition Table

  3. In-Memory Cache Table

  4. Hash Tables

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

Partition tables allow a single logical table to be divided into physical segments that can be stored separately. This feature is commonly used in multi-tenant applications where different users' data needs to be isolated while maintaining a single table structure. Static tables store data without segmentation, in-memory cache tables optimize read performance, and hash tables use a different indexing mechanism altogether.

Multiple choice technology web technology
  1. Logging in Text Files on Web Server

  2. Logging in database ErrorLog Table

  3. Both A & B

  4. Logging in App Server in Service Code

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

The TRAQ application implements error logging by writing error details to text files stored on the web server. This is a common logging approach that provides persistence without requiring database connectivity during error scenarios. While database logging offers better querying capabilities, file-based logging ensures errors are captured even when database connections fail. Option C suggests both methods are used, but the question specifically asks for the primary method.

Multiple choice technology web technology
  1. SQL 2000

  2. SQL 2005

  3. SQL 2008

  4. SQL 2010

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

SQL Server 2005 was the database version used in the TRAQ application. This version introduced significant features including database mirroring, snapshot isolation, and enhanced security features compared to SQL 2000. SQL Server 2008 came later with additional improvements, and SQL Server 2010 does not exist as a version (the progression was 2008, 2012, etc.).