exam questions

Exam 1z0-053 All Questions

View all questions & answers for the 1z0-053 exam

Exam 1z0-053 topic 6 question 29 discussion

Actual exam question from Oracle's 1z0-053
Question #: 29
Topic #: 6
[All 1z0-053 Questions]

You have lost all your online redo logs. As a result, your database has crashed. You have tried to restart the database and clear the online redo log files, but when you try to open the database you get the following error.

SQL> startup -
ORACLE instance started.
Total System Global Area 167395328 bytes

Fixed Size 1298612 bytes -

Variable Size 142610252 bytes -

Database Buffers 20971520 bytes -

Redo Buffers 2514944 bytes -
Database mounted.
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/oracle01/oradata/orcl/redo02a.log'
ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory

Additional information: 3 -
ORA-00312: online log 2 thread 1: '/oracle01/oradata/orcl/redo02.log'
ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory

Additional information: 3 -
SQL> alter database clear logfile group 2;
alter database clear logfile group 2 * ERROR at line 1:
ORA-01624: log 2 needed for crash recovery of instance orcl (thread 1)
ORA-00312: online log 2 thread 1: '/oracle01/oradata/orcl/redo02.log'
ORA-00312: online log 2 thread 1: '/oracle01/oradata/orcl/redo02a.log'
What steps must you take to resolve the error?
a: Issue the recover database redo logs command.
b: Issue the Startup Mount command to mount the database.
c: Restore the last full database backup.
d: Perform a point-in-time recovery, applying all archived redo logs that are available. e: Restore all archived redo logs generated during and after the last full database backup. f: Open the database using the alter database open resetlogs command. g: Issue the alter database open command.

  • A. b, a, f
  • B. e, b, a, f
  • C. e, b, a, g
  • D. b, a, g
  • E. c, e, b, d, f
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️
If the online redo log is in ACTIVE or CURRENT status, you cannot issue CLEAR LOGFILE GROUP n command, it occurs ORA-01624 error.
The option (a) is invalid, there is NO such recover database redo log command, so that the answer must be (c, e, b, d, f).
It applies an incomplete recovery, then open database with RESETLOGS option.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...