About this exam
The second of the two Oracle Database administrator exams; passing it together with 1Z0-082 earns the Oracle Database Administration 2019 Certified Professional credential. It focuses on operations: managing CDBs and PDBs, creating, cloning, and relocating PDBs, RMAN backup and recovery, Flashback, diagnostics, and installing and upgrading the software.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
Every time the single-instance CDB restarts, the PDB named PDB1 stays in MOUNTED mode and a DBA has to open it READ WRITE by hand. From now on, PDB1 must open READ WRITE automatically whenever the CDB starts, with no manual step. What is the most appropriate approach?
- AManually run ALTER PLUGGABLE DATABASE pdb1 OPEN after every CDB startup
- BOpen PDB1 READ ONLY, then run ALTER PLUGGABLE DATABASE pdb1 SAVE STATE
- COpen PDB1 READ WRITE, then run ALTER PLUGGABLE DATABASE pdb1 SAVE STATE
- DOpen PDB1 READ WRITE, then run ALTER PLUGGABLE DATABASE pdb1 DISCARD STATE
Show answer and explanation
Answer:C Open PDB1 READ WRITE and then run SAVE STATE.
Why it is correct
By default, a user-created PDB such as PDB1 stays MOUNTED when the CDB opens. ALTER PLUGGABLE DATABASE ... SAVE STATE records the PDB's current open mode, and the CDB restores that mode on its next restart. Because the mode at the time of the command is what gets saved, PDB1 must be opened READ WRITE first. This meets both requirements: no manual step and READ WRITE.
The other options
- ✗ A This opens PDB1 READ WRITE right now, but the command by itself does not change what happens at future startups, so a manual step remains every time and the no-manual-step requirement fails.
- ✗ B SAVE STATE saves the mode in effect, so PDB1 would come back READ ONLY after a restart, which fails the READ WRITE requirement. Use this combination for a PDB meant to be read-only.
- ✗ D DISCARD STATE removes the saved state and returns to the default behavior (staying MOUNTED). Use it to stop automatic opening.
Key takeaway
Auto-opening a PDB: OPEN in the desired mode → SAVE STATE (records the current mode). To undo → DISCARD STATE. Saved states are visible in DBA_PDB_SAVED_STATES; in a RAC CDB they are recorded per instance.
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Oracle or any exam provider.