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

Multiple choice technology architecture
  1. A transaction is a set of sql statements

  2. Auto commit to be set off before Transaction

  3. Auto commit to be set off after transaction

  4. Commit permanently records to database all changes waiting with current Connection

  5. Rollback is used in case of any error to undo transaction

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In JDBC transactions, auto-commit must be disabled BEFORE beginning transactional operations, not after. Setting setAutoCommit(false) before the transaction ensures statements are grouped. Setting it after would be meaningless as the transaction would have already executed in auto-commit mode. Options A, B, D, and E describe true transaction characteristics.

Multiple choice technology
  1. a) Picklist

  2. b) Toggle Applet

  3. c) Multi Value Group (MVG)

  4. d) Drilldown

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A Multi Value Group (MVG) is a Siebel mechanism that displays a set of detail (child) records associated with a parent record. It handles one-to-many relationships where a single parent can have multiple child records, like an Account having multiple Contacts or Opportunities. Picklists provide value selection, Toggle Applets switch between different views, and Drilldown navigates to detail views - none of these define child record associations.

Multiple choice technology platforms and products
  1. SQL Direct

  2. JDBC Query

  3. JDBC Connection

  4. JDBC Get Connection

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

SQL Direct is used to execute dynamic SQL statements that are constructed at runtime. JDBC Connection is required to establish the database connection before any SQL can be executed. JDBC Query is for predefined SQL queries, and JDBC Get Connection only retrieves a connection object without executing statements.

Multiple choice technology architecture
  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The core JDBC API is in the java.sql package, containing interfaces like Connection, Statement, and ResultSet. The javax.sql package provides extended JDBC features like DataSource and connection pooling. Options with 'java.jdbc' are incorrect - the package structure is java.sql, not java.jdbc.

Multiple choice technology architecture
  1. A transaction is a set of sql statements

  2. Auto commit to be set off before Transaction

  3. Auto commit to be set off after transaction

  4. Commit permanently records to database all changes waiting with current Connection

  5. Rollback is used in case of any error to undo transaction

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To manage transactions manually in JDBC, auto-commit must be set to false before running transaction statements. The assertion that auto-commit must be turned off after the transaction is false, as by that point the individual operations would have already committed automatically.

Multiple choice technology architecture
  1. Programmatic transaction management.

  2. Declarative transaction management.

  3. Both 1 and 2

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Spring supports two types of transaction management: programmatic (manually managing transactions in code) and declarative (using annotations or XML configuration). Both approaches are valid and commonly used depending on the use case. Programmatic gives fine-grained control; declarative is cleaner and preferred for most cases.

Multiple choice technology web technology
  1. Featuring the exact same structure as Transfer structure

  2. Similar to the transfer rules

  3. Similarly structured as the Communication structure

  4. The same as Transfer structure, plus four more fields in the beginning

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To answer this question, the user needs to know about the different types of structures used in SAP BW. Specifically, the user needs to know about the PSA (Persistent Staging Area) table and how it is structured.

Option A is incorrect. The PSA table does not have the exact same structure as the Transfer structure. The Transfer structure is used to map data fields from the source system to the PSA table, and it has a different structure than the PSA table.

Option B is incorrect. While the PSA table is similar to the transfer rules in that they both map data from source systems to the PSA table, they have different structures.

Option C is incorrect. The Communication structure is used to transfer data between different components of SAP BW. It is not used in the creation of the PSA table.

Option D is correct. The PSA table has the same structure as the Transfer structure, with four additional fields added at the beginning. These fields are used to store metadata about the data in the PSA table, such as the load date and the request ID.

Therefore, the correct answer is:

The Answer is: D

Multiple choice technology web technology
  1. Query navigation states and query results are stored in the application server memory.

  2. If the same query has been executed by another user the result sets can be used if the global cache is active.

  3. Reading query results from OLAP cache is faster than reading from the database.

  4. Changing the query will invalidate the OLAP cache for that query.

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

To understand the statements made about the OLAP CACHE, the user needs to know what OLAP CACHE is and how it works. OLAP CACHE is a technology that enables faster query processing by storing query results and navigation states in the application server memory. With that said, let's go through each statement and determine if it is true or false.

A. Query navigation states and query results are stored in the application server memory.

This statement is true. OLAP CACHE stores both query navigation states and query results in the application server memory, enabling faster query processing.

B. If the same query has been executed by another user the result sets can be used if the global cache is active.

This statement is also true. If the global cache is active, the result sets from a previously executed query can be used by another user who executes the same query, resulting in faster query processing times.

C. Reading query results from OLAP cache is faster than reading from the database.

This statement is also true. Because OLAP CACHE stores query results in the application server memory, reading those results is much faster than reading from the database, which requires I/O operations.

D. Changing the query will invalidate the OLAP cache for that query.

This statement is true. If a query is changed, the OLAP CACHE for that query will be invalidated because the query results and navigation state will no longer be valid for the new version of the query.

Therefore, the correct options are:

A. True B. True C. True D. True

The Answer is: D

Multiple choice technology web technology
  1. Characteristic variables

  2. Global structures

  3. Restricted key figures

  4. Technical names of a query

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Within a single InfoProvider: (A) Characteristic variables CAN be shared among query designers - they are reusable objects. (B) Global structures CAN be shared - they provide common templates. (C) Restricted key figures CAN be shared - once defined, they're available to all designers. (D) Technical names are unique to each query and CANNOT be shared - each query must have its own technical name.

Multiple choice technology
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The statement is false because while you can open Domino Designer from the workspace, the correct method is to right-click and select 'Open in Designer' from the context menu. The specific menu path mentioned in the question is incorrect.

Multiple choice technology
  1. Fields determine what data a single document can contain when the document is created with that form

  2. Each field in a document stores a particular kind of data, such as text,numbers, dates, or user names

  3. A field can be defined for use on a single form, or can be defined to be shared among multiple forms in a database

  4. The contents of a field can not be displayed in documents and views, or can be retrieved for use in formulas

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The statement in option D is NOT true - field contents CAN be displayed in documents and views, and CAN be retrieved for use in formulas. This is a fundamental purpose of fields in Domino applications. Options A, B, and C are all true statements about fields.

Multiple choice technology
  1. List of documents in a database

  2. place holder for entering the data

  3. Place holder for viewing the data from the database

  4. Both a&c

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A View in Domino serves two main purposes: it lists documents in a database and provides a placeholder for viewing data from the database. Views organize and display documents based on selection criteria and can include sorting and grouping.

Multiple choice technology
  1. Depending on the selection criteria,we can display all documents of a database in a view

  2. The documents may be grouped or sorted based on their contents

  3. Both

  4. None

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Both statements are true about views in Domino: they can display all documents based on selection criteria, and documents within views can be grouped or sorted based on their contents. These are core capabilities of views.

Multiple choice technology
  1. Place holder for entering information in a database

  2. Framework for entering and storing information in a database

  3. List of documents

  4. Both a&b

  5. None of these

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A form in Lotus Notes is the primary interface for creating and storing documents in a database. It provides a structured framework with fields where users enter data, which is then saved as a document. Forms define both the data structure and the visual presentation for information collection and display.