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
-
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
-
Both the datasets must have same block size
-
Both the datasets must have same record length
-
Both the datasets must have same block size and record length
-
No condition is required
B
Correct answer
Explanation
When comparing datasets with utilities like IEBCOMPR, both datasets must have the same record length (LRECL) for a valid comparison. The block size (BLKSIZE) can differ, but the logical record structure must match for byte-by-byte comparison.
-
Yes
-
Only for Uncataloged datasets
-
No
-
Only for cataloged datasets
B
Correct answer
Explanation
Cataloged datasets have their volume serial numbers (VOL=SER) recorded in the system catalog, so the operating system can locate them automatically. Uncataloged tape datasets must specify the volume serial number explicitly so the system knows which tape to mount.
-
TSO
-
CICS
-
IMS
-
BATCH
-
ALL THE ABOVE
E
Correct answer
Explanation
DB2 can be accessed from all these environments: TSO (Time Sharing Option) for interactive use, CICS (Customer Information Control System) for transaction processing, IMS (Information Management System) for database management, and BATCH for scheduled jobs. Each is a valid DB2 access method.
-
Views
-
Normalization
-
Integrity
-
Consistency
B
Correct answer
Explanation
Normalization is the systematic process of organizing fields and tables of a database to minimize data redundancy and dependency by dividing large tables into smaller, linked tables.
-
Is a collection of tables created and maintained by oracle server.
-
Contain user information.
-
Contain database information.
-
Both a and c
-
All
E
Correct answer
Explanation
A data dictionary is a comprehensive repository of metadata about the database structure, maintained by the database server itself. It contains information about tables, users, privileges, constraints, and all database objects. Option E is correct because the data dictionary is indeed a collection of tables, contains database information, and user information.
-
No more than 1 data type conversion is allowed per column during the Fastload
-
If an AMP is down FL cannot be restarted untill that AMP is back online
-
only load 1 empty table with one fast load job
-
Fast load assembles data in 64K blocks and then loads it using mutltiple sessions
-
Fast load supports triggers.
A,B,C
Correct answer
Explanation
Fast Load has specific constraints: it permits at most one data type conversion per column for performance, requires all AMPs to be online for restartability, and loads exactly one empty target table per job. It does not support triggers during load operations.
-
Target table should not be created in the script
-
target table should be created in the script
-
Error tables should not be dropped in the script
-
Checkpoint should be declared in the script
-
Target table should not be dropped in the script
A,C,D,E
Correct answer
Explanation
Fast Load restartability requires maintaining the state across runs. The target and error tables must exist before the script runs and persist after. Dropping them would lose restart information. Checkpoints provide recovery points so FL can resume from the last successful point rather than starting over.
-
It is possible to stipulate how many updates may occur per minute
-
It is possible to have tpump running in the background all the time and just control its flow rate
-
It can load upto 60 tables at a time if using a single source
-
It can be stopped any time and all locks dropped or released with no ill consequences.
-
it uses macro to run the SQL statements
-
It has more error tollerance than FL and ML
A,B,C,D,E
Correct answer
Explanation
Tpump offers flexible real-time loading: configurable update rates (A), continuous background operation with flow control (B), support for up to 60 target tables from one source (C), safe stoppability without lock issues (D), and efficient SQL execution via macros (E). It is not designed for the extensive error handling that Multi Load provides.
-
Explicit Cursor
-
Implicit Cursor
-
Active Data Set
-
None of the above
B
Correct answer
Explanation
When the Oracle database engine automatically opens and manages a SQL cursor for its internal processing of DML statements or queries, it is known as an implicit cursor. Explicit cursors, conversely, are declared and named by developers in PL/SQL.
-
a and b only
-
a,b and c
-
a,c and d
-
All the above
C
Correct answer
Explanation
Source Analyzer in Informatica can import or create multiple source types: relational tables/views/synonyms (a), COBOL files (c), XML files and data models (d). However, fixed-width and delimited flat files containing binary data (b) are NOT supported through Source Analyzer - binary data requires different handling. Therefore the correct combination is a, c, and d.
-
Normal
-
Terse
-
Verbose Initialization
-
Verbose data
D
Correct answer
Explanation
Tracing levels control logging granularity. Normal provides basic info, Terse gives minimal logging, Verbose Initialization logs startup details. Verbose Data writes a log entry for EVERY single row processed, which creates maximum overhead and significantly slows data loading performance. This level is typically used only for debugging specific row-level issues.