- Home
- Database
- Oracle 12 C
- OCP Oracle 12C Advanced Administration(1Z0-063)
41.
What command would you issue to enable automated backups of control files?
- A.ALTER DATASE CONTROLFILE AUTOBACKUP ON
- B.ALTER SYSTEM CONTROLFILE AUTOBACKUP ON
- C.CONFIGURE CONTROLFILE AUTOBACKUP ON
- D.ENABLE CONTROLFILE AUTOBACKUP
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
Enable control-file autobackups by executing the command CONFIGURE CONTROLFILE AUTOBACKUP ON. |
42.
Given the following RMAN commands, choose the option that reflects the order
required to restore your currently operational ARCHIVELOG-mode database.
a. RESTORE DATABASE;
b. RECOVER DATABASE;
c. SHUTDOWN IMMEDIATE
d. STARTUP
e. RESTORE ARCHIVELOG ALL;
f. ALTER DATABASE OPEN
a. RESTORE DATABASE;
b. RECOVER DATABASE;
c. SHUTDOWN IMMEDIATE
d. STARTUP
e. RESTORE ARCHIVELOG ALL;
f. ALTER DATABASE OPEN
- A.a, b, c, d, e, f
- B.c, b, a, d, e, f
- C.c, b, a, d, f
- D.c, a, b, d
- E.c, a, e, b, d, f
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
You would shut down the database with the SHUTDOWN IMMEDIATE command before the recovery. You would then issue the RESTORE DATABASE command followed by the RECOVER DATABASE command. After you have recovered the database, you will want to open it with the STARTUP command. |
43.
Which commands are used for RMAN database recovery? (Choose all that apply.)
- A.RESTORE
- B.REPAIR
- C.COPY
- D.RECOVER
- E.REPLACE
- Answer & Explanation
- Report
Answer : [A, D]
Explanation :
Explanation :
The RESTORE command is used to restore data files during a database recovery. The RECOVER command is used to apply incremental |
44.
Given a complete loss of your database, in what order would you need to perform the
following RMAN operations to restore it?
a. RESTORE CONTROLFILE
b. RESTORE DATABASE
c. RESTORE SPFILE
d. RECOVER DATABASE
e. ALTER DATABASE OPEN
f. ALTER DATABASE OPEN RESETLOGS
a. RESTORE CONTROLFILE
b. RESTORE DATABASE
c. RESTORE SPFILE
d. RECOVER DATABASE
e. ALTER DATABASE OPEN
f. ALTER DATABASE OPEN RESETLOGS
- A.b, a, c, d, e
- B.a, c, b, d, f
- C.c, a, b, d, e
- D.c, a, b, d, f
- E.e, a, b, d, c
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
In the event of complete loss of your database, you will need to first restore the database spfile. Once you have restored the database spfile, you will need to restore the database control file. Having restored the database control file, you would restore the database and then recover the database. Finally, since this would be an incomplete recovery (because you lost the entire database, the online redo logs are gone too), you would need to open the database using the ALTER DATABASE OPEN RESETLOGS command. |
45.
If you lost your entire database, including the database spfile, control files, online redo
logs, and database data files, what kind of recovery would be required with RMAN?
- A.Complete database recovery.
- B.Incomplete database recovery.
- C.Approximate database recovery
- D.Archived database recovery.
- E.The database could not be recovered with RMAN.
- Answer & Explanation
- Report
Answer : [B]
Explanation :
Explanation :
A loss of the entire database will require an incomplete database recovery. This is because the online redo logs would not be available to perform a complete recovery. |