Oracle Practice Test - 36

Oracle Practice Test - 36

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The user Smith created the SALES HISTORY table. Smith wants to find out the following information about the SALES HISTORY table:

  1. The size of the initial extent allocated to the sales history data segment
  2. The total number of extents allocated to the sales history data segment

Which of the following data dictionary view(s) should Smith query for the required information?

  1. USER_EXTENTS
  2. USER_SEGMENTS
  3. USER_OBJECT_SIZE
  4. USER_OBJECT_SIZE and USER_EXTENTS
Question 2 Multiple Choice (Single Answer)

User Smith created indexes on some tables owned by user John. The following needs to be displayed:

index names
index types

Which data dictionary view(s) should be queried?

  1. DBA_INDEXES only
  2. DBA_IND_COLUMNS only
  3. DBA_INDEXES and DBA_USERS
  4. DBA_IND COLUMNS and DBA_USERS
Question 3 Multiple Choice (Single Answer)

User Smith created indexes on some tables owned by user John. The following needs to be displayed:

index names
index types

Which data dictionary view(s) should be queried?

  1. DBA_INDEXES only
  2. DBA_IND_COLUMNS only
  3. DBA_INDEXES and DBA_USERS
  4. DBA_IND COLUMNS and DBA_USERS
Question 4 Multiple Choice (Single Answer)

A database was started with the command STARTUP PFILE=initEMPLOYEE.ora.
A value in the initEMPLOYEE.ora parameter file is LOG_ARCHIVE_START=false.
While the database is open, ALTER SYSTEM ARCHIVE LOG START; command was issued to start the Archiver process.
The database was shut down to take a backup and restart it using the initEMPLOYEE.ora parameter file again. When the status of the Archiver was checked, it was disabled. Why?

  1. When a backup is taken, the Archiver process is disabled.
  2. The Archiver can only be started by issuing the ALTER DATABASE ARCHIVELOG command.
  3. LOG_ARCHIVE_START is still set to FALSE because the PFILE is not updated when you issue the ALTER SYSTEM command.
  4. The Archiver can only be started by issuing the ALTER SYSTEM ARCHIVE LOG START command each time the database is opened.
Question 5 Multiple Choice (Single Answer)

Which of the following is true about the SQL Tuning Advisor?

  1. It automatically collects statistics if they are missing
  2. It only makes recommendations to collect statistics
  3. It ignores optimizer statistics completely
  4. It uses only the available statistics
Question 6 Multiple Choice (Single Answer)

MARY wants to create an image copy backup that can be used in an incremental backup set. She wants to allocate the C1 channel and create image copies of two data files. She does NOT want the Oracle Server session to perform logical block corruption detection. These image copies will be used in an incremental backup set. Which RUN block set of commands should she use?

  1. rman> RUN
    2> CHECK LOGICAL
    3> ALLOCATE CHANNEL c1 TYPE DISK;
    4> DATAFILE 1 TO '/backup/f1.dbf',
    5> DATAFILE 2 TO '/backup/f2.dbf';
  2. rman> RUN
    2> ALLOCATE CHANNEL c1 TYPE DISK;
    3> COPY LEVEL 0
    4> DATAFILE 1 TO '/backup/f1.dbf',
    5> DATAFILE 2 TO '/backup/f2.dbf';
  3. rman> RUN
    2> ALLOCATE CHANNEL c1 TYPE DISK;
    3> DATAFILE 1 TO '/backup/f1.dbf',
    4> DATAFILE 2 TO '/backup/f2.dbf';
  4. rman> RUN
    2> ALLOCATE CHANNEL c1 TYPE sbt_tape;
    3> DATAFILE 1 TO '/backup/f1.dbf',
    4> DATAFILE 2 TO '/backup/f2.dbf';
Question 7 Multiple Choice (Single Answer)

Which system privilege must the RMAN user have to be able to connect and execute RMAN commands on a target database?

  1. SYSDBA
  2. SYSOPER
  3. No system privileges are required for the RMAN user
  4. Only SYS user can connect and execute RMAN commands on a target database
Question 8 Multiple Choice (Single Answer)

In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

  1. The line numbers reported match the line numbers you see in your text editor.
  2. SQL*Plus will automatically show the errors to you.
  3. To see the errors, enter SHOW ERRORS in SQL*Plus.
  4. If there are no syntax errors, you will receive the message "NO ERRORS."
Question 9 Multiple Choice (Single Answer)

What Oracle backup and recover file contains user and system data?

  1. Control file
  2. Datafile
  3. OnLine ReDo file
  4. Offline ReDo file
Question 10 Multiple Choice (Single Answer)

A client-server application has become very popular and hundreds of users are accessing the Oracle Server daily. Which networking solution should be implemented to ensure that all users can access the Oracle Server?

  1. Dedicated Server
  2. Directory Naming
  3. Oracle Connection Manager
  4. Heterogeneous Services
Question 11 Multiple Choice (Single Answer)

SQL*Plus will finish the statement and execute it when the user types in this:

  1. A left slash ( ) followed by [Enter].
  2. A colon ( : ) followed by [Enter].
  3. A semicolon ( ; ) followed by [Enter].
  4. A period ( . ) followed by [Enter].
Question 12 Multiple Choice (Single Answer)

Suppose in the declaration section of a PL/SQL block, you create but do not initialize a NUMBER variable. What will be the initial value of the variable when the block is executed?

  1. 0
  2. NULL
  3. Depends on the scale and precision of the datatype.
  4. Without initialization, a variable cannot be used in the executable section of the block.
Question 13 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 behaviour 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 14 Multiple Choice (Single Answer)

When allowing RMAN to backup archived redo log files, how does RMAN know which archived redo logs to back up from the archive log destination?

  1. RMAN keeps a list of archived logs in a text file
  2. The DBA must manually tell RMAN which archive logs to backup
  3. RMAN has access to target control file and/or catalog information
  4. RMAN looks at the ARCHIVE_LOG_DEST parameter of the target database and backs up all archive logs found
Question 15 Multiple Choice (Single Answer)

Who will be the owner of the job, if a job is created in user SCOTT's schema?

  1. SYS
  2. SCOTT
  3. PUBLIC
  4. None of the above
Question 16 Multiple Choice (Single Answer)

A database has several simultaneous long-running insert transactions. The following statement was issued to ensure that multiple server processes are used to roll back uncommitted transactions:

ALTER SYSTEM SET FAST_START_PARALLEL_ROLLBACK = 5;

What is the result?

  1. Up to five rollback processes may be activated simultaneously
  2. The parameter will be ignored because the maximum number of rollback processes is four
  3. The parameter will be ignored because it is set to an invalid value
  4. This parameter will be ignored unless the RECOVERY_PARALLELISM parameter is used
Question 17 Multiple Choice (Single Answer)

After a table has been created, its structure can be modified using the SQL command:

  1. UPDATE TABLE [TableName].
  2. MODIFY TABLE [TableName].
  3. ALTER TABLE [TableName].
  4. CHANGE TABLE [TableName].
Question 18 Multiple Choice (Single Answer)

Which of the following password management features ensures that a user cannot reuse a password for a specified time interval?

  1. Account Locking
  2. Password History
  3. Password Verification
  4. Password Expiration and Aging
Question 19 Multiple Choice (Single Answer)

When using SQL*Plus, Oracle commands, column names, table names and all other database elements:

  1. are case insensitive.
  2. are case sensitive.
  3. must always be in lower case.
  4. must always be in upper case.