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
-
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).
-
XSL and WSL
-
XQL and WSL
-
WQL and XQL
-
XSLT and XPATH
-
Invalid File
-
File is full; cannot write
-
File is in Use
-
Cannot find the file
C
Correct answer
Explanation
Guardian error 12 represents 'File is in Use' - meaning the requested file is locked by another process. This is a file access conflict error, not a file-not-found or file-full error. The file exists but cannot be accessed due to an existing lock.
-
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.
-
I & II Only
-
I & IV Only
-
III Only
-
II & IV Only
A
Correct answer
Explanation
The claimed answer indicates that ODBC Stage (I) and UniVerse Stage (II) support reference links with multi-row result sets, while OraBulk Stage (III) and DB2 stage (IV) do not support this feature. Reference links allow lookup operations that can return multiple rows for matching keys.
-
Teradata API
-
DRS Teradata
-
Teradata Enterprise
-
Teradata Multiload
D
Correct answer
Explanation
Teradata Multiload stage invokes Teradata's MultiLoad utility for high-volume bulk data loading. Teradata API uses standard SQL, DRS is database-generic, and Teradata Enterprise is not the stage name for utility invocation.
-
Entire
-
Modulus
-
Round Robin
-
Random
-
Hash
A,C,D
Correct answer
Explanation
Entire, Round Robin, and Random partitioning methods are keyless - they distribute data without using a key field. Hash and Modulus require key values to determine partition assignment.
-
The correlation ID enables Oracle BPEL Server to correlate the response with the appropriate requesting instance
-
The correlation ID carries transaction information between BPEL processes
-
The developer needs to set the value of the correlation ID while coding the BPEL process
-
The correlation ID is automatically set by the BPEL engine at run-time
A,D
Correct answer
Explanation
The correlation ID in WS-Addressing enables proper message routing between request and response. It is automatically generated by the BPEL engine at runtime - developers do not set it manually. It carries routing information, not transaction data.