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
-
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 complete rendered page HTML, eliminating redundant database queries and page processing for historical book data that rarely changes. This server-side strategy is ideal for read-heavy data display scenarios. The Cache object requires manual implementation, client caching depends on browser settings, and ASP.NET central cache is not a standard feature.
-
Cloudscape
-
Oracle
-
Informix
-
Microsoft SQL (MSSQL) Server
A,B,C,D
Correct answer
Explanation
WebLogic JMS with JDBC persistence supports multiple databases including Cloudscape, Oracle, Informix, and Microsoft SQL Server for persistent message storage. The JDBC store allows JMS to use any database with a compliant JDBC driver, providing flexibility in choosing the persistence backend.
-
Waiters high
-
Waiters
-
Connections high
-
Wait seconds high
B
Correct answer
Explanation
The 'Waiters' attribute in the JDBC connection pool monitoring shows the current number of clients waiting for a connection. 'Waiters high' is the peak value reached, not the current count. 'Connections high' tracks maximum connections used, and 'Wait seconds high' tracks maximum wait time.
A
Correct answer
Explanation
Bank serves as the master database in the AXA system architecture. It contains the primary customer and account records. Other applications like ULIS (life insurance), IARD (non-life insurance), and CIF (customer information interface) derive or reference data from the Bank master.
-
Back end application
-
Front End application
-
Interface
-
Database
B
Correct answer
Explanation
CIF is a Front End application. It provides the user interface for viewing and managing customer information, accessible to both internal and external users. It is not a backend application (processing logic), not an interface between systems, and not the database itself (though it accesses database data).
D
Correct answer
Explanation
4K (4096 bytes) is the ideal pool size for transaction log cache in this system. 2K is too small for efficient batching, while 8K and 16K are unnecessarily large for typical transaction log entries.
C
Correct answer
Explanation
Trace 302 in Sybase ASE displays detailed information about the optimizer's index selection process, including which indexes were considered and why they were chosen or rejected. This helps DBAs understand query performance and tune indexing strategies.
D
Correct answer
Explanation
DBTABLE is the metadata cache descriptor in Sybase ASE that holds information about database table structures. This cache improves performance by storing table metadata in memory rather than repeatedly reading from disk.
-
dbcc checkdb
-
dbcc checkverify
-
dbcc checkstorage
-
dbcc checkalloc
C
Correct answer
Explanation
dbcc checkstorage is the command that logs diagnostic information to the dbccdb database. It performs comprehensive storage analysis including space usage, fragmentation, and integrity checks, storing results for trend analysis.
-
ASEENGINE
-
ANYENGINE
-
LASTENGINE
-
LASTONLINE
D
Correct answer
Explanation
LASTONLINE is a predefined engine group in Sybase ASE that routes tasks to the most recently online engine. Engine groups enable workload distribution across multiple engines for parallel processing and improved performance.
-
sp_help
-
sp_helpdevice
-
sp_helpsegment
-
sp_helpdbdev
B
Correct answer
Explanation
sp_helpdevice is the system stored procedure that provides detailed information about database devices in Sybase ASE. It shows device names, sizes, status, and usage information, unlike sp_help which covers general object information.
-
sybmgmtdb
-
sybsystemprocs
-
model
-
master
C
Correct answer
Explanation
The model database serves as the template for all new databases, including tempdb which is recreated each time the server restarts. Adding user-defined datatypes to model ensures they persist in tempdb across restarts.
-
Schema synonym
-
Public synonym
-
Private synonym
-
Database synonym
B,C
Correct answer
Explanation
Oracle supports two main types of synonyms: public synonyms (accessible to all users) and private synonyms (schema-specific). Public synonyms are created with CREATE PUBLIC SYNONYM and can be referenced by any user with appropriate privileges on the underlying object. Private synonyms are created in a specific schema and are only available to users who can access that schema. 'Schema synonym' and 'Database synonym' are not standard Oracle synonym categories.
-
Table
-
View
-
Procedure
-
Package
-
Another Synonym
-
Sequence
A,B,C,D,E,F
Correct answer
Explanation
Oracle allows creating synonyms for most database objects including tables, views, procedures, packages, sequences, and even other synonyms. This provides a flexible naming mechanism that can simplify references to objects with long names or complex schema paths. Synonyms cannot be created for all object types like indexes or triggers, but the listed options are all valid synonym targets. This capability is particularly useful for creating cleaner, more maintainable SQL code.
-
Table
-
View
-
Procedure
-
Package
-
Another Synonym
-
Sequence
A,B,C,D,E,F
Correct answer