| 1. | Examine the following statement:
CREATE TABLESPACE rman_1 DATAFILE SIZE 20M DEFAULT STORAGE (INITIAL 100K NEXT 100K PCTINCREASE 0);
What is the next step in the process of creating a recovery catalog? |
| a. | | Create the recovery catalog |
| b. | | Register the target database |
| c. | | Create a recovery catalog user |
| d. | | Connect to the target database
|
|
|
|
|
|
|
| 2. | An ALTER DATABASE statement was used on the database to perform an online control file backup. In which mode is the database operating? |
| a. | | FAILOVER |
| b. | | FASTBACK |
| c. | | ARCHIVELOG |
| d. | | NOARCHIVELOG
|
|
|
|
|
|
|
| 3. | For which tasks would it be best NOT to use the utility SQL*Loader? |
| a. | | When loading selected rows into each table |
| b. | | When loading data from an export dump file |
| c. | | When loading data from disk, tape, or named pipes |
| d. | | When the data is NOT being inserted from a flat file |
| e. | | When using a record management system to access data files
|
|
|
|
|
|
|
| 4. | The MASTER table was accidentally truncated at 10:00 a.m. To perform an incomplete recovery, the database was mounted and multiple channels were allocated to enable parallelization. All of the data files were restored. Which additional steps are required? |
| a. | | Back up the entire database |
| b. | | Open the database with the RESETLOGS option |
| c. | | Recover the database by using the UNTIL TIME method |
| d. | | Synchronize the control file by issuing the SWITCH command |
| e. | | Recover all data files by issuing the RECOVER TABLESPACE command
|
|
|
|
|
|
|
| 5. | The EMPLOYEES table is stored in the USER1 tablespace. The corresponding IPK_EMP index for the EMPLOYEES table's primary key is stored in the INDX1 tablespace. Out of 12 partitions, only partition P1 of the SALES table is stored in the USER1 tablespace. Which objects will be exported by this command?
exp system/manager tablespaces=USER1
|
| a. | | Only the EMPLOYEES table and its corresponding primary key index |
| b. | | The EMPLOYEES table and partition P1 |
| c. | | Only the EMPLOYEES table |
| d. | | The EMPLOYEES table, IPK_EMP index, and the SALES table
|
|
|
|
|
|
|
| 6. | The USERS01.DBF data file should not be available while some routine maintenance is performed. Which RMAN command should be used? |
| a. | | CHANGE DATAFILEBACKUP '/User/backup/users.dbf UNCATALOG; |
| b. | | CHANGE DATAFILECOPY '/User/backup/users01.dbf UNCATALOG; |
| c. | | CHANGE DATAFILECOPY '/User/backup/users01.dbf UNAVAILABLE; |
| d. | | CHANGE DATAFILEBACKUP '/User/backup/users01.dbf UNAVAILABLE;
|
|
|
|
|
|
|
| 7. | When using RMAN, which SGA memory structure is used for backup and restore operations? |
| a. | | Large Pool |
| b. | | Shared Pool |
| c. | | Redo Log Buffer |
| d. | | Database Buffer Cache
|
|
|
|
|
|
|
| 8. | The following BACKUP command was issued to create a data file backup set:
BACKUP FORMAT '/BACKUP/df_%d_%s_%p.buK' DATABASE filesperset = 3;
The command executes successfully. Which statement is true? |
| a. | | A channel was automatically allocated |
| b. | | The control file was NOT backed up |
| c. | | Each data file was copied three times |
| d. | | The online redo log files were backed up
|
|
|
|
|
|
|
| 9. | Which statement is true regarding RMAN components? |
| a. | | Each target database requires its own recovery catalog |
| b. | | RMAN scripts can be stored in the recovery catalog or the target control file |
| c. | | A channel is a stream of data to a device type and corresponds to one server session |
| d. | | The RMAN executable interprets sever session commands and establishes connections to the target database
|
|
|
|
|
|
|
| 10. | Examine the following RMAN script:
RMAN> RUN{ 2> ALLOCATE CHANNEL d1 TYPE DISK; 3> ALLOCATE CHANNEL d2 TYPE DISK; 4> COPY #2 files copied in parallel 5> DATAFILE 1 TO '/backup/file1.dbf', 6> DATAFILE 2 TO '/backup/file2.dbf';}
Which statement about this RMAN RUN block is true? |
| a. | | Two data files will be copied simultaneously |
| b. | | This block fails because only one data file at a time can be backed up using the COPY command |
| c. | | Two channels are created, but only one will be used |
| d. | | This block fails because the 'CONFIGURE DEVICE TYPE DISK PARALLELISM 2' command is NOT used
|
|
|
|
|
|
|
| 11. | Which script provides the correct sequence of commands for recovery, when performing an incomplete recovery and are restoring archived redo log files? |
| a. | | rman> RUN{ 2> SET UNTIL SEQUENCE; 3> ALTER DATABASE MOUNT; 4> RESTORE DATABASE; 5> RECOVER DATABASE; 6> SQL "ALTER DATABASE OPEN RESETLOGS"; 7> } |
| b. | | rman> RUN{ 2> ALTER DATABASE MOUNT; 3> RESTORE DATABASE; 4> RECOVER DATABASE UNTIL SEQUENCE 89 THREAD 1; 5> SQL "ALTER DATABASE OPEN RESETLOGS"; 6> } |
| c. | | rman> RUN { 2> ALTER DATABASE NOMOUNT; 3> RECOVER DATABASE; 4> RESTORE DATABASE UNTIL SEQUENCE 89 THREAD 1; 5> SQL "ALTER DATABASE OPEN RESETLOGS"; 6> } |
| d. | | rman> RUN{ 2> SET UNTIL SEQUENCE 89 THREAD 1; 3> ALTER DATABASE MOUNT; 4> RESTORE DATABASE; 5> RECOVER DATABASE; 6> SQL "ALTER DATABASE OPEN RESETLOGS"; 7> }
|
|
|
|
|
|
|
| 12. | JOHN wants to create a copy of the SALES table. When that is complete, he wants to truncate the new SALES table, then restore the data with a direct load insert from the old SALES table. Which CREATE statement should he use? |
| a. | | CREATE TABLE sales2 AS SELECT * FROM sales; TRUNCATE TABLE sales2; INSERT /*+ APPEND */ INTO sales2 NOLOGGING SELECT * FROM sales; COMMIT; |
| b. | | CREATE TABLE sales2 AS SELECT * FROM sales; TRUNCATE TABLE sales2; INSERT INTO sales2 SELECT * FROM sales; COMMIT; |
| c. | | CREATE TABLE sales2; SELECT * FROM sales; TRUNCATE TABLE sales2; INSERT /*+ APPEND */ INTO sales2 NOLOGGING SELECT * FROM sales; COMMIT; |
| d. | | CREATE TABLE sales2 AS SELECT * FROM sales; TRUNCATE TABLE sales2; INSERT /*+ APPEND */ INTO sales2 NOLOGGING; SELECT * FROM sales; COMMIT;
|
|
|
|
|
|
|
What others think about Oracle OCP Practice Test - Oracle OCP Fundamental Test Questions |
| By: Personality Quiz Man on 11/21/2009 |
| | I love quizzes. Personality Quizzes are my favorite. |
|
 |
| By: Aumkar on 11/20/2009 |
|
 |
| By: Laura on 11/19/2009 |
| | I appreciate the time and effort that the quiz maker put into the quiz |
|
 |
| By: Tom on 11/18/2009 |
| | I want more quiz questions |
|
 |
| By: Teresa on 11/17/2009 |
| | I took the quiz. It let me know that I failed. But I wasn't able to see what the correct answers. It would be great to see what the answers are so I can learn. |
|
| By: Hot girl on 11/16/2009 |
| | I love answering Quiz Questions |
|
 |
| By: Hannah on 11/15/2009 |
| | Enjoyed it, and learned a lot about general knowledge |
|
 |
| By: Nancy on 11/14/2009 |
| | I would like to see a complete page of horror movie quizzes for the horror genre fans! |
|
 |
| By: Sridhar on 11/13/2009 |
| | Its a really good way to brush up things and informative also. |
|
 |
| By: general knowledge seeker on 11/12/2009 |
| | i love to take tests and quizzes. quizzes are my life. general knowledge questions are good for everyone |
|
 |
| By: Shannon on 11/11/2009 |
| | I have never seen such an excellent quiz website before this. |
|
 |
| By: Roger on 11/10/2009 |
| | I love Quiz Games. QuizMoz is an excellent Quiz site |
|
 |
| By: Roger on 11/9/2009 |
| | I love Quiz Games. QuizMoz is an excellent Quiz site |
|
 |
| By: Bobby Kalsi on 11/8/2009 |
| | Try to make it easier to search for a QUIZ Category.. (It should be easier to seach for a quiz category...) |
|
 |
| By: Kath on 11/7/2009 |
|
 |
| By: QuizMoz Fan on 11/6/2009 |
| | I love all the QuizMoz quizzes. The general knowledge quiz is my favorite |
|
 |
| By: Tracy on 11/5/2009 |
| | Great test. A nice way to gauge one's knowledge |
|
 |
| By: Tommy on 11/4/2009 |
| | Great site. Good learning and fun. |
|
 |
| By: Teena on 11/3/2009 |
| | I love this quiz Website. This is the best free quiz site. |
|
 |
| By: Quiz Game Player on 11/2/2009 |
| | One day I will crack all the Impossible quizzes in the world |
|
 |