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
-
Data is filtered in the database
-
Data is filtered on the network
-
Data is filtered in the sapgui
-
Data is filtered at the application server
A
Correct answer
Explanation
Subqueries are typically more efficient because data filtering happens at the database level, reducing the amount of data transferred across the network. The database engine can optimize the subquery execution, use indexes effectively, and only return the final result set rather than raw data.
-
Domain
-
Field of a table
-
Check table
-
Type
D
Correct answer
Explanation
Search help objects can be attached to domains, table fields, and check tables in SAP ABAP Dictionary. A data type itself is not an object where search help can be directly attached - you must attach it to a domain or field that uses that type.
-
Transaction Tables
-
Small Static tables
-
Internal Tables
-
Tables with generic Keys
B
Correct answer
Explanation
Full buffering loads the entire table into memory. This is appropriate only for small static tables that are read frequently and rarely change, as the memory cost must be justified by high read activity. Transaction tables change too frequently, and internal tables are runtime structures.
-
When a table is read infrequently
-
When a table is linked to check tables
-
When a table is read frequently and the data seldom changes
-
When a single record is to be picked up
C
Correct answer
Explanation
Buffering is beneficial when a table is read frequently (to benefit from cached access) but the data seldom changes (to avoid cache invalidation overhead). Infrequently read tables gain no benefit, while tables linked to check tables and single-record lookups have different optimization strategies.
-
Physical Definition
-
Business Object
-
Semantic Domain
-
Technical Domain
C
Correct answer
Explanation
A data element represents a semantic domain - it defines the business meaning and technical attributes of a field. It is not a physical definition (that's the domain level), not a business object (higher level), and not a technical domain (the underlying data type).
B
Correct answer
Explanation
SE11 is the ABAP Dictionary transaction code used to create and maintain dictionary objects including tables. SE38 is for ABAP programs, SE93 is for transaction maintenance, and SM30 is for table view maintenance.
-
The variable is only accessible to the first Execute SQL Task
-
The variable is accessible to both Execute SQL Task, but not the Script Task
-
The variable is accessible to both Execute SQL Task and the Script Task
-
The variable is not accessible to any Task
B
Correct answer
Explanation
In SSIS, when you create a variable within a container (like Foreach Loop), its scope is that container and all tasks inside it. Both Execute SQL tasks are inside the Foreach Loop, so they can access the variable. The Script Task is in the For Loop (sibling container, not nested inside Foreach), so it cannot access this variable.
-
SQL Server Destination
-
OLE DB Destination
-
OLE DB Command Transformation
-
Data Conversion Transformation
C
Correct answer
Explanation
The OLE DB Command Transformation in SSIS data flow executes a SQL statement for each row, making it ideal for updating existing records row-by-row. Options A and B are destination components for inserting data, not updating. Option D is for type conversion, not database updates.
-
Tables
-
Views
-
Flat Files
-
Stored Procedures
C
Correct answer
Explanation
Tables, views, and stored procedures are all database objects within a DBMS. Flat files are external storage structures not part of the database schema, making C the correct choice as the odd one out.
A
Correct answer
Explanation
SYSDATE is a standard Oracle SQL function that retrieves the current date and time configured on the database server host. Therefore, the statement is true.
A
Correct answer
Explanation
MultiLoad DELETE mode is specifically designed to perform efficient delete operations on Teradata tables. Unlike standard SQL DELETE commands that process rows one at a time, MultiLoad DELETE mode can perform a global delete operation that spans all AMPs (Access Module Processors) simultaneously. It targets a single table for deletion, making it ideal for bulk data removal tasks. This statement accurately describes the DELETE mode functionality.
-
Import
-
Accept
-
Layout
-
Export
A
Correct answer
Explanation
In Teradata utilities (FastExport, MultiLoad, TPump), the IMPORT command specifies the external client-side file that contains data values. These values are referenced by the USING clause for parameter substitution in the SELECT statement.
-
Only one LONG column can be used per table.
-
A TIMESTAMP data type column stores only time values with fractional seconds
-
The BLOB data type column is used to store binary data in an operating system file.
-
The minimum column width that can be specified for a VARCHAR2 data type column is one.
-
The value for a CHAR data type column is blank-padded to the maximum defined column width.
-
All the above
A,D,E
Correct answer
Explanation
Oracle allows only one LONG column per table due to legacy design limitations (option A). VARCHAR2 minimum width is 1 character (option D) - you cannot create a VARCHAR2(0) column. CHAR values are blank-padded to the full defined width (option E) - this is a key difference from VARCHAR2. Option B is false: TIMESTAMP stores both date and time. Option C is false: BLOB stores binary data within the database, not in OS files (that would be BFILE).
-
Avoids separate updates
-
ncreases performance and ease of use
-
Is useful in data warehousing applications
-
All of the above
D
Correct answer
Explanation
MERGE statement (also called UPSERT) combines INSERT and UPDATE operations in one statement. It avoids writing separate UPDATE and INSERT statements for the same data. This increases performance (single pass over data, reduced overhead) and ease of use (one statement instead of multiple). MERGE is particularly useful in data warehousing for slowly changing dimensions, ETL processes, and synchronization scenarios where you need to update existing rows or insert new ones based on a match condition.