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
-
14
-
10
-
12
-
None of the above
C
Correct answer
Explanation
For a table: BEFORE/AFTER (2) × statement/row (2) × INSERT/UPDATE/DELETE (3) = 12 triggers. INSTEAD OF triggers apply only to views, not tables.
-
1
-
Null
-
Error
-
None of the above
C
Correct answer
Explanation
In Oracle, a sequence's CURRVAL pseudocolumn cannot be used until NEXTVAL has been called at least once in the current session. Since the sequence was just created and NEXTVAL has not been called, attempting to select CURRVAL will raise an error: ORA-08002: sequence ABC.CURRVAL is not yet defined in this session.
B
Correct answer
Explanation
Oracle databases have a limit of 1000 columns per table or view. This is a hard limit in the Oracle database architecture. Option A (900) is too low, while options C (1100) and D (1050) exceed the actual limit.
-
set of identical conditions
-
an identifier that can be assigned to business rules
-
property used to tag rules
-
both 2 & 3
B
Correct answer
Explanation
A category in business rule management systems is an identifier or tag that can be assigned to business rules for classification and organization purposes. It is not simply a set of identical conditions (option A) or just a property (option C). Categories help group and manage rules logically within a rule repository.
-
To duplicate the functionality of other triggers.
-
To replicate built-in constraints in the Oracle server such as primary key and foreign key.
-
To guarantee that when a specific operation is performed, related actions are performed.
-
For centralized, global operations that should be fired for the triggering statement, regardless of which user or application issues the statement.
C,D
Correct answer
Explanation
Database triggers are designed for centralized operations and ensuring related actions occur. They should not duplicate built-in constraints or other triggers. Option C describes enforcing related actions (e.g., audit logging on update). Option D describes global operations firing regardless of user.
-
DBs Secured Applications Processing Environment (Citrix)
-
DB-Everywhere-Desktop
-
A and B
-
None of the above
C
Correct answer
Explanation
Dbwrap refers to DB's Secured Applications Processing Environment (utilizing Citrix) as well as DB-Everywhere-Desktop in this internal corporate environment. Consequently, the option stating that both A and B are correct represents the accurate answer, whereas the other options are incomplete.
-
Visionapp
-
TCS-DES & Visionapp
-
HCL
-
DB Internals
B
Correct answer
Explanation
SIT (System Integration Testing) and UAT (User Acceptance Testing) environments in enterprise IT often involve shared support responsibilities between multiple vendors. TCS-DES (Tata Consultancy Services - Delivery Entity) partnering with Visionapp represents a common collaborative support model for database wrapping servers.
-
Visionapp in co-ordination with TCS-DES team
-
Visionapp independently
-
DB Internals
-
TCS-DES Team Independently
A
Correct answer
Explanation
DBwrap production servers are maintained through a collaborative model where Visionapp coordinates with the TCS-DES team. This partnership ensures proper technical oversight and support for the production environment. Options suggesting independent operation by either party are incorrect, and DB Internals is not involved in this maintenance arrangement.
D
Correct answer
Explanation
The dbwrap platform supports approximately 250 applications across the organization. This represents the scale of database services provided, including transaction processing, reporting, and data management for various business applications.
-
Task
-
Role
-
Priority
-
All the above
B
Correct answer
Explanation
Dbwrap uses role-based access control (RBAC) where permissions are granted based on predefined roles rather than individual tasks or priorities. This model ensures consistent security governance and simplifies permission management across the platform.
-
Dbwrap servers/urls not accessible
-
Appsense, Ocx and Dlls Registrations
-
All the above
-
None of the above
C
Correct answer
Explanation
Common dbwrap issues include both server/URL accessibility problems (network/connectivity issues) and registration problems with components like Appsense, OCX controls, and DLLs (client-side component registration). Both categories represent valid issue types that users encounter.
-
a. Parse
-
b. Fetch
-
c. Retrieve
-
d. Bind
-
e. Execute
A,B,D,E
Correct answer
Explanation
SQL execution follows these phases: Parse (syntax/semantic validation), Bind (variable binding), Execute (query execution), and Fetch (returning results to client). 'Retrieve' is not typically listed as a separate step in standard SQL execution phases.
A
Correct answer
Explanation
Hard parse is more expensive than soft parse because hard parse involves optimization, query plan generation, and row source generation. Soft parse only checks the shared pool for an existing execution plan and skips these costly steps when a plan is found.
-
Less than 10ms
-
100ms
-
150ms
-
50ms
A
Correct answer
Explanation
In OLTP (Online Transaction Processing) applications, individual SQL statements should execute very quickly - typically less than 10 milliseconds - to maintain high transaction throughput and responsiveness. Values of 50ms, 100ms, or 150ms would be considered too slow for OLTP workloads.
B
Correct answer
Explanation
Using hints in SQL statements is generally not advisable because they hard-code optimization assumptions that may become outdated as data distribution changes. Hints should only be used as a last resort when the optimizer consistently makes poor choices and other tuning methods have been exhausted.