nerdexam
Oracle

1Z0-067 · Question #65

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…

The correct answer is B. The statistics_level parameter is set to all only for PDB2 when it is reopened. This ALTER SYSTEM statement sets the STATISTICS_LEVEL initialization parameter to ALL for the current PDB: ALTER SYSTEM SET STATISTICS_LEVEL = ALL SCOPE = MEMORY;

New Features for Database Infrastructure and Architecture

Question

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?

Options

  • AThe statistics_level parameter is set to all when any of the PDBs is reopened.
  • BThe statistics_level parameter is set to all only for PDB2 when it is reopened.
  • CThe statistics_level parameter is set to all when the root database is restarted.
  • DThe statement is ignored because there is no SPFILE for a PDB.

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    80% (24)
  • C
    10% (3)
  • D
    3% (1)

Explanation

This ALTER SYSTEM statement sets the STATISTICS_LEVEL initialization parameter to ALL for the current PDB: ALTER SYSTEM SET STATISTICS_LEVEL = ALL SCOPE = MEMORY;

Topics

#PDB parameter management#SPFILE#STATISTICS_LEVEL#ALTER SYSTEM scope

Community Discussion

No community discussion yet for this question.

Full 1Z0-067 Practice