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
-
Enable IBM Tivoli Identity Manager server-side sorting.
-
Limit the number of attributes returned by the adapter and processed by IBM Tivoli Identity Manager.
-
Decrease the default maximum duration as specified in the reconciliation schedule.
-
Decrease the SearchALUnusedTimeout configuration parameter in the RMI Dispatcher.
B
Correct answer
Explanation
Limiting attributes returned by the adapter reduces processing overhead and improves performance. Server-side sorting is not a performance lever for reconciliation. Decreasing duration might cause incomplete reconciliations. SearchALUnusedTimeout is unrelated to this performance issue.
-
All DDL statements
-
All DML statements
-
SPs, functions and triggers
-
DDL & DML
C
Correct answer
Explanation
Database unit tests in VSTT are designed to test programmable database objects like Stored Procedures (SPs), functions, and triggers because these contain business logic that can be validated through testing. DDL statements (CREATE, ALTER, DROP) define database structure and are typically tested through integration or schema tests, while DML statements (INSERT, UPDATE, DELETE) are data operations that are better tested at a higher level.
-
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.
-
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.
D
Correct answer
Explanation
LINQ (Language Integrated Query) is the unified programming model for querying objects, databases, and XML in .NET. The other options are Microsoft code names: Rosario (future Team System), Orcas (VS 2008), Yukon (SQL Server 2005). Only LINQ is the actual technology name for query integration across data sources.
-
Native Integration
-
Universal Installation Option Integration
-
Access Management Integration
-
SAML Integration
A,B,C,D
Correct answer
Explanation
Oracle Adaptive Access Manager supports multiple integration patterns: Native (direct SDK integration), Universal Installation Option (drop-in authentication), Access Management Integration (with Oracle Access Manager), and SAML Integration (federated identity).
-
Oracle Database
-
SQL Server
-
None
-
Both
D
Correct answer
Explanation
Oracle Adaptive Access Manager supports database schemas for both Oracle Database and Microsoft SQL Server, allowing organizations to choose their preferred database platform for deployment.
-
.Net Framework
-
SQL Server
-
Server OS
-
All the Above
D
Correct answer
Explanation
SharePoint requires all three components: .NET Framework for the application runtime, SQL Server for the content database, and a Windows Server operating system as it cannot run on client Windows versions.
-
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.
-
DTD
-
JDBC Connection
-
SQL Variant to generate
-
Mapping files
-
Size of the database
A,B,C,D
Correct answer
Explanation
hibernate.cfg.xml configures DTD references, JDBC connection settings (url, driver, credentials), the SQL Dialect, and mapping files. It does not contain tags specifying the physical size of the database on disk.
-
Create HQL Query
-
Execute query to get list containing Java objects
-
Load the Hibernate configuration file and create configuration object
-
Create session from configuration object
-
Get one session from the session factory
-
Changeset
-
Check-in
-
Shelveset
-
None of the above
C
Correct answer
Explanation
A shelveset in TFS allows you to store your pending changes on the server without committing them to the source control repository. This is useful for: (1) saving work-in-progress to share with others for code review, (2) switching to another task, or (3) getting a clean workspace for build. Changesets are permanent commits, and check-ins finalize changes.
-
PICTURE
-
ON OVERFLOW
-
VALUE
-
USAGE
B
Correct answer
Explanation
ON OVERFLOW is an exception handling clause used in procedure division statements like ARITHMETIC verbs, not in data item definitions. PICTURE, VALUE, and USAGE are all valid data clause definitions in the DATA DIVISION.