Examine this configuration:
1. CDB1 is a container database.
2. PDB1 and PDB2 are pluggable databases in CDB1.
3. PDB1 and PDB2 are OPEN in READ WRITE mode.
You execute these commands successfully:
Which two are true? (Choose two.)
Examine this configuration:
1. CDB1 is a container database.
2. PDB1 and PDB2 are pluggable databases in CDB1.
3. PDB1 and PDB2 are OPEN in READ WRITE mode.
You execute these commands successfully:
Which two are true? (Choose two.)
When executing the 'ALTER SESSION SET CONTAINER = PDB1;' command, the session context changes to the PDB1, and the subsequent 'SHUTDOWN IMMEDIATE' command operates on the PDB1. This results in PDB1 being closed, and any uncommitted transactions in PDB1 being rolled back. The command does not affect the CDB1 as a whole, so CDB1 remains operational, and there is no indication that CDB1 is in MOUNT state. Thus, the correct answers are that PDB1 is closed and uncommitted transactions in PDB1 have been rolled back.
I had test this on my lab. the Answer should be AB
A & B is correct
Should be A & B
A,B is only correct answers
a,b: ok
A & B 100%
A & B 100500 %
https://www.oracletutorial.com/oracle-administration/oracle-shutdown/ During the SHUTDOWN IMMEDIATE, all the connected sessions are disconnected immediately, all uncommitted transactions are rolled back, and the database completely shuts down.
PDB1 will be in mounted mode actually: SQL> show con_name; CON_NAME ------------------------------ PDB1 SQL> shutdown immediate; Pluggable Database closed. SQL> alter session set container=cdb$root; Session altered. SQL> show pdbs; CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB1 MOUNTED
With 19c it does not let you shutdown immediate and says : SQL> shutdown immediate ORA-01097: cannot shutdown while in a transaction - commit or rollback first
AB is absolutely correct
AB 110%
https://oracle-base.com/articles/12c/multitenant-connecting-to-cdb-and-pdb-12cr1
AB correct
i think ab