nerdexam
Oracle

1Z0-062 · Question #249

A database instance is started by using an SPFILE. he database is configured in ARCHIVELOG mode and the control file autobackup is configured. Dailyfull database backups are performed by using RMAN…

The correct answer is E. 1, 6, 2, 4, 5. This question outlines a control file loss scenario in an Oracle database configured with ARCHIVELOG mode and control file autobackup, requiring the correct RMAN recovery sequence.

Performing Backup and Recovery

Question

A database instance is started by using an SPFILE. he database is configured in ARCHIVELOG mode and the control file autobackup is configured. Dailyfull database backups are performed by using RMAN. You lost all control files due to media failure. Given the steps to recover from the error in random order: 1. Shut down the instance, if it is not already down. 2. Restore the control file from autobackup to a new location. 3. Start the database instance to NOMOUNT state. 4. Recover the database to the point of failure of the control file. 5. Open the database with the RESETLOGS option. 6. Mount the database. 7. Update the SPFILE with the new location ofthe control file by using the ALTER SYSTEM command. Identify the correct sequence of the required steps.

Options

  • A1, 3, 2, 6, 7, 4, 5
  • B1, 3, 7, 2, 6, 4, 5
  • C1, 3, 2, 4, 5
  • D1, 2, 6, 4, 5
  • E1, 6, 2, 4, 5

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    12% (4)
  • C
    33% (11)
  • D
    3% (1)
  • E
    45% (15)

Why each option

This question outlines a control file loss scenario in an Oracle database configured with ARCHIVELOG mode and control file autobackup, requiring the correct RMAN recovery sequence.

A1, 3, 2, 6, 7, 4, 5

This sequence includes step 7, 'Update the SPFILE with the new location of the control file', which is generally not required if RMAN restores the control file to its default or specified location, and its placement between mounting and recovery is incorrect if needed at all.

B1, 3, 7, 2, 6, 4, 5

This sequence places 'Update the SPFILE' (7) before 'Restore the control file' (2), which is incorrect as the SPFILE update for a new control file location would typically occur after the file is restored or during instance startup preparation if it's a new permanent location.

C1, 3, 2, 4, 5

This sequence is missing the critical step of mounting the database after the control file has been restored and before attempting to recover the database, which is necessary for RMAN to apply redo logs.

D1, 2, 6, 4, 5

This sequence omits the step of starting the database instance to the NOMOUNT state, which is a prerequisite for RMAN to restore the control file when all control files are lost.

E1, 6, 2, 4, 5Correct

The recovery sequence starts with shutting down the instance (1). Although typically a NOMOUNT state is needed before restoring a control file, this sequence implies that RMAN can logically prepare for a mount (6) before the physical control file is restored (2). After restoration, the database can be recovered (4) and then opened with RESETLOGS (5) to ensure consistency after recreating or restoring the control file.

Concept tested: RMAN control file recovery

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/bradv/rman-archivelog-mode-recovery.html#GUID-0027170E-6F4E-4364-8975-A0132B669894

Topics

#control file recovery#RMAN#ARCHIVELOG mode#media failure

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice