1Z0-083 · Question #188
For which two tasks can you use the DBMS_PDB.DESCRIBE procedure?
The correct answer is A. to generate an XML metadata file that describes a non-CDB Oracle 12c database so that it E. to generate an XML metadata file that describes the current plugged-in PDB. DBMS_PDB.DESCRIBE generates XML metadata files that describe a database for plugging purposes - it works on a currently connected non-CDB (A) or the current plugged-in PDB (E), both of which require you to be actively connected to the database being described. Why the…
Question
For which two tasks can you use the DBMS_PDB.DESCRIBE procedure?
Options
- Ato generate an XML metadata file that describes a non-CDB Oracle 12c database so that it
- Bto generate an XML metadata file from any unplugged PDB
- Cto determine whether an XML file describes a PDB that can be plugged into the CDB in which
- Dto generate a . pdb archive file for any PDB in the current CDB
- Eto generate an XML metadata file that describes the current plugged-in PDB
How the community answered
(50 responses)- A72% (36)
- B14% (7)
- C10% (5)
- D4% (2)
Explanation
DBMS_PDB.DESCRIBE generates XML metadata files that describe a database for plugging purposes - it works on a currently connected non-CDB (A) or the current plugged-in PDB (E), both of which require you to be actively connected to the database being described.
Why the distractors are wrong:
- B is wrong because unplugged PDBs already have their XML generated automatically by the
ALTER PLUGGABLE DATABASE ... UNPLUG INTOcommand -DESCRIBEis not used post-unplug. - C describes the job of
DBMS_PDB.CHECK_PLUG_COMPATIBILITY, a separate procedure that validates whether an XML file is compatible with a target CDB. - D is wrong because
.pdbarchive files are created via theUNPLUG INTODDL command, notDESCRIBE.
Memory tip: Think of DESCRIBE as a snapshot tool - it only works on live, connected databases (non-CDB or active PDB) to produce the XML "passport" needed for plugging. If you need to check compatibility, that's CHECK_PLUG_COMPATIBILITY; if the PDB is already unplugged, its XML was written at unplug time.
Topics
Community Discussion
No community discussion yet for this question.