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

Multiple choice technology databases
  1. Fact

  2. Dimension

  3. Helper

  4. All of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Run the AD Relink utility and relink the GL product

  2. Use License Manager, and register the GL product.

  3. Run the "Recreate grants and synonyms for APPS schema" task by using the adadmin utility

  4. Run Autopatch, and apply GL latest available patch

  5. Run Rapid Install to reinstall the database components

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. <db_name>DB

  2. <db_name>ORA

  3. <db_name>COMN

  4. FND_TOP

  5. APPL_TOP

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. There is no one-to-one relationship between schemas and users in a database

  2. the concept of a database schema is directly tied to the concept of a database user, or a grant from the schema owner

  3. The database user and the schema never have the same name

  4. A schema can allow another schema to use its objects by granting access

  5. An Oracle Application products database objects are divided between the product schema and the APPS Schema

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology mainframe
  1. Both the datasets must have same block size

  2. Both the datasets must have same record length

  3. Both the datasets must have same block size and record length

  4. No condition is required

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. Yes

  2. Only for Uncataloged datasets

  3. No

  4. Only for cataloged datasets

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology mainframe
  1. TSO

  2. CICS

  3. IMS

  4. BATCH

  5. ALL THE ABOVE

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Is a collection of tables created and maintained by oracle server.

  2. Contain user information.

  3. Contain database information.

  4. Both a and c

  5. All

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. No more than 1 data type conversion is allowed per column during the Fastload

  2. If an AMP is down FL cannot be restarted untill that AMP is back online

  3. only load 1 empty table with one fast load job

  4. Fast load assembles data in 64K blocks and then loads it using mutltiple sessions

  5. Fast load supports triggers.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. Target table should not be created in the script

  2. target table should be created in the script

  3. Error tables should not be dropped in the script

  4. Checkpoint should be declared in the script

  5. Target table should not be dropped in the script

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology databases
  1. It is possible to stipulate how many updates may occur per minute

  2. It is possible to have tpump running in the background all the time and just control its flow rate

  3. It can load upto 60 tables at a time if using a single source

  4. It can be stopped any time and all locks dropped or released with no ill consequences.

  5. it uses macro to run the SQL statements

  6. It has more error tollerance than FL and ML

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology programming languages
  1. Explicit Cursor

  2. Implicit Cursor

  3. Active Data Set

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. a and b only

  2. a,b and c

  3. a,c and d

  4. All the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology
  1. Normal

  2. Terse

  3. Verbose Initialization

  4. Verbose data

Reveal answer Fill a bubble to check yourself
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.