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

Multiple choice technology databases
  1. Automated Database Deployment Monitor

  2. Automated Database Development Monitor

  3. Automated Database Diagnostic Monitor

  4. Automated Database Distributed Monitor

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

ADDM stands for Automated Database Diagnostic Monitor, an Oracle feature that analyzes database performance and provides recommendations. It identifies bottlenecks, inefficient SQL, and resource issues automatically.

Multiple choice technology databases
  1. V$SQL
  2. V$SQL_STAT
  3. V$SQLSTATS
  4. V$SQL_STATISTICS
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

V$SQLSTATS is the Oracle view that provides resource utilization metrics for SQL queries, including CPU time, buffer gets, and disk reads. V$SQL provides query text and execution statistics but not detailed resource metrics, while the other two views don't exist.

Multiple choice technology databases
  1. 11g

  2. 9i

  3. 8i

  4. 10g

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

Automatic Workload Repository (AWR) was introduced in Oracle 10g as part of the Automatic Workload Repository infrastructure. It provides statistics and performance metrics for database optimization. AWR did not exist in earlier versions like 8i or 9i.

Multiple choice technology databases
  1. Indexes

  2. Tables

  3. Public Synonyms

  4. Triggers and Packages

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

In Oracle database schema objects, indexes, tables, triggers, and packages all belong to a specific schema. Public synonyms, however, are database-wide objects that are not owned by any particular schema - they are created with the PUBLIC keyword and are accessible to all users. This makes Public synonyms the correct answer as 'not a schema object'.

Multiple choice technology databases
  1. USER_TABLES

  2. USER_TABS

  3. Both 1 & 2

  4. None of the above

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

In Oracle data dictionary, USER_TABLES is the correct view name to retrieve information about tables owned by the current user. USER_TABS is not a valid Oracle dictionary view. The answer is A only. Other valid views include ALL_TABLES (tables accessible to user) and DBA_TABLES (all tables in database), but the question specifically asks about a given schema.

Multiple choice technology databases
  1. One

  2. Two

  3. Three

  4. None of the above

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

In traditional Oracle rollback segment architecture (pre-undo tablespace), a rollback segment must allocate a minimum of TWO extents before it can be used for transaction rollback information. This is a fundamental requirement for rollback segment initialization. The first extent contains the segment header, and at least one additional extent is needed for transaction data.

Multiple choice technology databases
  1. True

  2. False

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

The Oracle data dictionary is a collection of read-only tables and views that store metadata about the database structure. It contains information about all physical and logical structures including tables, tablespaces, datafiles, users, privileges, and other database objects. This metadata is essential for the database to function and manage itself efficiently.

Multiple choice technology databases
  1. The server machines

  2. Oracle application servers

  3. Oracle databases

  4. Third-party products

  5. All of the above

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

Oracle Enterprise Manager Grid Control is a comprehensive management tool that monitors and manages the entire IT infrastructure. It can manage server machines (hardware/OS), Oracle application servers, Oracle databases, and even third-party products through various management packs and connectors.

Multiple choice technology databases
  1. Java

  2. Any other language linked to the OCI libraries

  3. SQL

  4. C

  5. PL/SQL

  6. All the above expect Option 2

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

Oracle database supports multiple embedded languages. Java can run within the database via Java Virtual Machine (JVM). SQL and PL/SQL are native languages. While C can interact through OCI (Oracle Call Interface), option B about 'any other language linked to OCI' is misleading - not all OCI-linked languages can run INSIDE the database, only Java, SQL, and PL/SQL are truly embedded.

Multiple choice technology databases
  1. True

  2. False

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

The Grid abstraction layer in Oracle is designed to hide complexity from developers and DBAs. Application developers write SQL and PL/SQL code without needing to understand the underlying Grid infrastructure, resource management, or clustering details. The Grid manages resources transparently, allowing developers to focus on business logic rather than infrastructure implementation.

Multiple choice technology web technology
  1. SOA repository

  2. BPEL

  3. SOA registry

  4. JCA adapters

  5. none of the above

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

An SOA registry serves as a central metadata repository for services - storing information about service locations, interfaces, policies, and dependencies. A repository stores actual service artifacts, while a registry stores metadata and references.

Multiple choice technology
  1. a. duplicate rows are sorted based on the case.

  2. b. You can configure the Sorter transformation to treat output rows as distinct.

  3. c. The Integration Service rejects duplicate rows compared during the sort operation.

  4. d.none of the above

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

The Sorter transformation can be configured with the 'Distinct' output option to treat output rows as distinct, removing duplicates during the sort operation. When enabled, the Sorter uses the sort key columns to identify and eliminate duplicate rows, passing only unique rows to downstream transformations. This is more efficient than using an Aggregator or Expression transformation after sorting to remove duplicates. The other options are incorrect: duplicates are not rejected, they can be eliminated; there's no case-based duplicate sorting behavior.