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
-
Intermediate level
-
Header level
-
Data level
-
Binary level
A
Correct answer
Explanation
SQL Server indexes use a B-tree structure with multiple levels: the root level at the top, intermediate levels that branch between root and leaves, and the leaf level containing actual data or data pointers. 'Intermediate level' is the correct structural term for non-leaf levels between root and leaf.
-
View
-
Index
-
Default
-
Extended stored procedure
B
Correct answer
Explanation
Stored procedures can execute DDL commands and create various database objects. While stored procedures can technically create views, defaults, and extended procedures, creating indexes within stored procedures is particularly common for maintenance tasks, performance optimization, and automated index management operations.
-
allow updates to system tables
-
locking
-
Setup
-
no of lock
A
Correct answer
Explanation
sp_configure 'allow updates' was a valid configuration parameter in older SQL Server versions, controlling whether users could directly update system tables. This option has been deprecated and removed in modern SQL Server versions for security reasons. The other options (locking, Setup, no of lock) are not valid sp_configure parameter names.
-
Sensitive
-
Forward
-
Fetch
-
Position
D
Correct answer
Explanation
In Sybase cursor declarations, valid keywords and attributes include SENSITIVE (for sensitive cursors that reflect changes), FORWARD (for forward-only cursors), and FETCH (the operation to retrieve rows). 'Position' is not a cursor keyword or attribute - while you can fetch at specific positions, there is no 'POSITION' keyword in cursor syntax. Cursors have attributes like SCROLL, INSENSITIVE, and FORWARD_ONLY.
-
TRUNCATE
-
DELETE
-
DELETE ALL
-
REMOVE
B
Correct answer
Explanation
DELETE is a logged operation that can be rolled back because it writes entries to the transaction log. TRUNCATE is minimally logged and cannot be rolled back. DELETE ALL and REMOVE are not standard SQL commands.
C
Correct answer
Explanation
A many-to-many relationship requires three tables: two entity tables plus a junction table that stores foreign key references to both. This intermediate table breaks the M:M relationship into two 1:M relationships.
-
WebLogic Application Server 9.x, 10.x
-
Apache Tomcat Web server 5.5x or higher
-
IBM WebSphere Application Server 5.1, 6.1
-
All of the above
D
Correct answer
Explanation
Oracle Adaptive Risk Manager is certified to run on multiple application servers including Oracle WebLogic, Apache Tomcat, and IBM WebSphere, providing deployment flexibility across different Java EE environments.
-
Standalone
-
Server Farm
-
Standalone & Server Farm
-
None of the above
C
Correct answer
Explanation
SharePoint supports two primary deployment configurations: Standalone (where all components and a basic database reside on a single machine) and Server Farm (which allows databases, application servers, and web front-ends to scale across multiple servers).
-
As a lookup field in list column
-
Can be derived programmatically
-
As a lookup field in list column & Can be derived programmatically
-
Not supported by SharePoint
C
Correct answer
Explanation
List data in SharePoint can be reused in two primary ways: as a lookup field in another list column, and programmatically through the object model or APIs. Lookup fields create relationships between lists, while programmatic access allows custom solutions to retrieve and manipulate list data. Options A and B are each partially correct, making C the complete answer.
-
C:\inetpub
-
C:\inetpub\wwwroot\wss\VirtualDirectories
-
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12
-
As per user’s convenience.
B
Correct answer
Explanation
In Microsoft SharePoint (specifically older versions like SharePoint 2007), when a new Web Application is provisioned, IIS virtual directory folders and configurations are created by default under the C:\inetpub\wwwroot\wss\VirtualDirectories folder path.
-
Cookies
-
A query String
-
A URL
-
A javascript function
-
A hidden form field
E
Correct answer
Explanation
Hidden form fields are ideal for storing small amounts of frequently changing page-specific data when security isn't a concern, as they persist with the page and form without the size limitations of cookies or URL complexity. Cookies have size limits (~4KB) and are sent with every HTTP request, while query strings and URLs are visible in the address bar and limited in length.
-
In Cache
-
In Cookies
-
In A Global Variable
-
In URL
B
Correct answer
Explanation
ASP.NET stores SessionIDs in cookies by default, using a non-persistent cookie named ASP.NET_SessionId that identifies the user session across requests. The SessionID can be stored in the URL if cookieless sessions are configured, but cookies are the standard default mechanism.
B
Correct answer
Explanation
ASP.NET 2.0 includes the Cassini web server (WebDev.WebServer.exe) which allows development without IIS installed. You can build and test ASP.NET applications using only the built-in development web server, though IIS is required for production deployment.
-
J2EE
-
WPF
-
WCF
-
Silverlight
-
ASP.NET
A,C,E
Correct answer
Explanation
J2EE (Java Enterprise Edition) provides comprehensive support for developing web services through JAX-WS and JAX-RS APIs. WCF (Windows Communication Foundation) is Microsoft's unified framework for building service-oriented applications and web services. ASP.NET supports web services through ASMX (legacy) and Web API (modern) technologies. WPF and Silverlight are client-side UI frameworks for desktop and browser-based applications respectively - they consume web services but are not used to build them.
-
DataContractSerializer
-
XMLSerializer
-
DataContractFormatter
-
None of the above
A
Correct answer
Explanation
DataContractSerializer is the default serializer used by WCF to translate .NET objects into XML. XmlSerializer is an alternative that must be explicitly opted into, while DataContractFormatter is not a standard standalone serializer class.