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
-
Dimension
-
Detail
-
Measaure
-
Object
A
Correct answer
Explanation
A Dimension maps to one or more descriptive columns in a database that are used for grouping, filtering, or labeling in queries. Dimensions provide context for measures (numerical values) in data warehousing and BI. Details and objects are not the correct terminology for column mappings.
-
Database Log
-
Alert Log
-
Error Log
-
Session Log
B
Correct answer
Explanation
The Alert Log is the correct location to look for errors from the Oracle database engine. It contains critical error messages, startup/shutdown information, and other important diagnostic events. Database logs, error logs, and session logs are not the standard Oracle terminology for engine-level error tracking.
B
Correct answer
Explanation
A rollback segment in Oracle is allocated a minimum of 2 extents. This is the default behavior for rollback segment storage allocation. The other options (1, 3, 4 extents) are not the correct minimum extent allocation for rollback segments in standard Oracle configuration.
-
2GB of spool space
-
5GB of spool space
-
2GB of permanent space
-
3GB of spool space
B
Correct answer
Explanation
In Teradata, spool space is not pre-allocated but is defined as an upper limit. Creating a child database with a portion of spool space does not reduce the spool space limit of the parent database; hence, Database A retains its 5GB limit.
-
Volatile Temporary Table
-
Global Temporary table
-
MultiSet Table
-
Permanent Table
B
Correct answer
Explanation
In Teradata, the definition of a Global Temporary Table (GTT) is persistent and remains in the data dictionary even after the session ends. In contrast, Volatile Temporary Tables (VTT) have their definitions and data completely dropped at session logoff.
-
Temporary Space
-
Spool Space
-
Permanent Space
-
Any of the above
B
Correct answer
Explanation
Volatile temporary tables are materialized in spool space, which is temporary workspace allocated during query execution. Spool space is specifically designed for intermediate results and transient data. Permanent space is for durable database objects, while temporary space is for other temporary storage needs.
-
Volatile Temporary Table
-
Global Temporary table
-
MultiSet Table
-
Permanent Table
B
Correct answer
Explanation
Global temporary tables persist beyond a single session - they survive sign-off but are eventually dropped by the system. Volatile tables are automatically dropped at session end. Multiset and permanent tables are completely different concepts with their own persistence rules.
-
Temporary Space
-
Spool Space
-
Permanent Space
-
Any of the above
B
Correct answer
Explanation
Volatile temporary tables are materialized in spool space, which is temporary workspace allocated during query execution. Spool space is specifically designed for intermediate results and transient data storage during query processing.
-
2GB of spool space
-
5GB of spool space
-
2GB of permanent space
-
3GB of spool space
B
Correct answer
Explanation
In Teradata's hierarchical space management, when a child database is created with a spool allocation, it does not reduce the parent's spool space. The parent (Database A) retains its full 5GB spool allocation. The child's 3GB is a separate allocation, not a subtraction from the parent.
-
Both Multiproviders and Infosets can contain all the info providers in BW.
-
Queries built on Multiproviders use 'union' and queries on Infosets use 'join' to retrieve data from different info providers.
-
Both Multiproviders and Infosets do not have data, but data is accessed from the basic info providers used in these objects.
-
None of the above.
B,C
Correct answer
Explanation
Multiproviders and Infosets are both composite data providers in SAP BW that access data from underlying basic providers. The key difference is that Multiproviders use a union operation to combine data from multiple providers, while Infosets use join operations to link related data. Both objects do not store physical data themselves, instead accessing it in real-time from their constituent providers.
-
The transaction for the OLAP Cache Monitor is RSRCACHE.
-
If the persistent mode is inactive then the cache is inactive and query results will not be cached in memory.
-
A 'read flag' is set in the Cache Monitor when data is read from the cache.
-
When new data is loaded into the info provider which the query is built on, the cache for that query is invalidated.
-
All of the above.
A,C,D
Correct answer
Explanation
The OLAP Cache Monitor (transaction RSRCACHE) manages query result caching in BW. When persistent mode is inactive, cache can still operate in memory mode. A read flag is set when cached data is accessed. When new data is loaded into underlying info providers, related cache entries are invalidated to ensure query results remain current.
-
This will connect the "test" MWS server to new database instance my_wm_msql
-
Create the new instance of My webMethods Server "test"
-
This will start the "test" MWS server to new port 8090 and connect to database instance my_wm_msql
-
Create the new instance of My webMethods Server "test" and configure parameter as given in command line
D
Correct answer
Explanation
The mws new command creates a new My webMethods Server instance and configures it with all the specified parameters (server name, HTTP port, database type/URL/username/password) in one operation. Option D correctly describes this.
-
Users
-
Server Configuration
-
Roles
-
Groups
-
Logs
A,C,D
Correct answer
Explanation
MWS System directory services store user identity and access control data: Users (individual accounts), Roles (permissions), and Groups (user collections). Server configuration and Logs are stored separately, not in directory services.
-
Microsoft SQL Server
-
Oracle
-
DB2 Universal
-
Sybase Adaptive Server
-
Informix
-
Generic ODBC, Custom JDBC
A,B,C,D,E,F
Correct answer
Explanation
MWS connects to diverse enterprise databases for data integration. The support ranges from proprietary systems like SQL Server and Oracle to universal connectivity through ODBC and JDBC, enabling flexible data source integration across different platforms.
-
This is a virtual Infoprovider that does not store data
-
They can contain InfoCubes, ODSs, info objects and info sets
-
More than one info provider is required to build a Multiprovider
-
It is similar to joining the data tables
A,B
Correct answer
Explanation
Multiproviders are virtual InfoProviders that combine data from multiple sources without storing it themselves (A is true). They can contain InfoCubes, ODS objects, InfoObjects, and InfoSets (B is true). However, single InfoProvider can build a Multiprovider (C is false), and they're not like table joins (D is false). Only A and B are correct.