Upgrade Oracle DBA 11g to Oracle Database 12c — Question 26
Your multitenant container database (CDB) cdb1 that is running in archivelog mode contains two pluggable databases (PDBs), pdb2_1 and pdb2_2. RMAN is connected to the target database pdb2_1.
Examine the command executed to back up pdb2_1:
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which statement is true about the execution of this command?
Answer options
- A. It fails because archive log files cannot be backed up using a connection to a PDB.
- B. It succeeds but only the data files belonging to the pdb2_i pluggable database are backed up.
- C. It succeeds and all data files belonging to PD32_i are backed up along with the archive log files.
- D. It fails because the pluggable clause is missing.
Correct answer: C
Explanation
The correct answer is C because the command correctly backs up all data files of the pdb2_1 pluggable database along with the archive logs, as RMAN supports this function when connected to a PDB. Option A is incorrect because RMAN can back up archive logs from a PDB. Option B is wrong since the command does include archive logs in the backup. Option D is also incorrect because the pluggable clause is not required for the command to execute successfully.