Which three are true about Automatic Workload Repository (AWR) and Automatic Database Diagnostic Monitor (ADDM) in an Oracle multitenant environment? (Choose three.)
A.
ADDM can run in a nonroot container.
B.
AWR snapshots can be created in CDB$ROOT.
C.
AWR reports can be generated while connected to any container.
D.
All AWR data is stored in the CDB$ROOT SYSAUX tablespace.
E.
AWR snapshots can be created in a PDB.
F.
No AWR data is stored in the CDB$ROOT SYSAUX tablespace.
ABE correct
The CDB-level snapshot data is stored in the SYSAUX tablespace of a CDB root.
The PDB-level snapshot data is stored in the SYSAUX tablespace of a PDB.
Starting with Oracle Database 12c, ADDM is enabled by default in the root container of a multitenant container database (CDB). Starting with Oracle Database 19c, you can also use ADDM in a pluggable database (PDB).
I would go with ABE. It is confusing, however. AWR reports can run in pluggables; therefore, I assume C is incorrect because AWR reports cannot run in pdb$seed - which would (by extension) make A incorrect as well.
SQL> alter pluggable database close;
SQL> alter pluggable database open;
SQL> show con_name
CON_NAME
------------------------------
PDB$SEED
SQL> EXEC dbms_workload_repository.create_snapshot()
BEGIN dbms_workload_repository.create_snapshot(); END;
*
ERROR at line 1:
ORA-13518: Invalid database id (0)
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 99
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 145
ORA-06512: at line 1
A and B are correct no doubt,
E is also correct:
SQL> show con_name
CON_NAME
------------------------------
PDB1
SQL> EXECUTE dbms_workload_repository.create_snapshot();
PL/SQL procedure successfully completed.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
RinD
Highly Voted 2 years, 8 months agogreenday5494
Most Recent 1 month, 2 weeks ago_gio_
6 months, 1 week agoScottL
8 months, 3 weeks agonobody347
2 years, 3 months agomarpayer
2 years, 5 months agoObserverPL
2 years, 8 months ago