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
-
MYSQL
-
SQL Server
-
DB2
-
Oracle
-
All of the above/ Any database suggested by client
B,D
Correct answer
Explanation
Sybase Exodus typically refers to migration projects from Sybase to SQL Server (Microsoft's successor to Sybase technology) or Oracle. MySQL and DB2 are less common targets for Sybase migrations in enterprise contexts.
-
datetime2
-
date
-
datetime
-
timestamp
-
time
C
Correct answer
Explanation
When migrating Sybase to SQL Server, the Sybase datetime datatype maps directly to SQL Server's datetime datatype because both share the exact same storage layout, range, and fractional precision.
-
SQL Developer
-
SwissSQL
-
SSMA
-
SQLWays
-
SQLLdr
-
RazorSQL
-
Indexes
-
Tables
-
public synonyms
-
triggers
-
Packages
C
Correct answer
Explanation
Public synonyms are not owned by any specific user schema - they exist in the database namespace and are available to all users. Private synonyms (like indexes, tables, triggers, packages) are schema objects owned by specific users. The distinction is that public synonyms lack a schema prefix in their naming convention.
B
Correct answer
Explanation
Oracle does not provide an official utility named 'SQL*Unloader' analogous to SQL*Loader. Users typically employ SQL*Plus, SPOOL commands, or external utilities for exporting data to flat files, making the statement false.
-
Any set of rules
-
The set of rules and data that comprise your application
-
A related group of business rules
-
no rules
C
Correct answer
Explanation
A RuleSet in Pega is a related group of business rules that serve a specific purpose or business function. It's not just any set of rules, but a collection of logically related rules that comprise part of your application. RuleSets help organize, version, and deploy rules systematically. Option B is too broad (includes data), and Option D is incorrect.
-
Is any set of related work objects
-
Causes the system to store the instances corresponding to two or more concrete classes that have a common key format in a single database table
-
Is unrelated to your application’s Reporting requirements
-
None of the above
B
Correct answer
Explanation
Class table inheritance stores multiple related class types in a single database table using a common key format. Option B correctly describes this ORM pattern used for mapping inheritance hierarchies. The other options are incorrect distractors that don't relate to database inheritance strategies.
-
A MapValue
-
A Decision Tree
-
A Decision Table
-
All of the above
D
Correct answer
Explanation
A Decision Shape in Pega flows is versatile and can represent a MapValue, a Decision Tree, or a Decision Table depending on your needs. MapValues are for simple property-based decisions, Decision Trees handle complex if-then logic, and Decision Tables are for rule-based conditional logic. All three are valid configurations of a Decision Shape. Options A, B, and C are each individually correct, but incomplete.
-
System Monitor (SMON)
-
Process Monitor (PMON)
-
Database Writer (DBWR)
-
Log Writer (LGWR)
A
Correct answer
Explanation
System Monitor (SMON) is the background process responsible for instance recovery in Oracle. When an Oracle instance fails (crash, power failure, etc.), SMON performs recovery on startup by rolling forward uncommitted changes from redo logs and rolling back uncommitted transactions. PMON handles process cleanup, DBWR writes data files, LGWR manages redo logs - none of these handle instance recovery.
-
Checkpoint (CKPT)
-
Database Writer (DBWR)
-
Process Monitor (PMON)
-
Log Writer (LGWR)
B
Correct answer
Explanation
Database Writer (DBWR) is responsible for writing modified data from the buffer cache to the actual datafiles on disk. This makes changes permanent and ensures durability. DBWR operates asynchronously and uses sophisticated algorithms to optimize write performance. CKPT coordinates checkpoints, PMON handles process cleanup, LGWR writes to redo logs - only DBWR writes to datafiles.
-
Database Buffer Cache
-
Shared Pool
-
Data Dictionary
-
Redolog Group
-
Redolog Buffer
A,B,E
Correct answer
Explanation
The System Global Area (SGA) contains the Database Buffer Cache, Shared Pool, and Redo Log Buffer as its main memory structures. The Data Dictionary is cached within the Shared Pool (not a top-level component), and Redo Log Groups are physical files on disk.
-
Database
-
Controlfile
-
Table
-
Datafile
-
Index
-
Redolog Group
B,D,F
Correct answer
Explanation
Physical database components are the actual operating system files that store database data. Control files contain database metadata and structural information. Datafiles store the actual user data and database objects. Redo log groups contain transaction logs for recovery. Tables and Indexes are LOGICAL structures stored WITHIN these physical files - they're not physical components themselves.
-
Datafile
-
Controlfile
-
Redolog Group
-
Archivelogs
-
Password File
B
Correct answer
Explanation
The control file is the physical component that stores metadata about the database structure, including datafile locations, tablespace details, checkpoint information, and the database layout itself. Datafiles store actual data, redolog groups store transactions for recovery, archivelogs are copies of redologs, and password files authenticate administrators.
-
Datafile
-
Database
-
Controlfile
-
Table
-
Schema
-
Redolog Group
B,D,E
Correct answer
Explanation
Logical components are conceptual structures that organize data: the Database is the overall container, Tables store structured data in rows and columns, and Schemas group related objects logically. Physical components like Datafiles, Controlfiles, and Redolog Groups are actual files on disk that implement these logical structures.
-
Relational Database Management System
-
Rational Database Management System
-
Real Database Management System
-
Rapid Database Management System
A
Correct answer
Explanation
RDBMS stands for Relational Database Management System, a type of database that organizes data into tables with relationships between them, using SQL for data manipulation. The other options (Rational, Real, Rapid) are not correct expansions.