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
-
ACQUIRE(USE)
-
ACQUIRE(ALLOCATE)
-
RELEASE(COMMIT)
-
RELEASE(DEALLOCATE)
B
Correct answer
Explanation
ACQUIRE(ALLOCATE) is the DB2 bind option that opens all tablespaces and acquires all tablespace locks when the plan is allocated (at allocation time). ACQUIRE(USE) would acquire locks only when needed, and RELEASE options control when locks are released, not when they're acquired.
-
MERGE
-
COPY
-
REORG
-
RUNSTATS
D
Correct answer
Explanation
RUNSTATS is the DB2 utility that collects statistical information about table and index data, then updates the system catalog. MERGE is for merging data, COPY is for backup, and REORG is for reorganizing data.
-
Simple Tablespace
-
Partitioned Tablespace
-
Complex Tablespace
-
Segmented Tablespace
D
Correct answer
Explanation
Segmented tablespaces organize space into segments that can be efficiently reused when tables are dropped, requiring minimal reorganization. Simple, Partitioned, and Complex tablespaces do not offer this same level of space reclamation efficiency.
B
Correct answer
Explanation
In DB2, partitioned tablespaces allow database administrators to perform utility operations, such as recoveries and reorganizations, independently on individual partitions. This improves performance and availability, meaning they do not need to process the entire tablespace at once, making the statement false.
-
Data Definition Language
-
Data Manipulation Language
-
Data Confusion Language
-
Data Control Language
D
Correct answer
Explanation
DB2 uses Data Control Language (DCL) commands like GRANT and REVOKE to manage security internally. DDL is for schema definitions, DML is for data manipulation, and Data Confusion Language is not a real SQL language category.
-
Consuming Sharepoint Web Services
-
Sharepoint Designer Workflows
-
Sharepoint Object Model
-
Writing Sql Queries using Sharepoint Web Services
C
Correct answer
Explanation
JDBC (Java Database Connectivity) is the standard Java API for connecting to relational databases. It provides methods to execute SQL queries, retrieve results, and manage database transactions. JMS is for messaging, Java IDL for CORBA connectivity, and JAF (JavaBeans Activation Framework) for handling MIME data types.
B
Correct answer
Explanation
J2EE products from different vendors can support different databases. For example, one application server might support Oracle, DB2, and SQL Server, while another might support MySQL and PostgreSQL. The J2EE specification does not mandate specific database support, leaving it to vendor implementation.
A
Correct answer
Explanation
JTA (Java Transaction API) is the standard Java EE API for managing transactions across multiple resources. It provides interfaces for demarcating transaction boundaries (beginning, committing, or rolling back transactions). The other options are not standard transaction APIs in the Java ecosystem.
-
Stored Procedures
-
Business Service
-
DTS
-
VB.net
-
Database Triggers
A
Correct answer
Explanation
In AXA Partners legacy system architecture (primarily built on Siebel or SQL Server-based integrations), Producer IDs are generated at the database level using Stored Procedures to ensure unique sequential key assignment. Other options like Business Service, DTS, or VB.net do not handle this specific database sequence generation.
A
Correct answer
Explanation
The Data Access Object (DAO) pattern abstracts database operations behind an interface. It provides a clean API for CRUD operations, hiding implementation details like SQL, connection management, and data source specifics. This reduces coupling between application components and the database, making the codebase more maintainable and testable.
-
Business Delegate
-
Data Access Object
-
Factory
-
Builder
-
ltc_agnets
-
ltc_policy
-
ltc_document_extract
-
a&b
-
a&c
D
Correct answer
Explanation
The ltcdigital office policy info section uses both the ltc_agents and ltc_policy database tables. The 'a&b' option correctly identifies these two tables. Option E is incorrect as it excludes ltc_policy, which is essential for policy information.
-
ltc_agnets
-
ltc_policy
-
ltc_document_extract
-
a&b
-
a&c
E
Correct answer
Explanation
The ltcdigital office sales support section uses ltc_agents and ltc_document_extract tables. Option E ('a&c') correctly identifies these two tables. Sales support would need agent information and document extraction capabilities, not the policy table directly.
-
Use the output cache
-
Use the cache object
-
Use the ASP.NET central cache
-
Use the client cache
A
Correct answer
Explanation
Output caching stores the fully rendered HTML page, completely avoiding database queries and server-side page processing on subsequent requests. The cache object (data caching) still requires page rendering overhead, while ASP.NET central cache is not a standard term.