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

Multiple choice technology databases
  1. Intermediate level

  2. Header level

  3. Data level

  4. Binary level

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. View

  2. Index

  3. Default

  4. Extended stored procedure

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. allow updates to system tables

  2. locking

  3. Setup

  4. no of lock

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Sensitive

  2. Forward

  3. Fetch

  4. Position

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. WebLogic Application Server 9.x, 10.x

  2. Apache Tomcat Web server 5.5x or higher

  3. IBM WebSphere Application Server 5.1, 6.1

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Standalone

  2. Server Farm

  3. Standalone & Server Farm

  4. None of the above

Reveal answer Fill a bubble to check yourself
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).

Multiple choice technology testing
  1. As a lookup field in list column

  2. Can be derived programmatically

  3. As a lookup field in list column & Can be derived programmatically

  4. Not supported by SharePoint

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. C:\inetpub

  2. C:\inetpub\wwwroot\wss\VirtualDirectories

  3. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12

  4. As per user’s convenience.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. Cookies

  2. A query String

  3. A URL

  4. A javascript function

  5. A hidden form field

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. In Cache

  2. In Cookies

  3. In A Global Variable

  4. In URL

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. J2EE

  2. WPF

  3. WCF

  4. Silverlight

  5. ASP.NET

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. DataContractSerializer

  2. XMLSerializer

  3. DataContractFormatter

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.