0

Oracle and SQL

Description: SQL
Number of Questions: 15
Created by:
Tags: SQL Java/Oracle /C/C++
Attempted 0/15 Correct 0 Score 0

Which of the following operations in SQL retrieves the rows from the active set, one row at a time?

  1. Declaring the cursor

  2. Opening a cursor

  3. Fetching data from cursor

  4. Closing the cursor

  5. Active data set


Correct Option: C
Explanation:

This operation in SQL retrieves the rows from the active set, one row at a time.

Which of the following levels of RAID technology refers to disk mirroring with block?

  1. RAID level 0

  2. RAID level 1

  3. RAID level 2

  4. RAID level 3

  5. RAID level 4


Correct Option: B
Explanation:

This level of RAID technology refers to disk mirroring with block.

Which of the following objects in PL/SQL returns data value at the end?

  1. Procedure

  2. Triggers

  3. Cursor

  4. Function

  5. Alert


Correct Option: D
Explanation:

This object in PL/SQL returns data value at the end.

In distributed database systems, each server participating in a distributed database is administered independently from all other databases means

  1. enterprise manager

  2. third party administration tools

  3. SNMP support

  4. site autonomy

  5. replication transparency


Correct Option: D
Explanation:

Site autonomy means that each server participating in a distributed database is administered independently from all other databases.

Which of the following properties of transaction management requires that if a transaction is interrupted by a failure, its partial results are not at all taken into consideration and the whole operation has to be repeated?

  1. Durability

  2. Atomicity

  3. Serializability

  4. Isolation

  5. Concurrency


Correct Option: B
Explanation:

This property of transaction management requires that if a transaction is interrupted by a failure its partial results are not at all taken into consideration and the whole operation has to be repeated.

Which of the following roles in distributed transaction refers to a node that is forced to reference data on other nodes to complete its part of the transaction?

  1. Database server

  2. Commit point site

  3. Local coordinator

  4. Global coordinator

  5. Client


Correct Option: C
Explanation:

This role in distributed transaction refers to a node that is forced to reference data on other nodes to complete its part of the transaction.

Which of the following is an area or automatic storage management disk group that serves as the default storage area for files related to recovery?

  1. Oracle flashback database

  2. Incrementally updated backups

  3. Flash recovery area

  4. Disk topology and automatic performance tuning

  5. Automatic datafile creation


Correct Option: C
Explanation:

This is an area or automatic storage management disk group that serves as the default storage area for files related to recovery.

Which of the following components of recovery manager is a vendor specific application that allows RMAN to backup to a storage system such as tape?

  1. Media management application

  2. Duplicate database

  3. Standby database

  4. Recovery catalog database

  5. Media management catalog


Correct Option: A
Explanation:

This component of Recovery Manager is a vendor specific application that allows RMAN to backup to a storage system such as tape.

Which of the following components of recovery manager is a copy of the primary database that is updated using archived logs created by the primary database?

  1. Recovery catalog database

  2. Standby database

  3. Duplicate database

  4. Media management application

  5. Recovery catalog schema


Correct Option: B
Explanation:

This component of Recovery Manager is a copy of the primary database that is updated using archived logs created by the primary database.

Which of the following database objects in PL/SQL groups objects and programs together into a single entity?

  1. Select statement

  2. Database triggers

  3. Cursor

  4. Packages

  5. Update statement


Correct Option: D
Explanation:

This database object in PL/SQL groups together objects and programs into a single entity.

Which of the following explicit cursor attributes evaluates, true if the cursor is opened?

  1. %NOTFOUND

  2. %FOUND

  3. %ISOPEN

  4. %ROWCOUNT

  5. %ISCLOSED


Correct Option: C
Explanation:

This explicit cursor attribute evaluates to true, if the cursor is opened.

_____________ is the data stored in the cursor of a PL/SQL program.

  1. Database

  2. Relation

  3. Active data set

  4. Entity

  5. Attributes


Correct Option: C
Explanation:

Active data set is the data stored in the cursor of a PL/SQL program.

Which of the following objects in Oracle consists of physical files and memory components?

  1. Oracle server

  2. Oracle instance

  3. Oracle database

  4. Redo log buffer

  5. Database buffer cache


Correct Option: A
Explanation:

This object in Oracle consists of physical files and memory components.

The database writer, log writer and checkpoint processes are _______________ type of processes in Oracle 9i.

  1. user

  2. background

  3. Server processes

  4. Session memory

  5. SQL work area


Correct Option: B
Explanation:

The database writer, log writer and checkpoint processes are background type of processes in Oracle 9i.

Which of the following pools in System Global Area consists of memory area that is shared by multiple users?

  1. Stream pool

  2. Large pool

  3. Java pool

  4. Shared pool

  5. Library cache


Correct Option: D
Explanation:

This pool in System Global Area consist of memory area that are shared by multiple users.

- Hide questions