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
-
Different users with the same Responsibility may see different data on the same view
-
View access for a Responsibility in one Organization will be different in another Organization
-
Users see data based on Responsibility, ID, and Position
-
Users with different view access cannot view the same data
A
Correct answer
Explanation
In Siebel's access control model, users with the same Responsibility can see different data on the same view due to visibility controls like organization-based access, position-based filtering, and access groups. View access is consistent across organizations for a given responsibility (B is false), visibility is not determined by Responsibility + ID + Position combination (C is wrong), and users with different access levels CAN view the same data if they have appropriate permissions (D is false).
-
JDBC is an API to connect to relational-, object- and XML data sources
-
JDBC stands for Java DataBase Connectivity
-
JDBC is an API to access relational databases, spreadsheets and flat files
-
JDBC is an API to bridge the object-relational mismatch between OO programs and relational
B,C
Correct answer
Explanation
JDBC stands for Java Database Connectivity and provides standard API access to relational databases, flat files, and spreadsheets. It does not natively bridge the object-relational mismatch (unlike ORM tools like Hibernate) or target XML databases directly.
-
Type 4 driver
-
Type 3 driver
-
Type 2 driver
-
Type 1 driver
D
Correct answer
Explanation
Type 1 JDBC drivers, also known as the JDBC-ODBC bridge, translate JDBC API calls into ODBC driver calls, relying on native ODBC libraries on the client machine.
-
Knowledge
-
Data
-
Wisdom
-
Information
C
Correct answer
Explanation
The DIKW hierarchy consists of Data, Information, Knowledge, and Wisdom. Tools can effectively store and manage data, information, and even knowledge through databases and knowledge management systems. However, wisdom represents the ability to apply knowledge judiciously in context - it's inherently human and cannot be captured by tools.
-
Wisdom - Information - Data - Knowledge
-
Knowledge - Wisdom - Information - Data
-
Data - Information - Knowledge - Wisdom
-
Information - Data - Knowledge - Wisdom
C
Correct answer
Explanation
The DIKW (Data-Information-Knowledge-Wisdom) hierarchy represents how understanding develops progressively. Raw data becomes meaningful information, information is contextualized into knowledge, and knowledge is applied to gain wisdom for decision-making.
-
Index Partitioning
-
Range Partitioning
-
Rowid Partitioning
-
List Partitioning
-
Hash Partitioning
-
Composite Range Hash Partitioning
B,D,E,F
Correct answer
Explanation
Oracle supports multiple table partitioning strategies: Range (by value ranges), List (by explicit value lists), Hash (for even distribution), and Composite (combining methods). Index partitioning is separate, and Rowid partitioning isn't a standard partitioning type.
-
sp_helpserver
-
sp_configure
-
sp_helpdb
-
sp_get_serverinfo
B
Correct answer
Explanation
sp_configure is the correct system stored procedure to view and modify SQL Server-level configuration parameters and properties. It displays or changes server configuration options. sp_helpserver shows server information, sp_helpdb is for database details, and sp_get_serverinfo doesn't exist.
-
sys.dm_os_schedulers
-
sys.dm_exec_requests
-
sys.dm_db_index_physical_stats
-
sys.dm_db_index_usage_stats
C
Correct answer
Explanation
sys.dm_db_index_physical_stats is the Dynamic Management View (DMV) specifically designed to return size and fragmentation information for indexes. It provides details like page count, average fragmentation percentage, and record count. sys.dm_os_schedulers is for OS schedulers, sys.dm_exec_requests shows executing requests, and sys.dm_db_index_usage_stats tracks index usage statistics.
-
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.
-
Atomicity,Concurrently,Isolation,Durability
-
Atomicity,Consistency,Incremental,Durability
-
Atomicity,Consistency,Isolation and Durability
-
Atomicity,Concurrently,Incremental,Durability
C
Correct answer
Explanation
The acronym ACID stands for Atomicity, Consistency, Isolation, and Durability, which are the standard set of properties that guarantee reliable transaction processing in database systems.