Oracle Database 12c: Advanced Administration — Question 28
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 will successfully back up all data files of pdb2_1 along with the archive log files, given that RMAN is connected to the PDB. Option A is incorrect as RMAN can back up archive logs when connected to a PDB. Option B is wrong because it suggests that only data files are backed up, ignoring the archive logs. Option D is incorrect since the pluggable clause is not necessary for this command to execute successfully.