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. Data about an organization's staff
    1. Data about accounting entries
    1. Data about an organization's structure
    1. Data about an organization's products
    1. Data about transaction activity
Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Transaction activity records individual business events continuously in real-time, making it the most dynamic and frequently changing type of data. Product catalogs, organizational staff, and structural data are structural and change much less frequently.

Multiple choice technology databases
    1. Database backups
    1. Time an uncommon query will take
    1. People entering data into the source database
    1. Number of tables in the data mart, so they do not exceed six tables
    1. Requirements of the department that will use the data mart
Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Data mart design must begin with understanding the business requirements of the department that will use it. This determines what data to include, how to structure it, what metrics to calculate, and how to present the information. Database backups, query performance, data entry processes, and table counts are implementation or operational details that come after defining requirements.

Multiple choice technology platforms and products
  1. Save Post Change

  2. Post Build

  3. Save Pre Change

  4. Workflow

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Save Post Change is the PeopleTools event that fires after all database updates have been successfully completed. This event is part of the save processing cycle and occurs after Save Pre Change (which fires before updates) and the actual database commit, making it ideal for post-save processing and validation.

Multiple choice technology platforms and products
  1. Temp Table

  2. SQL Table

  3. Query Table

  4. Dynamic View

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Meta-SQL statements in PeopleTools are stored in Temp Tables within the PeopleSoft database. These temporary tables hold the dynamic SQL fragments and meta-SQL constructs that are resolved and assembled at runtime into executable SQL statements, providing flexibility and reusability in SQL generation.

Multiple choice technology databases
  1. Query results are bigger than the available space in the result cache are not cached

  2. Query results are stored even when you explicitly use the /*+ no_result_cache */ hint in query.

  3. All query results are stored in the result cache if possible.

  4. Query results are stored only when you explicitly use the /*+ result_cache */ hint in your query

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

RESULT_CACHE_MODE=FORCE forces all query results to be cached if possible, ignoring the /*+ no_result_cache */ hint. The FORCE setting means caching happens regardless of explicit hints. Results are cached when they fit in available cache space, but hints that disable caching are overridden.

Multiple choice technology databases
  1. They can be used as attributes of a user-defined data type.

  2. They cannot use redo logging.

  3. They cannot be passed as parameters to PL/SQL subprograms.

  4. They can be stored in a tablespace that is different from the tablespace that stores the table containing the LOB column

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

Internal LOBs can be used as attributes within user-defined data types (object types), allowing structured data with large object components. They also support separate tablespace storage from their parent table for better management. They DO use redo logging (contrary to option B) and CAN be passed as parameters to PL/SQL subprograms (contrary to option C).

Multiple choice technology databases
  1. DDL report for all objects dependent on a table

  2. DDL report for all the invalidated objects in a schema

  3. data definition language (DDL) report for all the tables in a schema

  4. DDL report for all the objects stored in a tablespace

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

DBMS_METADATA package provides GET_DEPENDENT_DDL to retrieve DDL for all objects that depend on a specified object (like a table). GET_DDL can fetch DDL for objects of a specific type within a schema, such as all tables. It doesn't directly track object invalidation status (B is false) or provide tablespace-level object listings (D is false).

Multiple choice technology platforms and products
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When an Application Engine program is loaded into memory in PeopleSoft, the physical tables that the program will operate on are locked to prevent concurrent modifications. This ensures data integrity during program execution and prevents conflicts from other processes.

Multiple choice technology programming languages
  1. mapping java classes to database tables

  2. mapping of java data types to sql data types

  3. data querying and retreival

  4. all the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Hibernate is a comprehensive ORM framework that handles mapping Java classes to database tables, converting Java data types to SQL data types, and providing querying mechanisms like HQL and Criteria API for data retrieval.

Multiple choice technology programming languages
  1. Object oriented Query language

  2. Transparent persistence without byte code processing

  3. High Perfomance

  4. Automatic Composite Key generation

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Hibernate provides HQL (object-oriented query language), works with plain POJOs without bytecode instrumentation for transparent persistence, and offers high performance through caching and lazy loading. Automatic composite key generation is not a standard feature.