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
-
rational utified pattern
-
spiral pattern
-
agile pattern
-
waterfall pattern
B
Correct answer
Explanation
Data warehousing follows a spiral (iterative) development pattern because requirements evolve as users interact with initial deployments. Each spiral adds new data sources, enhances existing schemas, and refines ETL processes based on feedback. Waterfall is too rigid for this continually evolving environment.
B
Correct answer
Explanation
The four defining characteristics of a data warehouse are: subject oriented (organized by business subjects), time variant (historical data with timestamps), integrated (consistent format across sources), and nonvolatile (once loaded, data is not updated). The statement incorrectly claims not integrated, when integration is a core feature.
-
Assisted by JAD sessions
-
Integrated
-
Extensible
-
Manageable
B,C,D
Correct answer
Explanation
Data warehouses must integrate data from disparate sources (integrated), accommodate new requirements and sources (extensible), and remain maintainable as scope grows (manageable). JAD (Joint Application Development) sessions are useful but not mandatory.
-
normalised
-
denormalised
-
none of the above
-
all the above
A
Correct answer
Explanation
OLAP systems organize data in multidimensional cubes (also called hypercubes), enabling fast analysis across multiple dimensions like time, geography, and product. This structure allows users to drill down, slice, and dice data efficiently. The alternative flat relational model would be much slower for complex analytical queries.
-
Meta Data
-
The work area where we apply our complex business rules
-
Hold the data and does calculations
-
element and related attribute
A,B,C
Correct answer
Explanation
A staging area in ETL processes serves multiple purposes: it stores metadata about the data, provides a workspace to apply complex business rules and transformations before loading to the target, and holds intermediate data for calculations and validation. Distractor D refers to a database schema element, not a staging area function.
-
shared data, processed data, form data
-
shared data, pre-session data and temporary data
-
shared data, post-session data and temporary data
-
shared data, pre-session data and permanent data
B
Correct answer
Explanation
Web services typically manage three types of data: shared data (persistent data accessible across sessions), pre-session data (configuration/initiation data before the session starts), and temporary data (transient data during execution like request variables). Post-session and permanent data are not standard categories.
-
Exp
-
Imp
-
Explain Plan
-
vi Editor
C
Correct answer
Explanation
EXPLAIN PLAN is the SQL command used to analyze and display the execution path that Oracle's optimizer will use for a SQL statement. 'Exp' and 'Imp' are import/export utilities, and 'vi' is a text editor - none analyze SQL access paths.
A
Correct answer
Explanation
Frequent COMMITs release undo segments (which store before-images for rollback), release row and table locks, and free other resources held by the transaction. This improves concurrency and reduces resource contention. The statement is true.
-
Automated Database Deployment Monitor
-
Automated Database Development Monitor
-
Automated Database Diagnostic Monitor
-
Automated Database Distributed Monitor
C
Correct answer
Explanation
ADDM stands for Automated Database Diagnostic Monitor, an Oracle feature that analyzes database performance and provides recommendations. It identifies bottlenecks, inefficient SQL, and resource issues automatically.
-
V$SQL
-
V$SQL_STAT
-
V$SQLSTATS
-
V$SQL_STATISTICS
C
Correct answer
Explanation
V$SQLSTATS is the Oracle view that provides resource utilization metrics for SQL queries, including CPU time, buffer gets, and disk reads. V$SQL provides query text and execution statistics but not detailed resource metrics, while the other two views don't exist.
-
V$SQLSTATS.DISK_READS
-
V$DISK_READS
-
V$SQL_STATS
-
V$SYS_STAT
-
Indexes
-
Tables
-
Public Synonyms
-
Triggers and Packages
C
Correct answer
Explanation
In Oracle database schema objects, indexes, tables, triggers, and packages all belong to a specific schema. Public synonyms, however, are database-wide objects that are not owned by any particular schema - they are created with the PUBLIC keyword and are accessible to all users. This makes Public synonyms the correct answer as 'not a schema object'.
-
USER_TABLES
-
USER_TABS
-
Both 1 & 2
-
None of the above
A
Correct answer
Explanation
In Oracle data dictionary, USER_TABLES is the correct view name to retrieve information about tables owned by the current user. USER_TABS is not a valid Oracle dictionary view. The answer is A only. Other valid views include ALL_TABLES (tables accessible to user) and DBA_TABLES (all tables in database), but the question specifically asks about a given schema.
-
One
-
Two
-
Three
-
None of the above
B
Correct answer
Explanation
In traditional Oracle rollback segment architecture (pre-undo tablespace), a rollback segment must allocate a minimum of TWO extents before it can be used for transaction rollback information. This is a fundamental requirement for rollback segment initialization. The first extent contains the segment header, and at least one additional extent is needed for transaction data.