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
-
applications are stable and relatively unchanging over time
-
define the major kinds of application system necessary to process the data and support the business
-
Involves applications systems design
-
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
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.
C
Correct answer
Explanation
SE36 is the transaction code for ABAP Logical Database maintenance in SAP. Logical databases are special ABAP programs that read data from the database and make it available to other programs. SE36 allows developers to create and maintain these logical database structures.
-
One Table
-
Two Tables
-
Three Tables
-
Four Tables
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.
-
Modifying a persistent object results in the instance update of the database
-
Only one persistent object can refer to an instance of a class at any given time
-
The transactional state of an object decides the response to an operation
-
None of the above
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.
-
Provides a uniform interface to the subsystem
-
Defines a table for each persistent object class
-
Assigns an object identifier for each record
-
Makes a class resonsible for materialization
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.
-
Provides a uniform interface to the subsystem
-
Assigns the responsibility for creating new class instance or object
-
Makes a class responsible for materialization
-
Makes the database mappers responsible for maintaining cache
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.
-
I/O operation
-
Database operation
-
Networking
-
All of the above
-
None of the above
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.
-
User site
-
File server
-
Utility server
-
Administration site
-
Controller machine
-
Load generator machine
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.
-
Skype
-
Toad
-
PL/SQL Developer
-
MySQL
-
MySQL Administrator
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.
-
DataTable
-
DataView
-
DataRelation
-
DataSet
-
None of these
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.
-
Data is validated against a list of values that are known to be valid
-
Data is validated against a list of values that are known to be invalid
-
Both of the above
-
None of the above
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.
-
Hierarchical
-
Relational
-
Network
-
Other
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.
-
Owner and Child
-
Head and Child
-
Owner and Member
-
Head and Tail
C
Correct answer
Explanation
In IDMS terminology, the parent record in a set relationship is called the Owner and the child record is called the Member. This naming convention reflects that the owner controls the set and members belong to it.
-
Area
-
Set Type
-
Record Type
-
Relation
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.
-
RMAN prompt
-
SQLPLUS prompt
-
Oracle Enterprise Manager 11g (OEM)
-
DRA prompt
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.