56.
Your ARCHIVELOG-mode database has lost three datafiles and shut down. One is
assigned to the SYSTEM tablespace and two are assigned to the USERS tablespace. You can
choose from the following steps to recover your database:
a. Restore the three database datafiles that were lost.
b. Issue the Startup Mount command to mount the database.
c. Issue the alter database open command.
d. Issue the alter database open resetlogs command.
e. Recover the database using the recover database command.
f. Recover the datafiles with the recover datafile command.
g. Take the datafiles offline.
Which is the correct order of these steps in this case?
b. Issue the Startup Mount command to mount the database.
c. Issue the alter database open command.
d. Issue the alter database open resetlogs command.
e. Recover the database using the recover database command.
f. Recover the datafiles with the recover datafile command.
g. Take the datafiles offline.
Which is the correct order of these steps in this case?
- A.a, b, c, d
- B.b, d, e, c
- C.a, b, d, e, c
- D.b, f, d, f, c
- E.b, d, a, c
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
First you would want to restore the three datafiles that were lost. Then you would want to issue the startup mount command to mount the database to prepare for recovery. You would then recover the database (you could opt to recover just the datafiles if you wished). Finally, open the database with the alter database open command. |
57.
What methods are available to recover lost control files? (Choose all that apply.)
- A.Backup control file.
- B.Emergency control file.
- C.The create controlfile command.
- D.The restore controlfile SQL*Plus command.
- E.No backup is required. The database will re-create the control file when it is discovered to be lost.
- Answer & Explanation
- Report
Answer : [A, C]
Explanation :
Explanation :
You can create a backup control file with the alter database backup controlfile command. You can create a trace file that contains the create controlfile command. |
58.
Your developers have asked you to restore the development database, which is in NOARCHIVELOG mode, back to last Tuesday the 20th. Your last backup is from Monday the 19th. What do you do?
- A.Restore the 19th's backup, restore all archived redo logs, recover the database to the 20th, and open the database.
- B.Tell them that their request cannot be met with the current backup strategy.
- C.Restore the 19th's backup, apply the online redo logs, and open the database.
- D.Switch the database into ARCHIVELOG mode, restore the 19th's backup, restore all archived redo logs, and recover the database to the 20th.
- E.Use the recover database command to roll back the database from today to the 19th of the month.
- Answer & Explanation
- Report
Answer : [B]
Explanation :
Explanation :
Since the database is in NOARCHIVELOG mode, their request cannot be met because point-in-time recovery is supported only in ARCHIVELOG mode. |
59.
You have lost all your database control files. To recover them, you are going to use the
results of the alter database backup controlfile to trace command. Your datafiles
and your online redo logs are all intact. Which of the following is true regarding your
recovery?
- A.You will need to open the database with the resetlogs command.
- B.All you need to do is execute the trace file from SQL*Plus and it will perform the recovery for you.
- C.You will use the resetlogs version of the create controlfile command.
- D.You will use the noresetlogs version of the create controlfile command
- E.You will use the trace file to create a backup control file, and then you will recover the database with the recover database using backup controlfile command.
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
Since the online redo logs are intact, you will be able to use the noresetlogs version of the create controlfile command. |
60.
A user sends you an email with the following error message:
create table idtable(id number)
*
ERROR at line 1:
ORA-01116: error in opening database file 4
ORA-01110: data file 4: '/oracle01/oradata/orcl/users01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
You can choose from the following steps:
a. Restore the missing database datafiles.
b. Take the missing datafile offline.
c. Shut down the database.
d. Issue the recover tablespace USERS command.
e. Issue the Startup Mount command to mount the database.
f. Bring the USERS tablespace online.
g. Issue the alter database open command. Which is the correct order of these steps in this case?
*
ERROR at line 1:
ORA-01116: error in opening database file 4
ORA-01110: data file 4: '/oracle01/oradata/orcl/users01.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
You can choose from the following steps:
a. Restore the missing database datafiles.
b. Take the missing datafile offline.
c. Shut down the database.
d. Issue the recover tablespace USERS command.
e. Issue the Startup Mount command to mount the database.
f. Bring the USERS tablespace online.
g. Issue the alter database open command. Which is the correct order of these steps in this case?
- A.b, a, d, f
- B.c, a, e, b, d, f, g
- C.c, e, d, g
- D.b, d, f
- E.e, d, g
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
You would first take the missing datafile offline with the alter database datafile 4 offline command. You should then restore the datafiles that have been lost. Then issue the recover tablespace USERS command to recover the USERS tablespace. Use the alter database datafile 4 online command to bring the USERS tablespace online. |