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
-
The MAXLOGFILES are set too low
-
The CONTROLFILE REUSE clause is omitted
-
The online redo log files cannot be reused
-
The data file belonging to the SYSTEM tablespace cannot be reused
B
Correct answer
Explanation
The CREATE DATABASE statement fails because CONTROLFILE REUSE clause is missing. When reusing existing database files (specified by REUSE for datafiles and logs), you must explicitly include CONTROLFILE REUSE to allow Oracle to reuse the existing control file. Without this clause, Oracle attempts to create a new control file, causing conflict. Option A is incorrect because MAXLOGFILES=5 is reasonable. Option C is incorrect because online redo logs CAN be reused (the REUSE clause explicitly allows this). Option D is incorrect because the SYSTEM tablespace datafile can be reused with REUSE.
-
Data Load Performance
-
Batch Calculation Performance
-
Retrieval Performance
-
None of the above
C
Correct answer
Explanation
Attribute dimensions in Essbase are sparse dimensions used primarily for reporting and analysis. When attribute dimensions are used extensively, they can slow down data retrieval operations because the system needs to perform additional lookups and calculations to associate attribute values with the base data. This doesn't significantly affect data load or batch calculation performance.
-
The number of CPUs on the server
-
The degree of parallelism on the tables
-
The use of bitmap indexes
-
The quality of the SQL optimization
D
Correct answer
Explanation
SQL statement tuning focuses primarily on improving the execution plan generated by the optimizer. While hardware resources like CPU count, index choices, and parallelism influence execution environment decisions, the fundamental component of statement tuning is the quality of the SQL optimizer's decisions and execution plans.
-
Columns of defined Datatype
-
Tables schema information within them.
-
All of the above
-
None of the above
C
Correct answer
Explanation
Strongly typed datasets encapsulate both table definitions and column data types within their schema, providing compile-time type safety. Unlike untyped datasets, they know the structure and data types at design time.
A
Correct answer
Explanation
Row migration occurs when a row grows too large to fit in its original data block due to insufficient PCTFREE space. PCTFREE reserves space in each block for future updates to existing rows. If set too low and rows expand, they must migrate to new blocks, leaving a forwarding pointer. This degrades performance due to additional I/O.
-
To get automatic values
-
For esay access
-
For fast access
-
All of the above
C
Correct answer
Explanation
The CACHE option in Oracle sequences pre-allocates sequence values and keeps them in memory for faster access. This minimizes disk I/O when generating values. While the sequence generates automatic values, CACHE specifically optimizes speed.
-
Time card Application
-
Word Processor
-
Online Auction Management
-
Inventory management
A,C,D
Correct answer
Explanation
Data-centric applications focus primarily on data storage and management (like Time Card apps for tracking hours and Inventory management for stock data), while process-centric applications focus on business processes and workflows (like Online Auction Management which handles the bidding process). Word Processor is neither - it's a document creation tool, not characterized by data storage or business process management.
B
Correct answer
Explanation
Teradata does not maintain rows in the received order. Teradata distributes rows across AMPs (Access Module Processors) based on hash values of primary index columns, so the physical storage order is not the same as insertion order.
-
PMON
-
CMON
-
Both
-
None of the above
A
Correct answer
Explanation
PMON (Process Monitor) determines the number of concurrent users to the database. PMON monitors and manages user processes and connections, controlling database access and resource allocation.
-
They are reusable by nature
-
They encapsulate part of the functionality of a Workflow/Mapping
-
They have their own Designer tool
-
They can be nested
D
Correct answer
Explanation
Worklets can be nested within other worklets (hierarchical workflow organization), but Mapplets cannot be nested within other mapplets. Both are reusable, both encapsulate functionality, but only worklets support nesting. This is the key distinguishing feature.
-
Data Stencil
-
Template Doc
-
Designer
-
Format
A
Correct answer
Explanation
Data Stencil in Informatica PowerCenter Designer creates reusable mapping templates. These templates can generate multiple similar mappings efficiently. Template Doc, Designer (the tool itself), and Format are not template creation features.
-
Clusters
-
Synonym
-
Views
-
Sequences
D
Correct answer
Explanation
Sequences are database objects specifically designed to generate unique sequential numbers, often used for auto-incrementing primary keys. Clusters are for physical storage organization, synonyms are alternative names for objects, and views are virtual tables - none generate unique numbers.
-
Views
-
Aliases
-
Sequence
-
Normalization
D
Correct answer
Explanation
Normalization is the database design process of organizing data to reduce redundancy and dependency. Views are virtual tables, aliases are alternative names, and sequences generate unique numbers - only normalization specifically addresses redundancy reduction.
-
MySQL on Windows Azure
-
SQL Server on Windows Azure
-
Windows Azure as part of SQL Server
-
All of the Above
B
Correct answer
Explanation
SQL Azure (now called Azure SQL Database) is essentially SQL Server hosted as a service on the Windows Azure platform. It's not MySQL, and Windows Azure is not part of SQL Server - rather, SQL Server is part of the Azure platform.
-
Database Save
-
Database Update
-
Database Deletion
-
All of the above
D
Correct answer
Explanation
Trigger rules execute whenever database operations occur on objects in PEGA. This includes creating new objects (save), modifying existing objects (update), and removing objects (delete) from the database. The trigger mechanism allows automatic execution of business logic at these data modification points.