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
-
SQL Server Browser
-
SQL Server Integration Services
-
SQL Server Full-Text Search
-
SQL Server Agent
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.
-
Simple
-
Full
-
T-log
-
Bulk-Logged
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.
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.
-
Transactional
-
Snapshot
-
Mirroring
-
Merge
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.
-
SQL Mail
-
Server Mail Utility
-
Database Mail
-
Mail Forms
C
Correct answer
Explanation
Database Mail is the correct component for sending emails in SQL Server 2005 and later versions. SQL Mail was the older technology (SQL 2000 era) but required a MAPI client and was less reliable. Database Mail uses SMTP and is the recommended approach.
-
Select * from sys.servers
-
sp_get_serverinfo
-
select @@version
-
sp_serverproperty
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.
A
Correct answer
Explanation
Business Objects maintains repository databases that store universe metadata, security, and audit information. Built-in audit databases track user activity, report usage, and system events for compliance and governance reporting. This is a core BO feature.
-
OLAP tool
-
ETL tool
-
Reporting tool
-
None of the above
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.
-
TRAQProxy
-
TRAQSolution
-
TRAQModel
-
TRAQCommon
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.
-
C#, SQL 2005
-
VB.Net SQL 2000
-
C#, SQL 2000
-
VB.Net SQL 2005
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.
-
SecurityInfo
-
LoginInfo
-
SecurityDefinition
-
UserInfo
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.
-
Static Table
-
Partition Table
-
In-Memory Cache Table
-
Hash Tables
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.
-
Logging in Text Files on Web Server
-
Logging in database ErrorLog Table
-
Both A & B
-
Logging in App Server in Service Code
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.
-
SQL 2000
-
SQL 2005
-
SQL 2008
-
SQL 2010
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.).