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. applications are stable and relatively unchanging over time

  2. define the major kinds of application system necessary to process the data and support the business

  3. Involves applications systems design

  4. The applications are logical groups of capabilities that manage the data objects in the Data Architecture and support the business functions in the Business Architecture

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

The question asks for the FALSE statement. In TOGAF and enterprise architecture frameworks, Application Architecture focuses on defining what applications are needed and how they relate to business functions and data. It does NOT involve detailed systems design - that belongs to later implementation phases. Options A, B, and D describe valid aspects of Application Architecture.

Multiple choice technology
  1. One Table

  2. Two Tables

  3. Three Tables

  4. Four Tables

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

SAP uses three database tables to archive IDoc data: EDIDC for control records, EDID4 for segment data, and EDIDS for status records. This three-table structure separates metadata, content, and processing status for efficient archiving and retrieval.

Multiple choice technology architecture
  1. Modifying a persistent object results in the instance update of the database

  2. Only one persistent object can refer to an instance of a class at any given time

  3. The transactional state of an object decides the response to an operation

  4. None of the above

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

The State Pattern allows an object to alter its behavior when its internal state changes, appearing as if the object changes its class. The object delegates state-specific behavior to different state objects, and the current state determines how the object responds to operations. Option C correctly identifies that an object's state determines its response to operations, which is the essence of the State Pattern. Options A and B discuss persistence concerns unrelated to the State Pattern.

Multiple choice technology architecture
  1. Provides a uniform interface to the subsystem

  2. Defines a table for each persistent object class

  3. Assigns an object identifier for each record

  4. Makes a class resonsible for materialization

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

The Representing Objects as Tables persistence pattern maps each persistent object class to a corresponding database table, with object attributes mapping to table columns. This direct mapping enables straightforward persistence of object-oriented data to relational databases. Option B correctly states the pattern defines a table for each persistent object class. Option A describes the PersistenceFacade pattern. Option C refers to identity mapping, which is a related but distinct concept. Option D describes materialization, another related pattern.

Multiple choice technology architecture
  1. Provides a uniform interface to the subsystem

  2. Assigns the responsibility for creating new class instance or object

  3. Makes a class responsible for materialization

  4. Makes the database mappers responsible for maintaining cache

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

The PersistenceFacade pattern provides a simplified, unified interface to a complex persistence subsystem, hiding the complexity of various persistence mechanisms behind a single API. Clients interact with the facade rather than directly with individual persistence components. Option A correctly identifies the facade's purpose of providing a uniform interface. Option B describes the Factory pattern or creation responsibilities. Option C refers to materialization patterns. Option D describes caching responsibilities, which are not the facade's primary role.

Multiple choice technology programming languages
  1. I/O operation

  2. Database operation

  3. Networking

  4. All of the above

  5. None of the above

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

Try-catch blocks should be used for operations that throw checked exceptions: I/O operations (FileNotFoundException, IOException), database operations (SQLException), and networking (SocketException, UnknownHostException). All these scenarios require proper exception handling for robust code.

Multiple choice technology performance
  1. User site

  2. File server

  3. Utility server

  4. Administration site

  5. Controller machine

  6. Load generator machine

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

In Performance Center architecture, the database server stores results and configuration data from multiple sources. The User site stores test results, the Utility server manages authentication and licensing data, the Administration site handles configuration information, and the Controller machine sends runtime test data. Load generators communicate with the Controller but don't write directly to the database, and the File server is for storage management rather than database communication.

Multiple choice technology programming languages
  1. Skype

  2. Toad

  3. PL/SQL Developer

  4. MySQL

  5. MySQL Administrator

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

MySQL is a database management system, not a Delphi application. Skype (original Windows version), Toad (database tool), and PL/SQL Developer (Oracle IDE) were built using Delphi/Object Pascal. MySQL Administrator was also written in Delphi. MySQL itself is C/C++ software, making it the correct 'odd one out' for applications NOT written in Delphi.

Multiple choice technology programming languages
  1. DataTable

  2. DataView

  3. DataRelation

  4. DataSet

  5. None of these

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

ADO.NET has two main architecture models: connected and disconnected. DataSet, DataTable, DataView, and DataRelation are all part of the disconnected architecture - they work with data cached in memory without maintaining active database connections. Connected architecture uses objects like Connection, Command, and DataReader that require active database connections to the database server. Since all options listed are disconnected components, the correct answer is None of these.

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

White list validation means checking input against a list of known valid values and rejecting anything else (deny-by-default). Black list validation (B) checks against known bad values but allows everything else, which is less secure. White listing is the secure approach because it's a closed set - anything not explicitly permitted is rejected.

Multiple choice technology databases
  1. Hierarchical

  2. Relational

  3. Network

  4. Other

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

IDMS is a network model database, not hierarchical (A), relational (B), or a catch-all other category. The network model allows many-to-many relationships through sets, unlike the hierarchical model's tree structure.

Multiple choice technology databases
  1. Area

  2. Set Type

  3. Record Type

  4. Relation

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

In network database models (CODASYL), a set type explicitly defines the relationship between two or more record types, establishing an owner-member relationship. This is different from relational databases where foreign keys define relationships, or hierarchical databases with parent-child structures. Area (A) is unrelated to record relationships, Record Type (C) refers to individual record structures, and Relation (D) is the general concept but not the specific defining mechanism.

Multiple choice technology databases
  1. RMAN prompt

  2. SQLPLUS prompt

  3. Oracle Enterprise Manager 11g (OEM)

  4. DRA prompt

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

Data Recovery Advisor (DRA) in Oracle can be accessed from RMAN prompt and Oracle Enterprise Manager. RMAN provides direct command-line access to DRA functionality. OEM 11g offers a graphical interface to DRA. SQLPLUS and DRA prompt are not valid access points for DRA.