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 performance
  1. a) Enterprise server

  2. b) Gateway server

  3. c) Web server

  4. d) none

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

The Siebel Enterprise Server requires both a TCP/IP connection to communicate with the Gateway server and an ODBC connection to access the Database Server. The Gateway server doesn't need ODBC (it's the connection broker), and the web server handles HTTP - not direct database access.

Multiple choice technology performance
  1. a) 3rd party RDBMS Software

  2. b) 3rd party software

  3. c) 3rd party load balancer

  4. d) none

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

Web servers (like Apache/IIS), Actuate (reporting server), and Fulcrum (search technology) are third-party software components that Siebel integrates with. They are NOT RDBMS software (they don't manage relational databases), nor are they load balancers. They are external software that Siebel uses for specific functions.

Multiple choice technology packaged enterprise solutions
  1. A Data Warehouse

  2. A Data Model

  3. An InfoCatalog

  4. An infoset

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

A Data Model provides a conceptual description of data objects, their attributes, and the relationships between them. It's an abstract representation that defines the structure and organization of data independent of any physical implementation. A Data Warehouse is a physical storage system. An InfoCatalog is metadata about available data. An InfoSet is a specific view or dataset definition, not the conceptual model itself.

Multiple choice technology packaged enterprise solutions
  1. to make it look good

  2. to comply with the multidimensional modelling rules

  3. to increase performance

  4. to avoid redundancy

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

Normalization in data modeling is fundamentally about eliminating redundancy and preventing update anomalies. While it can improve performance in some cases, that's not the primary purpose. It's not about aesthetics or complying with multidimensional rules - those are different concerns.

Multiple choice technology testing
  1. History

  2. Versions

  3. Dependencies

  4. Management

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

The History view or tab in configuration management systems displays prior versions of an entity, showing the version history, timestamps, and who made each change. This is standard feature naming. 'Versions' is less common as a direct menu item. Dependencies and Management don't show version history.

Multiple choice technology databases
  1. System tablespace

  2. Default tablespace for the user

  3. Users tablespace

  4. Oracle will give an error

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

When a user creates an object without specifying a tablespace, Oracle stores it in that user's default tablespace. This is defined in the user profile. It does not use the system tablespace or throw an error.

Multiple choice technology databases
  1. It persists across transactions within a session.

  2. It persists from session to session for the same user.

  3. It does not persist across transaction within a session.

  4. It persists from user to user when the package is invoked.

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

To answer this question, the user needs to understand the concept of package variables in PL/SQL.

Package variables are variables that are declared in the package specification and can be accessed by any subprogram or procedure defined in the package. The state of a package variable after executing the package depends on its type.

Option A is correct. Package variables persist across transactions within a session. This means that the value of a package variable remains the same during the lifetime of the session, even if multiple transactions are executed. The value of the variable can be changed by any subprogram or procedure defined in the package.

Option B is incorrect. Package variables do not persist from session to session for the same user. When a user logs out of the session and logs back in, the package variable is reinitialized with its default value.

Option C is incorrect. Package variables persist across transactions within a session. The value of a package variable remains the same during the lifetime of the session, even if multiple transactions are executed.

Option D is incorrect. Package variables do not persist from user to user when the package is invoked. When a different user invokes the package, the package variable is reinitialized with its default value.

Therefore, the correct answer is:

The Answer is: A

Multiple choice technology web technology
  1. Increasing the young object space in the heap

  2. Turning the -verbosegc flag on

  3. Adding more servers to the domain

  4. Running more servers per machine

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

Full garbage collections occur when the tenured generation fills up. By increasing the young generation (new/eden) space, more objects can be allocated and die young in that space, reducing promotion to tenured space. This significantly reduces full GC frequency. The -verbosegc flag only enables logging (B). Adding more servers doesn't address the heap sizing issue (C, D).

Multiple choice technology security
  1. Data is validated against a list of values that are known to be valid

  2. Data is validated against a list of values that are known to be invalid

  3. Both of the above

  4. None of the above

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

To solve this question, the user needs to know the definition of "White List" data validation.

Option A is correct. "White List" data validation means that the data is validated against a list of values that are known to be valid. This means that any input that is not on the list of valid values will be rejected or flagged as invalid. It is a way to ensure that only authorized data is accepted.

Option B is incorrect. "Black List" data validation would mean that the data is validated against a list of values that are known to be invalid. In this case, any input that matches a value on the list would be rejected or flagged as invalid.

Option C is incorrect. While both options A and B are described, "White List" data validation refers specifically to option A.

Option D is incorrect. At least one of the options (option A) is correct.

Therefore, the answer is: A. Data is validated against a list of values that are known to be valid.

Multiple choice technology security
  1. Top down

  2. Bottom up

  3. End-to-end

  4. Across the lifecycle of the application

  5. Using a combination of all of the above

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

The most effective tactical approach for securing database applications is using a combination of all approaches: top-down (policy-driven), bottom-up (secure coding practices), end-to-end (data protection across layers), and across the entire lifecycle (continuous security). A multi-layered defense provides comprehensive protection.

Multiple choice technology databases
  1. a record

  2. a field

  3. a table

  4. an entity

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

In strict relational database terminology, an attribute corresponds to a field - a single property or characteristic of an entity (like 'Name' or 'Age' in a Customer table). A record (incorrect Option A) is a row containing all attribute values for one entity. A table (incorrect Option C) is the entire collection of records. An entity (incorrect Option D) is the object being modeled (like Customer), not its individual properties.

Multiple choice technology databases
  1. section name, age

  2. name

  3. undergraduate

  4. name, class name

  5. major, gender

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

A junction table resolves a many-to-many relationship (Students to Classes) by combining their primary identifiers. Using 'name' (for student) and 'class name' (for class) creates a composite key. The other choices contain irrelevant attributes like age, or single fields that cannot form a composite key.

Multiple choice technology web technology
  1. Product - Many Manufacturer - Many

  2. Product - Many Manufacturer - One

  3. Product - One Manufacturer - One

  4. Product - One Manufacturer – Many

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

The relationship is Many-to-One from Product to Manufacturer. Each Product has exactly one Manufacturer (foreign key Manufacturer_ID in Product table references Manufacturer_ID in Manufacturer table). However, one Manufacturer can produce many Products (multiple Product records can reference the same Manufacturer_ID). This is not Many-to-Many (no junction table), not One-to-One (Manufacturer_ID isn't unique in Product), and not One-to-Many from Product (each Product doesn't have multiple Manufacturers).