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
-
You need to have the same hardware.
-
The database you mirror to will be in an unused standby state.
-
You cannot have automatic failover.
-
You need to have at minimum three servers.
B
Correct answer
Explanation
In database mirroring, the mirror database remains in a restoring/standby state and cannot be directly read or written to by users, representing idle capacity. Identical hardware is not strictly mandatory, automatic failover is supported, and a witness server is optional.
-
Database Engine Tuning Advisor
-
SQL Server Configuration Manager
-
Database Maintenance Plan Wizard
-
Database Maintenance design surface
C
Correct answer
Explanation
The Database Maintenance Plan Wizard provides a step-by-step interface specifically designed for creating backup and maintenance plans. It is the most appropriate tool for a junior DBA because it simplifies the process of creating a reliable backup strategy. Database Engine Tuning Advisor is for query optimization, and Configuration Manager manages server services.
-
At least one data mart
-
Data that can extracted from numerous internal and external sources
-
Near real-time updates
-
All of the above.
D
Correct answer
Explanation
An active data warehouse architecture includes all the listed components: data marts for focused subject areas, data extraction from multiple sources (internal and external), and near real-time update capabilities. These are all essential characteristics of an active data warehouse. The question asks 'which of the following' making 'All of the above' the correct answer.
-
Data stored in the various operational systems throughout the organization.
-
Current data intended to be the single source for all decision support systems.
-
Data stored in one operational system in the organization.
-
Data that has been selected and formatted for end-user support applications.
B
Correct answer
Explanation
Reconciled data is current, consistent data that serves as the single, authoritative source for all decision support systems in an organization. It is not the raw data in operational systems (which may be inconsistent), nor is it data formatted for specific end-user applications. The reconciliation process creates this unified, current data source.
-
Data in which changes to existing records cause the previous version of the records to be eliminated
-
Data in which changes to existing records do not cause the previous version of the records to be eliminated
-
Data that are never altered or deleted once they have been added
-
Data that are never deleted once they have been added
A
Correct answer
Explanation
Transient data holds only the current state; any update or change to an existing record overwrites and eliminates the previous version. Periodic or historical data retains past versions, while persistent data is characterized by never being altered or deleted after addition.
-
A process to reject data from the data warehouse and to create the necessary indexes
-
A process to load the data in the data warehouse and to create the necessary indexes
-
A process to upgrade the quality of data after it is moved into a data warehouse
-
A process to upgrade the quality of data before it is moved into a data warehouse
D
Correct answer
Explanation
Data scrubbing is the process of cleaning and improving data quality BEFORE it is loaded into the data warehouse. It involves correcting errors, standardizing formats, and resolving inconsistencies during the ETL process. Scrubbing happens as part of the transformation phase, not after loading.
-
A process to reject data from the data warehouse and to create the necessary indexes
-
A process to load the data in the data warehouse and to create the necessary indexes
-
A process to upgrade the quality of data after it is moved into a data warehouse
-
A process to upgrade the quality of data before it is moved into a data warehouse
B
Correct answer
Explanation
The load and index process involves importing data into the data warehouse (loading) and building the indexes required for query performance. Data quality upgrades are part of cleansing and transformation processes that occur before or during the staging phase rather than the loading phase.
-
A process to change data from a detailed level to a summary level
-
A process to change data from a summary level to a detailed level
-
Joining data from one source into various sources of data
-
Separating data from one source into various sources of data
A
Correct answer
Explanation
Data transformation includes converting detailed data into summarized data, such as aggregating transaction-level data into daily or monthly totals. The other options are incorrect: transformation doesn't convert summary to detail, join from one to various sources, or split data arbitrarily. Aggregation is a core transformation function.
-
Converts data from one field into multiple fields
-
Converts data from multiple fields into one field
-
Converts data from multiple fields into multiple fields
-
All of the above
D
Correct answer
Explanation
A multifield transformation (like Normalizer) can perform all three patterns: splitting one field into many (parsing), combining multiple fields into one (concatenation/aggregation), and mapping multiple fields to multiple fields (complex restructuring). Informatica's Normalizer is the classic multifield transformation.
-
Many-to-many
-
One-to-one
-
One-to-many
-
All of the above.
C
Correct answer
Explanation
In a star schema, each dimension table relates to the fact table in a one-to-many relationship - one dimension record (like Product ID) links to many fact table records (transactions). The dimension is the 'one' side, facts are the 'many' side. Many-to-many would require a bridge table, and one-to-one is atypical in dimensional modeling.
-
Completely demoralized
-
Partially demoralized
-
Completely normalized
-
Partially normalized
C
Correct answer
Explanation
Fact tables are typically completely normalized (to 3NF) in dimensional modeling to avoid redundancy and update anomalies. Each fact row represents a single measurement event and contains only foreign keys to dimensions and numeric measures. Denormalization is reserved for dimension tables (for performance), not fact tables.
-
Fact
-
Dimension
-
Helper
-
All of the above
D
Correct answer
Explanation
A snowflake schema extends the star schema by normalizing dimension tables into multiple levels. This introduces all three table types: fact tables (central), dimension tables (primary and secondary), and helper/bridge tables (additional normalization levels). The 'helper' tables are the normalized-out dimension attributes.
-
Run the AD Relink utility and relink the GL product
-
Use License Manager, and register the GL product.
-
Run the "Recreate grants and synonyms for APPS schema" task by using the adadmin utility
-
Run Autopatch, and apply GL latest available patch
-
Run Rapid Install to reinstall the database components
C
Correct answer
Explanation
The 'invalid object or does not exist' error in the APPS schema occurs when the database synonyms or grants pointing from the APPS schema to the underlying product schemas (like GL) are missing or broken. Recreating grants and synonyms using the adadmin utility restores these links. Relinking, patching, or reinstalling is premature.
-
<db_name>DB
-
<db_name>ORA
-
<db_name>COMN
-
FND_TOP
-
APPL_TOP
B
Correct answer
Explanation
In Oracle Applications 11i, the Oracle 8.0.6 database files and iAS (Oracle Internet Application Server) files are stored in the ORA directory. The DB directory doesn't exist in the standard structure. COMN contains common files, FND_TOP is for Application Object Library, and APPL_TOP contains product-specific application files.
-
There is no one-to-one relationship between schemas and users in a database
-
the concept of a database schema is directly tied to the concept of a database user, or a grant from the schema owner
-
The database user and the schema never have the same name
-
A schema can allow another schema to use its objects by granting access
-
An Oracle Application products database objects are divided between the product schema and the APPS Schema