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
-
Source, Targets, Transformations, Links
-
Source, Targets, Expressions, Session
-
Source, Target, Session, Workflow
-
Session, Workflow, connection, Transformations
A
Correct answer
Explanation
In ETL/data mapping, every mapping requires source data to read from, targets to write to, transformations to process data, and links/connections to connect these components. Options B and C are incorrect because they mix execution components (session, workflow) with mapping components. Option D omits the essential source and target components.
-
Standalone Repository
-
Global Repository
-
Local Repository
-
Versioned Repository
-
All the above
E
Correct answer
Explanation
Informatica Repository Manager supports multiple repository types: Global repositories store shared metadata across the organization, Local repositories contain project-specific objects, Standalone repositories work independently, and Versioned repositories maintain version history. Each type serves different organizational needs.
-
Microsoft Access
-
Microsoft SQL Server
-
IBM DB2
-
Oracle
C,D
Correct answer
Explanation
PowerCenter Server on UNIX natively connects to enterprise databases like IBM DB2 and Oracle, which are commonly deployed on UNIX platforms. Microsoft Access and SQL Server are Windows-centric databases and not typically used with UNIX PowerCenter installations.
-
Recovery can be performed
-
Can improve performance of a session that inserts a large amount of data to a db2,sysbase,oracle or MS SQL server database.
-
Target database can perform Rollback
-
Similar to Normal loading
B
Correct answer
Explanation
Bulk loading bypasses database logging to significantly improve insertion performance for large datasets in databases like DB2, Oracle, or SQL Server. Because it bypasses transaction logging, rollback and standard recovery operations cannot be performed, making distractors false.
A
Correct answer
Explanation
Dynamic content publishing refers to the automated process of transforming structured corporate data into personalized, formatted communications for various output channels. This includes print, digital archives, email campaigns, and web publishing, enabling organizations to deliver targeted content efficiently.
A
Correct answer
Explanation
xPression supports multiple data source formats for customer data including XML files, relational database systems (RDB), and XQuery files. This allows flexibility in integrating with different data storage systems and formats.
-
SQL Server
-
DB2
-
Oracle
-
MS Access
D
Correct answer
Explanation
Enterprise xPression installations require enterprise-grade database systems. SQL Server, DB2, and Oracle are all enterprise databases suitable for production use. MS Access is a desktop database not designed for enterprise-scale deployments, making it invalid for this use case.
-
It is the point at which ORACLE starts writing to one online redo log file and begins writing to another at same time
-
It is the point at which ORACLE ends writing to one online redo log file and begins writing to another
-
It is the point at which ORACLE starts writing to one online redo log file and ends writing to another
-
It is the point at which ORACLE ends writing to one online redo log file and starts writing to another
B
Correct answer
Explanation
A log switch occurs when Oracle finishes writing to one online redo log file and begins writing to the next one. This happens automatically when the current redo log fills up. Option B correctly describes this as ending one file and starting another. Options A and C incorrectly state Oracle starts writing to both files simultaneously, which is not how log switching works. Option D is nearly correct but has awkward phrasing with 'starts writing to another' being less precise than 'begins writing to another'.
-
Database Buffer Cache
-
Redo Log Buffer
-
Shared Pool
-
PGA
C
Correct answer
Explanation
The Shared Pool contains the data dictionary cache (row cache), which caches metadata information about tables, columns, and privileges. The Database Buffer Cache holds actual data blocks, the Redo Log Buffer caches transaction recovery info, and the PGA holds private session and SQL execution work areas.
-
To access the HR user account, the account should be unlocked first
-
All accounts created by the Database Creation Assistant are locked
-
The SYS and SYSTEM accounts use the same default password as in previous Oracle versions
-
All accounts created by the Database Creation Assistant initially have expired passwords
A
Correct answer
Explanation
When creating an Oracle database using the Database Creation Assistant, most default accounts are initially locked for security. The HR account (Human Resources schema) exists but must be explicitly unlocked before use. Option A correctly states this requirement. Option B is incorrect because not all accounts are locked (some like SYS/SYSTEM are accessible). Option C is incorrect because modern Oracle versions require password changes, not reusing old defaults. Option D is incorrect because accounts don't have expired passwords initially - they're locked.
-
The related columns of the tables are called the cluster key. The cluster key is indexed using a cluster index and its value is stored only once for multiple tables in the cluster.
-
The related columns of the tables are called the cluster key. The cluster key is indexed using a b+ tree index and its value is stored only once for multiple tables in the cluster.
-
The related columns of the tables are called the cluster key. The cluster key is indexed using a bitmap index and its value is stored only once for multiple tables in the cluster.
-
The related columns of the tables are called the cluster key. The cluster key is indexed using a range index and its value is stored only once for multiple tables in the cluster.
A
Correct answer
Explanation
In an Oracle table cluster, the cluster key consists of the related columns shared by the clustered tables. This key is indexed using a cluster index, allowing rows with the same key value to be stored together physically, reducing storage redundancy. B-tree, bitmap, or range indexes are not used for cluster keys.
-
Two-phase commit is mechanism that guarantees a distributed transaction that always commits on all involved nodes to maintain data consistency across the global distributed database.
-
Two-phase commit is mechanism that guarantees a distributed transaction either commits on all involved nodes or rolls back on all involved nodes to maintain data consistency across the global distributed database. It has two phase, a Prepare Phase and a C
-
Two-phase commit is mechanism that guarantees a distributed transaction that always rollback on all involved nodes to maintain data consistency across the global distributed database.
-
Two-phase commit is mechanism that guarantees a distributed transaction that always commit on all involved nodes to maintain data consistency across the global heirarchical database.
B
Correct answer
Explanation
Two-Phase Commit (2PC) ensures distributed transactions either commit on all nodes OR roll back on all nodes, maintaining consistency. It has two phases: Prepare Phase (all nodes verify they can commit) and Commit Phase (coordinator instructs all to commit). Option A incorrectly states it always commits, which would allow inconsistency. Option C incorrectly states it always rolls back. Option D mentions 'heirarchical database' (typo for hierarchical) and incorrectly states it always commits. Option B correctly describes the all-or-nothing guarantee with both phases.
-
Heterogeneous Services
-
Oracle Connection Manager
-
Dynamic Service Registration
-
Oracle Names Server
C
Correct answer
Explanation
When an instance is down, Oracle Net's Dynamic Service Registration enables automatic failover. With service registration, listeners track instance availability and can redirect connection requests to surviving instances without manual configuration. Heterogeneous Services (A) is for non-Oracle data sources. Oracle Connection Manager (B) provides connection pooling and firewall features, not failover. Oracle Names Server (D) is a deprecated naming/directory service.
-
It consists of Redo Log files that have archived before being reused.
-
It consists of Redo Log files that have archived after being reused.
-
It consists of Redo Log files that is archiving when currently being reused.
-
It consists of Redo Log files that have archived not being reused.
A
Correct answer
Explanation
Archived Redo Logs are copies of online redo log files that have been saved before being reused. When an online redo log fills, Oracle switches to a new log. Archiving (if enabled) copies the filled log to an archive location before it can be overwritten. Option A correctly states they are archived before reuse. Option B is incorrect because archiving happens before, not after, reuse. Option C incorrectly suggests archiving occurs during reuse. Option D is incorrectly phrased and unclear.
-
V$LOG
-
V$THREAD
-
V$DATAFILE
-
All of the above
D
Correct answer
Explanation
Dynamic performance views like V$LOG, V$THREAD, and V$DATAFILE obtain their structural database details directly from the control file. Since all these views rely on the database's physical layout and current states registered in the control file, 'All of the above' is the correct answer.