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
-
It is the Primary Key of the table, which guarantees uniqueness
-
It allows instantaneous dropping of old data and rapid addition of new data
-
It avoids full table scans without the overhead of a secondary index.
-
It places all data in a specific range on the same AMP.
C,D
Correct answer
Explanation
PPI provides two key advantages: (C) It enables efficient range queries and eliminates full table scans without requiring a secondary index structure, and (D) It ensures all data within a specific range is stored on the same AMP, improving range query performance. Option A is incorrect because NUPI, not PPI, guarantees uniqueness. Option B is incorrect - while PPI facilitates data removal/addition by partition, it's not instantaneous.
-
creating a report to show a comparison of sales from this week to last week
-
creating a report show how much credit can be extended to a customer
-
creating a report that shows the top ten selling items across all stores for one year
-
updating a checking account to reflect a deposit
D
Correct answer
Explanation
OLTP (Online Transaction Processing) systems are characterized by individual, transactional operations that update data in real-time. Updating a checking account to reflect a deposit is a classic OLTP operation. The other options - sales comparison reports, credit limit reports, and top-selling item reports - are all OLAP (Online Analytical Processing) activities involving historical data analysis and reporting.
-
A logon, submittal of work, and logoff
-
A single sql statement
-
A logical unit or work
-
A single sql, statement and the unit of recovery
C
Correct answer
Explanation
A transaction is defined as a logical unit of work (LUW) - one or more SQL statements that are treated as a single atomic operation. Either all statements in the transaction complete successfully, or none do (ACID properties). A transaction is not simply a logon/logoff sequence, nor is it limited to a single SQL statement, and while it relates to recovery, it's not defined solely by recovery units.
-
Views
-
Aliases
-
Sequence
-
Normalization
D
Correct answer
Explanation
Normalization is the process of organizing data in a database to minimize data redundancy and dependency. Views, aliases, and sequences do not reduce redundancy; they serve for abstraction, renaming, and generating unique numbers.
-
a.Send messages only when error occurs
-
b.Extended log with Parameter substitution
-
c.Standard Log
-
d.Extended log with Data returned by server
A
Correct answer
Explanation
Default logging in performance testing tools like LoadRunner is minimal - only errors are logged. This reduces I/O overhead during load tests, which is critical for accurate performance measurements.
A
Correct answer
Explanation
Drill-through reports enable users to click on a data point in one report and navigate to a related report with more detailed or contextual information about that specific value.
-
Metadata for transformation
-
Source schema
-
Target schema
-
None
A
Correct answer
Explanation
The Informatica Repository stores ALL metadata including transformation rules, mappings, workflows, source definitions, target definitions, and sessions. However, given the question structure requiring a single choice, 'Metadata for transformation' is the most comprehensive and central answer. Source and target schemas are stored but are subsets of the broader metadata. The repository is essentially a metadata database managing all ETL artifacts.
A
Correct answer
Explanation
Informatica PowerCenter Server uses native database drivers for optimal connectivity and performance. For Oracle databases, it uses Oracle Call Interface (OCI) client libraries rather than generic ODBC or JDBC drivers.
C
Correct answer
Explanation
Universe is the semantic layer in BusinessObjects that maps database objects to business terminology. It acts as an abstraction layer between the physical database and end-user reporting tools like WebI and DeskI. The universe contains classes, objects, and measures that users see in their reporting interface.
-
drill up/down
-
drill by
-
drill through
-
all the above
A,B
Correct answer
Explanation
WebI provides drill up (navigate to higher hierarchy level) and drill down (navigate to more detailed level) as standard analysis features. Drill by allows drilling on a specific dimension or hierarchy. While drill through exists, it's not typically listed as a standard drill option in the same category.
-
Filter
-
Lookup
-
Rank
-
Stored Procedure
B,D
Correct answer
Explanation
Return ports are available in Lookup and Stored Procedure transformations to pass values back to the mapping. Filter and Rank transformations do not have return ports.
-
Active
-
Passive
-
Connected
-
Unconnected
B,C,D
Correct answer
Explanation
Stored Procedure transformations can be Passive, Connected, or Unconnected. They are not classified as Active because they execute procedures directly in the database.
-
The session will not initiate.
-
The session will initiate but will fail.
-
The session will run successfully without writing the source, target, log, bad & cache files.
-
The session will run successfully & write successfully into the source, target, log, bad & cache files.
B
Correct answer
Explanation
When Informatica server cannot write to required directories (session log, bad files, cache files), the session initiates but fails during execution when it attempts to write these files. The initialization succeeds, but the runtime fails due to permission issues.
-
Relative Data Field
-
Relative Definition Field
-
Record Data Field
-
Record Definition Field
D
Correct answer
Explanation
RDF stands for Record Definition Field in database/records management contexts. The other options (Relative Data Field, Relative Definition Field, Record Data Field) are not standard abbreviations. RDF is used to define the structure and format of data records.
-
All DDL statements
-
All DML statements
-
SPs, functions and triggers
-
DDL & DML
C
Correct answer
Explanation
Database unit tests in VSTT are designed to test programmable database objects like Stored Procedures (SPs), functions, and triggers because these contain business logic that can be validated through testing. DDL statements (CREATE, ALTER, DROP) define database structure and are typically tested through integration or schema tests, while DML statements (INSERT, UPDATE, DELETE) are data operations that are better tested at a higher level.