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

Multiple choice technology databases
  1. 1

  2. Null

  3. Error

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. set of identical conditions

  2. an identifier that can be assigned to business rules

  3. property used to tag rules

  4. both 2 & 3

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. To duplicate the functionality of other triggers.

  2. To replicate built-in constraints in the Oracle server such as primary key and foreign key.

  3. To guarantee that when a specific operation is performed, related actions are performed.

  4. For centralized, global operations that should be fired for the triggering statement, regardless of which user or application issues the statement.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. DBs Secured Applications Processing Environment (Citrix)

  2. DB-Everywhere-Desktop

  3. A and B

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Visionapp

  2. TCS-DES & Visionapp

  3. HCL

  4. DB Internals

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Visionapp in co-ordination with TCS-DES team

  2. Visionapp independently

  3. DB Internals

  4. TCS-DES Team Independently

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology platforms and products
  1. Dbwrap servers/urls not accessible

  2. Appsense, Ocx and Dlls Registrations

  3. All the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology performance
  1. a. Parse

  2. b. Fetch

  3. c. Retrieve

  4. d. Bind

  5. e. Execute

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology performance
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology performance
  1. Less than 10ms

  2. 100ms

  3. 150ms

  4. 50ms

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology performance
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.