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
-
To tune memory using the existing *_AREA_SIZE parameters.
-
To allocate memory to work areas in order to optimize throughput only.
-
To allocate memory to work areas in order to optimize response time only.
-
To allocate memory to work areas in order to optimize both throughput and response time.
-
To ensure that the overall size of the PGA will never exceed the value of PGA_AGGREGATE_TARGET.
D,E
Correct answer
Explanation
When WORKAREA_SIZE_POLICY is set to AUTO, Oracle automatically manages PGA memory allocation. The policy aims to optimize both throughput (overall processing volume) and response time (individual query speed), while ensuring the total PGA memory stays within the PGA_AGGREGATE_TARGET limit.
-
UNDOSTAT
-
ROLLSTAT
-
TRANSACTION
-
DBA_UNDO_EXTENTS
-
DBA_ROLLBACK_SEGS
A
Correct answer
Explanation
The V$UNDOSTAT view (or UNDOSTAT) contains historical statistics to monitor and estimate the undo space requirements and transaction workloads on an Oracle database.
-
The instance will not start.
-
The instance starts up and uses the SYSTEM rollback segment for all undo entries.
-
The instance starts up and uses the SYSTEM tablespace for the automatic undo segments.
-
The instance starts up and uses the first available undo tablespace for the automatic undo segments.
D
Correct answer
Explanation
In Automatic Undo Management mode, if no UNDO_TABLESPACE parameter is specified, Oracle automatically selects the first available undo tablespace. The instance starts successfully and uses this available undo tablespace. It doesn't fail, and doesn't fall back to SYSTEM rollback segments or tablespace for undo data.
-
To tune memory using the existing *_AREA_SIZE parameters.
-
To allocate memory to work areas in order to optimize throughput only.
-
To allocate memory to work areas in order to optimize response time only.
-
To allocate memory to work areas in order to optimize both throughput and response time.
-
To ensure that the overall size of the PGA will never exceed the value of PGA_AGGREGATE_TARGET.
D,E
Correct answer
Explanation
When WORKAREA_SIZE_POLICY is set to AUTO, Oracle automatically allocates memory to work areas to optimize both throughput and response time, while ensuring total PGA memory stays within the PGA_AGGREGATE_TARGET limit.
-
File used for database connectivity
-
File used to define data format
-
File used to hold lookup data
-
File used to store Data Byte size
A
Correct answer
Explanation
A DB config file in Ab Initio contains connection parameters like database type, hostname, port, username, and credentials required to establish database connectivity for components like Input Table and Output Table.
-
Using m_db unload command
-
Using m_db create dml command
-
Using m_db hosts command
-
Using m_db gendml command
-
Data is collected from multiple data sources
-
Data is loaded into data warehouse
-
Meta data is built
-
None of the above
A
Correct answer
Explanation
The E (Extract) phase of ETL is where data is collected from multiple source systems - databases, files, APIs, logs, etc. The T (Transform) phase cleans and converts this data. The L (Load) phase writes it to the data warehouse, so options B and C are incorrect for the extract phase.
-
Single Field
-
Composite
-
Index Based
-
Finite State
B
Correct answer
Explanation
A fact table in a dimensional model typically uses a composite primary key, which is composed of the foreign keys referencing the surrounding dimension tables.
-
Structured Query Language
-
XQuery
-
Data Mining Extensions
-
Multi dimensional Expressions
C
Correct answer
Explanation
Data Mining Extensions (DMX) is a query language specifically designed for creating and working with data mining models in Microsoft SQL Server Analysis Services. SQL is for general databases, XQuery queries XML, and MDAX (Multi-dimensional Expressions) is for OLAP cubes, not data mining.
-
Balloon
-
Fuzzy
-
Strict
-
Cloud
B
Correct answer
Explanation
Fuzzy validation is the correct technique for finding similar matches when cleansing data. Fuzzy matching allows for approximate string comparisons that can catch near-duplicates, typos, and variations that strict exact matching would miss. Balloon, Strict, and Cloud are not validation types used for similarity matching in data cleansing.
-
Validate objects and the pipeline
-
Generate services that interact with external databases
-
Perform string manipulation and substitution operations
-
Convert DTD files to XSD schemas
A
Correct answer
Explanation
The WmPublic package's pub.schema folder contains validation services for objects and pipeline data. These services validate document structures, field types, and ensure data integrity before processing. The other options describe different functionality (database interaction is in pub.sql, string manipulation in pub.string, DTD/XSD conversion in pub.xml).
-
A framework where test input and output values are read from data files.
-
Test case is contained in the data file and not in the script.
-
Kewords are most important aspect of this framework.
-
Only test data is contained in the data files.
A,D
Correct answer
Explanation
Data-Driven Framework separates test data from test logic - input/output values come from data files (A), and only test data resides in those files (D). Test logic remains in scripts, making B false. Keywords are central to keyword-driven frameworks, not data-driven (C false).
-
A hybrid framework using Keyword and Data Driven framework.
-
Data Driven Framework.
-
Table-Driven Framework.
-
None of the above.
A
Correct answer
Explanation
A hybrid framework combining Keyword and Data Driven approaches allows test cases (keywords/steps) and test data to be stored together in external data files, separating test logic from the execution engine.
-
Keyword Driven
-
Data Driven
-
Record & Play
-
All of the above.
C
Correct answer
Explanation
Mercury (HP) QTP was built on the fundamental Record & Playback capability. While Mercury later promoted Keyword Driven Framework as the best practice, the question asks what framework they 'modeled' - referring to the core automation approach built into the tool itself. The most basic framework type is Record & Play, which captures user interactions exactly as performed.
-
None of the above
-
False
-
Partially True
-
True
D
Correct answer
Explanation
CQL (likely Context Query Language or similar) serves as an abstraction layer between physical implementation (how data is stored) and logical implementation (how data is conceptually organized) in the LLWCM database. Abstraction layers hide complexity and provide a uniform interface, making this statement accurate.