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
-
ADO
-
CLR
-
MTS
-
COM+
-
COM/DCOM
E
Correct answer
Explanation
COM+ provides enterprise services like transactions, object pooling, and role-based security for .NET components through ServicedComponent. ADO is for data access, CLR is the runtime itself, MTS was the predecessor to COM+, and COM/DCOM is the underlying component technology but COM+ specifically adds these declarative services.
B
Correct answer
Explanation
CIS (Center for Internet Security) provides widely-recognized benchmark standards for securing databases, operating systems, and other IT systems. These are configuration best practices used globally. Option A refers to the CIA triad (security principles), not benchmarks. Option C and D are not recognized standards organizations.
-
memsize
-
arraysize
-
partitionsize
-
transactsize
B
Correct answer
Explanation
In Oracle Enterprise Datastage stages, the arraysize property controls how many rows are fetched in each batch from the database. A larger arraysize reduces network round-trips and improves performance. Options A, C, and D are not valid Oracle read performance tuning properties available through db options.
-
Import using bridges.
-
Import a table definition using the Connector wizard.
-
Import DataStage components.
-
Import a table definition using the Plug-In Meta Data facility.
A
Correct answer
Explanation
Bridges in DataStage are specifically designed translation mechanisms that allow importing metadata from external data modeling tools like Erwin and Rational Data Architect. The Connector wizard and Plug-In Meta Data facility are used for other types of imports, not for translating from external modeling tools.
-
Several levels of component that includes objects and classes
-
Several levels of component that includes objects, classes, systems
-
Several levels of component that includes, foundation components, systems
-
None of the above.
D
Correct answer
Explanation
A hierarchical system is typically defined as a system decomposed into a tree-like structure of nested subsystems and components. None of the options (596829, 596830, 596831) accurately describe this structure, making 'None of the above' (596832) the correct choice.
-
First column of the bad file indicates column -indicator
-
Depends on the session properties set
-
depends on the mappings properties
-
First column of the bad file indicates row -indicator
D
Correct answer
Explanation
The bad file in Informatica captures rows rejected during the ETL process. Its first column serves as a row indicator that identifies why the entire row was rejected (such as data type errors, constraint violations, or truncation). This is distinct from column indicators, which would point to specific problematic column positions within a row. The row indicator helps diagnose the root cause of rejection.
-
Data Services->Data Buffer Entries Tab
-
Data Services->Data Servers Tab
-
Security Services-> Data Access Tab
-
Data Services->SAP Server Editor Tab
B
Correct answer
Explanation
Database connection parameters in MII are configured under Data Services -> Data Servers tab. This is where you define connection strings, drivers, and authentication details for SQL databases. The other tabs serve different purposes (buffer entries, security, SAP server configuration).
-
System.Data
-
System.Data.Dataset
-
System.Data.SQLClient
-
System.Data.Datareader
A,C
Correct answer
Explanation
System.Data is the primary root namespace for ADO.NET database operations, and System.Data.SqlClient (misspelled with capital C in the option) represents the SQL Server data provider namespace. System.Data.DataSet is a class, not a namespace.
-
RowSet
-
DataRelation
-
DataTable X
-
DataSet
-
Recordset
C
Correct answer
Explanation
In ADO.NET, a DataView provides a customizable, filtered, and sorted view of data from a single DataTable. It doesn't wrap a DataSet, RowSet, DataRelation, or Recordset - it specifically works with DataTable contents to create different perspectives of the same data.
-
A DataAdapter object
-
A Command object
-
A DataReader object
-
A Recordset object
-
A Connection object
C
Correct answer
Explanation
DataReader is designed for fast, forward-only, read-only data retrieval - ideal for populating read-only UI controls like dropdowns. It streams data efficiently without caching. DataAdapter fills DataSets, Command executes queries, Connection manages the connection, and Recordset is from classic ADO.
-
dbconnect(“connectivity name”)
-
dbopen(“connectivity name”)
-
Createobject(“connectivity name”)
-
CreateConn("connectivity name")
-
None of the above
C
Correct answer
Explanation
In QTP/UFT and VBScript, you use CreateObject to instantiate database connection objects like ADODB.Connection. For example: Set dbConn = CreateObject("ADODB.Connection"). This creates a COM object that can then connect to databases using connection strings. The other options (dbconnect, dbopen, CreateConn) are not standard VBScript or QTP commands for database connectivity.
-
Pre Recovery Test-Run,Triggered Events, Recovery steps
-
Triggered Events, Error handling step, Recovery steps
-
Pre Recovery Test-Run, Recovery steps, Post Recovery Test-Run
-
Triggered Events, Recovery steps, Post Recovery Test-Run
D
Correct answer
Explanation
A recovery scenario in QTP/UFT is designed to handle unexpected errors during test execution. It consists of three defined components: a trigger event that detects the error, recovery steps to handle the situation, and a post-recovery test run instruction that dictates how the test should proceed after recovery.
-
Checkpoints
-
Test Objects in the Repository
-
DataBase Checkpoints
-
1 & 2
-
1, 2 & 3
E
Correct answer
Explanation
In HP QuickTest Professional (QTP/UFT), parameterization is highly flexible. Test engineers can parameterize checkpoints, database checkpoints, and test objects stored in the object repository to run tests with varying data inputs. Since all three components can be parameterized, the option selecting 1, 2, and 3 is correct.
-
True
-
False
-
No matter
-
None of the above
B
Correct answer
Explanation
Hibernate Session is a non-thread-safe object representing a single database transaction/unit of work and must not be shared. If multiple threads access a session concurrently, it causes race conditions and data corruption. Conversely, SessionFactory is thread-safe and designed for global, multi-threaded use.