Oracle Database 12c: Advanced Administration — Question 163
Your database is running in archivelog mode and a nightly backup of the database, along with an autobackup of the control file, is taken by using RMAN. Because of a media failure, the SPFILE and the control files are lost.
Examine the steps to restore the SPFILE and the control file to mount the database:
1. Set DBID of the target database in RMAN.
2. Start the database instance by using the startup force nomount command in RMAN.
3. Restore the control files from the backup.
4. Mount the database.
5. Restore the SPFILE from the autobackup.
6. Create a PFILE from the recovered SPFILE.
7. Restart the instance in nomount state.
Identify the required steps in the correct order.
Answer options
- A. 1, 2, 5, 3, 6, 4
- B. 1, 2, 3, 5, 6, 4
- C. 2, 1, 5, 7, 3, 4
- D. 2, 1, 5, 6, 7, 4, 3
Correct answer: C
Explanation
The correct answer is C because you need to start the instance in nomount state before restoring the SPFILE, and then you can create a PFILE from the recovered SPFILE. Options A, B, and D place the steps in an incorrect order, either trying to restore the control files before the SPFILE or not starting the instance correctly.