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
-
NO SQL
-
CONTAINS SQL
-
READS SQL
-
MODIFIES SQL
D
Correct answer
Explanation
The script drops a procedure and creates a new one that contains a SELECT statement. Since it modifies database objects (DROP and CREATE), it requires MODIFIES SQL DATA clause. The other options are for less restrictive operations.
-
Control centre
-
IBM Data studio
-
Visual Explain
-
Command editor
B
Correct answer
Explanation
IBM Data Studio is the primary integrated development environment (IDE) used for developing, debugging, and managing DB2 stored procedures. Other tools like Control Center and Visual Explain do not support stored procedure debugging.
-
Attributes and Fields
-
Fields and Records
-
Records and Fields
-
Fields and Attributes
C
Correct answer
Explanation
In database terminology, horizontal rows are called 'records' (each row represents one complete entry), and vertical columns are called 'fields' (each column represents a specific attribute or property). Records contain the actual data values, while fields define what type of data each column holds.
-
A special way of selecting data
-
The process of adding primary key to a table
-
The process of arranging information stored in a database in a way, which removes redundancy and ambiguity.
-
A special way of retrieving data
C
Correct answer
Explanation
Normalization is the process of organizing database tables to reduce redundancy and improve data integrity by splitting large tables into smaller, related ones. It eliminates duplicate data and ensures dependencies are logical, not based on arbitrary rules.
-
Rollback
-
Rollup
-
CUBE
-
Commit
C
Correct answer
Explanation
CUBE is an SQL extension that produces n-dimensional cross-tabulation by creating subtotals for all possible combinations of grouping columns. Rollup creates hierarchical subtotals, while rollback and commit are transaction control commands.
-
Rollup
-
Rollback
-
CUBE
-
Commit
C
Correct answer
Explanation
In data warehousing and SQL, the CUBE operator is used to generate a result set that contains multidimensional cross-tabulations, representing all possible combinations of grouping columns (n-dimensional cross-tabulation).
-
SYSRELEASE
-
SYSOBJECTS
-
PSRELEASE
-
PSVERSIONS
C
Correct answer
Explanation
PeopleSoft uses the PSRELEASE table to track object versions and changes. This system table maintains version information for PeopleTools objects to support change tracking and application upgrades.
-
file server
-
batch server
-
web server
-
Query Server
B
Correct answer
Explanation
In PeopleSoft architecture, connectivity software (Tuxedo) must be installed on servers that communicate with the client. The batch server (PSAPPSRV) handles batch processes and requires connectivity software to receive requests from clients and other servers. File servers and web servers don't run application server processes, while Query Server is not a standard PeopleSoft server component.
-
Set the state record to derived/work.
-
Remove all sectionlevel and steplevel auto commits.
-
Nothing more. The Do Select action is set to Restartable
-
Deselect the Disable Restart check box on the Program Properties page
D
Correct answer
Explanation
For an Application Engine program to be restartable after failure, the 'Disable Restart' checkbox on Program Properties must be unchecked. The state record must be a physical table (not derived/work), and auto-commits should generally be removed, but the critical enablement is deselecting Disable Restart. The Do Select action being restartable is necessary but not sufficient without this setting.
-
database superuser
-
peoplesoft superuser
-
data mover superuser
-
security administrator
A
Correct answer
Explanation
Bootstrap mode in Data Mover is used when the system is locked or for initial setup, and requires logging in as the database superuser (like SYS or SYSTEM in Oracle). This level of access bypasses PeopleSoft security. PeopleSoft superuser, data mover superuser, and security administrator are PeopleSoft-level roles, not database-level.
-
SYSTEM CATALOG
-
PEOPLETOOLS TABLES
-
APPLICATION TABLES
-
PEOPLETOOLS CATALOG
B
Correct answer
Explanation
All PeopleSoft application definitions (records, pages, components, menus, etc.) are stored in PeopleTools tables (like PSRECDEFN, PSPNLDEFN). Application tables store business data, System Catalog is a database-level construct, and PeopleTools Catalog doesn't exist as a storage location. PeopleTools tables are the metadata repository.
-
Collection of SAS files,such as SAS data sets and catalogs
-
In some OS, a physical collection of SAS files
-
In some OS, a logically related collection of SAS files
-
All of above
D
Correct answer
Explanation
A SAS Data Library is a collection of SAS files that can include both SAS data sets and catalogs. Depending on the operating system, this can be a physical directory (like in Unix/Linux/Windows) or a logically related collection (like in mainframe environments). The library serves as a container that groups related SAS files together and is referenced through a libref (library reference). Options A, B, and C each describe partial truths, while D captures all aspects across different operating environments.
-
Database export and import.
-
Generic operating system utilities.
-
The R/3 Client Copy transactions.
-
R3SETUP
C
Correct answer
Explanation
SAP recommends using R/3 Client Copy transactions (SCCL, SCC3) for copying clients, even large ones. These tools are specifically designed to handle client data, dependencies, and consistency within the R/3 framework. Database export/import and OS utilities bypass R/3 mechanisms and risk data inconsistency. R3SETUP is for installation, not client copy. Client Copy transactions ensure referential integrity and proper transport.
-
Maximum allowable response time.
-
Maximum number of users who may be logged on to the instance.
-
Maximum number of sessions per user.
-
Name of the instance defined for the logon group.
C
Correct answer
Explanation
In SAP logon load balancing, you can specify maximum response time, maximum number of users, and instance names when creating logon groups. However, you cannot specify the maximum number of sessions per user at the logon group level - this is controlled by system-wide profile parameters. The session limit per user is a system configuration, not a logon group setting.
-
/usr/sap/C11/DVEBMGS01/data
-
/usr/sap/C11/DVEBMGS01/log
-
/usr/sap/C11/DVEBMGS01/work
-
The trace files are written in internal database tables.
C
Correct answer
Explanation
In SAP R/3 systems, work process trace files are always written to the 'work' directory under the instance directory path. The standard path is /usr/sap///work, where SID is the system ID and the instance name includes the services. Trace files are stored as files in this directory, not in database tables.