You are administering a multitenant container database (COB) that contains two pluggable
databases (PDBs), pdb1 and pdb2. You are connected to pdb2 as a common user with DBA
privileges.
The statistics_level parameter is PDB modifiable.
As the user sys, execute the following command on pdb2:
SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID=’*’ SCOPE=SPFILE;
Which statement is true about the result of this command?
A.
The statistics_level parameter is set to all when any of the PDBs is reopened.
B.
The statistics_level parameter is set to all only for PDB2 when it is reopened.
C.
The statistics_level parameter is set to all when the root database is restarted.
D.
The statement is ignored because there is no SPFILE for a PDB.
B
Answer: B
http://docs.oracle.com/database/121/ADMIN/cdb_pdb_admin.htm#ADMIN14018
B
B
B.
This ALTER SYSTEM statement sets the STATISTICS_LEVEL initialization parameter to ALL for the current PDB:
ALTER SYSTEM SET STATISTICS_LEVEL = ALL SCOPE = MEMORY;
http://docs.oracle.com/database/121/ADMIN/cdb_pdb_admin.htm#ADMIN14018
So does PDB has SPFILE?
Yup. One can view PDB_SPFILE$ table for it’s contents.
And because of this when PDB is bounced, it takes value for SCOPE=SPFILE from this table entries. We do not have to bounce whole CDB for this change.
Hence, correct answer is as said by others, B.
B
https://docs.oracle.com/cd/E49329_01/server.121/b71301/cdb_pdb_admin.htm#BAJJBECA
B