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
-
individual elements that stores the data
-
individual elements that displays the data
-
Both
-
None
C
Correct answer
Explanation
Fields are fundamental building blocks in Lotus Notes that serve dual purposes. They store the actual data entered by users and also control how that data is displayed. Each field is defined with a data type and can appear on forms, displaying existing data from documents or accepting new input, which is then stored in the database.
-
An info cube needs to contain all info objects of the compounded info object if it has been included in the info cube.
-
An info object cannot be included as a compounding object if it is defined as an attribute only.
-
An info object can be included as an attribute and a compounding object simultaneously.
-
The total length of a compounded info object cannot exceed 60.
A,B,D
Correct answer
Explanation
Compounded InfoObjects require all parent compounding objects to be included in the InfoCube to maintain referential integrity. An InfoObject cannot be a compounding parent if it is defined as an attribute-only, and the cumulative key length of compounded objects cannot exceed 60 characters.
-
Listing current BW users
-
Creating a bulletin board system for reports
-
Maintaining sender-receiver assignments
-
Reloading data into an InfoCube
C
Correct answer
Explanation
In SAP BW, transaction code RSBBS is used to maintain sender-receiver assignments, enabling the Report-to-Report Interface (RRI) to navigate between queries or targets. It does not list users, reload InfoCubes, or create bulletin boards.
-
Currency
-
Gems
-
Workflow
-
Transmit
B
Correct answer
Explanation
The Gems server is responsible for loading source data files into database tables and validating them against Knowledge Base templates. Other options like Currency, Workflow, or Transmit handle different operational or business workflows.
-
Dimensional attributes have a performance advantage over Navigational attributes for queries
-
Change history will be available if an attribute is defined as navigational
-
History of changes is available if an attribute is included as a characteristic in the cube
-
All of the above
A,C
Correct answer
Explanation
Dimensional attributes outperform navigational attributes in query execution because they're physically part of the star schema. Navigational attributes are joined at query time, adding overhead. Change tracking is available for characteristics stored in the cube but not for navigational attributes.
-
Read mode determines how the OLAP processor retrieves data during query execution and navigation
-
Three different types of read modes are available
-
Can be set only at individual query level
-
None of the above
A,B
Correct answer
Explanation
Read modes control OLAP data retrieval during query execution. BW offers three read modes: H (database), N (database with buffer), and B (aggregation level). These can be set at InfoProvider level and inherited by queries.
D
Correct answer
Explanation
The Fils table in TLM tracks every file loaded into the system, recording load status and metadata. This allows verification that files were properly loaded and processed.
A
Correct answer
Explanation
A reference characteristic doesn't store its own master data - it points to another characteristic's SID and master data tables. This design avoids data duplication and maintains a single source of truth.
-
Population Rule
-
Scope Rule
-
Pass Quality rule
-
Search rule
B
Correct answer
Explanation
This appears to be about Business Data Repository (BDR) rules in a specific system. The term 'Scope Rule' likely refers to a rule controlling data retrieval scope, though this is not standard terminology in mainstream database or software architecture literature.
-
Value Objects Layer.
-
Presentation Layer.
-
Data access object layer.
-
Deployment Layer.
C
Correct answer
Explanation
The Data Access Object (DAO) layer is responsible for managing all CRUD operations - Create, Read, Update, and Delete - on persistent data storage. It abstracts the underlying data access implementation from the rest of the application. Value Objects transfer data between layers, Presentation Layer handles user interface, and Deployment Layer manages application deployment.
-
-
– checkSum
-
<<Application>>
-
Customer1
C
Correct answer
Explanation
UML stereotypes are defined using double angle brackets around the stereotype name, like <>. This notation extends standard UML elements with domain-specific meaning. The + and - symbols in options A and B represent visibility modifiers (public and private), not stereotypes.
-
Association
-
Composition
-
Aggregation
-
Generalization
D
Correct answer
Explanation
Generalization is the correct UML relationship for 'is a' relationships between classes, representing inheritance. A solid line with a hollow arrowhead pointing from the subclass to the superclass signifies this relationship. Aggregation and composition represent 'has a' (whole-part) relationships, while association represents a general relationship between classes.
A
Correct answer
Explanation
Object-Relational Mapping (ORM) is, by definition, a programming technique for converting data between incompatible type systems in object-oriented programming languages and relational databases, establishing a bridge between both models.
-
Sets the Necessary Configuration for JDBC Connection
-
Sets the mapping files for persistent Classes.
-
Turns on automatic generation of database schemas - directly into the database.
-
Specify the JDBC Connectivity to happen during startup.
C
Correct answer
Explanation
The hbm2ddl.auto configuration property enables automatic DDL (Data Definition Language) generation based on Hibernate mapping files. It can create, update, or validate database schemas automatically. Options A and D refer to basic connection configuration handled by other properties, while option B refers to mapping files specified separately.
-
SessionFactory, Session
-
Session, Transaction
-
Transaction, SessionFactory
-
Transaction, Session
B
Correct answer
Explanation
In Hibernate's transaction management flow, Session objects produce Transaction objects. The Transaction API provides methods like commit() and rollback() for transaction control. SessionFactory creates Sessions, but doesn't directly produce Transaction objects.