Oracle Practice Test - 9

Test your knowledge of Oracle database administration including RMAN backup and recovery, performance tuning, initialization parameters, and Oracle Forms development.

24 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How can the users be enabled to add a single value to a list item?

  1. Set the List Style property to combo box. From the When-List-Activated trigger, call the Add_List_Element built-in.
  2. Set the List Style property to Tlist. From the When-List-Activated trigger, call the Populate_List built-in.
  3. Set the List Style property to poplist. From the When-List-Activated trigger, call the Add_List_Element built-in.
  4. Set the List Style property to combo box. From the When-List-Changed trigger, call the Add_List_Element built-in.
Question 2 Multiple Choice (Single Answer)

Which initialization parameter affects the roll forward phase of recovery by manipulating the frequency at which checkpoints are written?

  1. FAST_START_IO_TARGET
  2. FAST_START_MTTR_TARGET
  3. LOG_CHECKPOINT_TIMEOUT
  4. LOG_CHECKPOINT_INTERVAL
Question 3 Multiple Choice (Single Answer)

The ARCn processers are writing online redo log files to one local mandatory destination, one local optional destination, and one remote mandatory destination. The LOG_ARCHIVE_MIN_SUCCEED_DEST parameter is set to 2. What effect does this parameter have on the automatic archival process?

  1. After the archival of online redo log files to the two mandatory destinations occurs, the online redo logs may be overwritten.
  2. After the archival of online redo log files to the two local destinations occurs, the online redo logs may be overwritten.
  3. No effect because the LOG_ARCHIVE_MIN_SUCCEED_DEST parameter value is not equal to the number of local mandatory archive destinations.
  4. After the archival of online redo log files to the one local mandatory destination occurs, the online redo logs may be overwritten.
Question 4 Multiple Choice (Single Answer)

JOHN has been taking snapshots once a week over the last two years. He will use these snapshots to outline the cost associated with the increase in database resources over the past two years. Which tool or utility would allow him to compare the snapshots?

  1. LOCK MANAGER
  2. STATSPACK
  3. ORACLE EXPERT
  4. UTLBSTAT /UTLESTAT
Question 5 Multiple Choice (Single Answer)

A table is being imported and it must be ensured that the table is put into a single contiguous area. There is not a single contiguous area large enough for the entire space allocated to the table. What should be done to achieve this?

  1. Use the cascade option.
  2. Use the constraint option.
  3. Use the primary key option.
  4. Coalesce the tablespace the table is using.
Question 6 Multiple Choice (Single Answer)

A query Record Group was created at design time. Which built-in can be used to execute the query defined in the Record Group object?

  1. ADD_GROUP_ROW
  2. POPULATE_GROUP
  3. ADD_GROUP_COLUMN
  4. SET_GROUP_SELECTION
Question 7 Multiple Choice (Single Answer)

What will the command EXECUTE DBMS_SCHEDULER.PURGE_LOG(); do?

  1. Purge only the window logs.
  2. Purge only the job logs.
  3. Purge all window and job logs.
  4. Purge only yesterday's job logs.
Question 8 Multiple Choice (Single Answer)

What does the initialization parameter FAST_START_MTTR_TARGET determine?

  1. The instance recovery time
  2. The undo retention period
  3. The database restore time
  4. The number of redo log groups
Question 9 Multiple Choice (Single Answer)

A loss of data files was experienced in a database. The control files however, were not lost. RMAN was being used to restore and recover the database. Currently, the instance is shut down. Which sequence of commands is correct to restore and recover the database?

  1. RMAN> STARTUP NOMOUNT;
    RMAN> RESTORE DATABASE;
    RMAN> RECOVER DATABASE;
    RMAN> ALTER DATABASE OPEN;
  2. RMAN> STARTUP MOUNT;
    RMAN> RESTORE DATABASE;
    RMAN> RECOVER DATABASE;
    RMAN> ALTER DATABASE OPEN
  3. RMAN> STARTUP NOMOUNT;
    RMAN> RESTORE DATABASE;
    RMAN> RECOVER DATABASE;
    RMAN> ALTER DATABASE OPEN RESETLOGS;
  4. RMAN> STARTUP MOUNT;
    RMAN> RESTORE DATABASE;
    RMAN> RECOVER DATABASE;
    RMAN> ALTER DATABASE OPEN RESETLOGS;
Question 10 Multiple Choice (Single Answer)

In _______, the bottom up approach is used to find and fix the bottlenecks.

  1. proactive tuning
  2. reactive tuning
  3. active tuning
  4. sql tuning
Question 11 Multiple Choice (Single Answer)

Consider the following scenario: In a multiform application, the user started in FormA.
From FormA, the user invoked FormB using CALL_FORM.
From FormB, the user invoked FormC using OPEN_FORM.
From FormC, the user invoked FormD using OPEN_FORM.
From FormB, the user invoked FormE using CALL_FORM.
There is an additional form in the application, called FormF. Which statement is true?

  1. FormF can be invoked from FormC using CALL_FORM.
  2. FormF can be invoked from FormA using OPEN_FORM.
  3. FormF can be invoked from FormD using CALL_FORM.
  4. FormF can be invoked from FormE using CALL_FORM.
  5. FormF can be invoked from FormB using OPEN_FORM.
Question 12 Multiple Choice (Single Answer)

An OC4J instance was started on a development PC and then a form was run from the Forms Builder. Which of the following statements describes the behavior of OC4J?

  1. It appears in the Forms Builder window that can be minimized once OC4J starts.
  2. It appears in a separate window that can be closed once OC4J starts.
  3. It appears in the Forms Builder window that can be closed once OC4J starts.
  4. It appears in a separate window that should not be closed as the OC4J instance will abort.
Question 13 Multiple Choice (Single Answer)

Which statistic is incremented if a willing-to-wait latch request is satisfied on the first attempt?

  1. SLEEPS
  2. GETS
  3. MISSES
  4. IMMEDIATE_GETS
Question 14 Multiple Choice (Single Answer)

A user issued a connection request which was picked up by the listener on an Oracle Shared Server. The listener provided the user process with the address of an existing dispatcher process. What is the next step in this process?

  1. The user process is handed off to a dedicated server process.
  2. The user process connects directly to the dispatcher.
  3. The dispatcher process places the user request in a response queue.
  4. The user process connects directly to the Oracle Shared Server process.
Question 15 Multiple Choice (Single Answer)

Which data dictionary view shows the available free space in a certain tablespace?

  1. DBA_EXTENTS
  2. V$FREESPACE
  3. DBA_FREE_SPACE
  4. DBA_TABLESPACE
  5. DBA_FREE_EXTENTS
Question 16 Multiple Choice (Single Answer)

Evaluate the given SQL statement.
SELECT ROUND (45.953, -1), TRUNC (45.936, 2) FROM dual;
Which of the following values will be displayed?

  1. 46 and 45.93
  2. 50 and 45.93
  3. 50 and 45.9
  4. 45 and 45.93
  5. 45.95 and 45.93
Question 17 Multiple Choice (Single Answer)

Which initialization parameter affects the roll forward phase of recovery by manipulating the frequency at which checkpoints are written?

  1. FAST_START_IO_TARGET
  2. FAST_START_MTTR_TARGET
  3. LOG_CHECKPOINT_TIMEOUT
  4. LOG_CHECKPOINT_INTERVAL
Question 18 Multiple Choice (Single Answer)

When is the best time to tune a database application?

  1. At design time
  2. At development time
  3. Before going live
  4. When problems are experienced
Question 19 Multiple Choice (Single Answer)

Which of the following is not an Oracle-supported trigger?

  1. BEFORE
  2. DURING
  3. AFTER
  4. INSTEAD OF
Question 20 Multiple Choice (Single Answer)

When should one back up a read-only tablespace?

  1. During regular backup window
  2. Prior to placing the tablespace into read-only mode
  3. Immediately after placing the tablespace into read-only mode
  4. Prior to creating a new tablespace
  5. Prior to altering the database structure
Question 21 Multiple Choice (Single Answer)

A query Record Group was created at design time. Which built-in can be used to execute the query defined in the Record Group object?

  1. ADD_GROUP_ROW
  2. POPULATE_GROUP
  3. ADD_GROUP_COLUMN
  4. SET_GROUP_SELECTION
Question 22 Multiple Choice (Single Answer)

Which statement should be used to obtain information about the number, names, status, and location of the control files?

  1. SELECT name, status FROM v$parameter;
  2. SELECT name, status FROM v$controlfile;
  3. SELECT name, status, location FROM v$control_files;
  4. SELECT status, location FROM v$parameter WHERE parameter=control_files;
Question 23 Multiple Choice (Single Answer)

If the following command is issued:

rman> CONFIGURE CONTROLFILE AUTOBACKUP ON;

Which of the following statements is true?

  1. The autobackup of the control file will occur even if a backup set that included a control file backup just occurred.
  2. The control file autobackup will occur only after a BACKUP command is issued.
  3. The autobackup of the control file will not occur if an identical control file backup currently exists on the device to be written.
  4. The 'CONFIGURE CONTROLFILE AUTOBACKUP ON;' command has NO effect because the control file autobackup feature is enabled by default.