You are administering a database stored in Automatic Storage Management (ASM). You
use RMAN to back up the database and the MD_BACKUP command to back up the ASM
metadata regularly. You lost an ASM disk group DG1 due to hardware failure. In which
three ways can you re-create the lost disk group and restore the data?
A.
Use the MD_RESTORE command to restore both the metadata and data for the failed
disk group.
B.
Use the MKDG command to restore the disk group with the same configuration as the
backedup disk group name and same set of disks and failure group configuration, and use
RMAN to restore the data.
C.
Use the MD_RESTORE command to restore metadata for an existing disk group by
passing the existing disk group name as an input parameter and use RMAN to restore the
data.
D.
Use the MKDG command to restore the disk group with the same configuration as the
backedup disk group and data on the disk group.
E.
Use the MKDG command to add a new disk group DG1 with the same or different
specifications for failure group and other attributes and use RMAN to restore the data.
F.
Use the MD_RESTORE command to restore the disk group with the changed disk group
specification, failure group specification, name, and other attributes and use RMAN to
restore the data.
B
E
F
– A is wrong: MD_RESTORE can restore metadata but not both metadta and data
– D is wrong: MKDG can create diskgroup but cannot restore diskgroup data
– C is wrong: MD_RESTORE syntax (input parameter is backup_file not diskgroup)
md_restore backup_file [–silent]
[–full|–nodg|–newdg -o ‘old_diskgroup:new_diskgroup [,…]’]
[-S sql_script_file] [-G ‘diskgroup [,diskgroup…]’]
Thus for me: correct answers: B,E,F
B,E,F
Are you sure ? it seems to me that “-G diskgroup” is actually an input that specify the diskgroup to be restored.
So in my opinion the correct answers are
C,E,F
Moreover B cannot be correct for the same reason D is wrong(mkdg cannot restore)
Agree with Marghe.
mkdg cannot restore diskgroup by reading certain configuration,it can only create new diskgroups.