OCP Performance Tuning And Diagnostics Practice Question
A critical application query is experiencing performance issues due to stale optimizer statistics. You want to use the Optimizer Statistics Advisor to identify the root cause. Which action must you perform to trigger the advisor?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Call DBMS_STATS.REPORT_STATS_ADVISOR_TASK to generate a report on statistics-related issues.
The Optimizer Statistics Advisor can be invoked using the DBMS_STATS.REPORT_STATS_ADVISOR_TASK function to analyze and report on statistics health.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Run the AWR report and look for 'Stats' in the top wait events.
Why it's wrong here
AWR reports analyze wait events, but do not directly invoke the Statistics Advisor.
- ✓
Call DBMS_STATS.REPORT_STATS_ADVISOR_TASK to generate a report on statistics-related issues.
Why this is correct
This is the correct procedural call to generate insights into statistics management.
- ✗
Enable the SQL Tuning Advisor for the specific SQL_ID.
Why it's wrong here
SQL Tuning Advisor focuses on query plans, not the underlying health of statistics.
- ✗
Execute DBMS_STATS.GATHER_SCHEMA_STATS with the 'AUTO' option.
Why it's wrong here
This command gathers statistics but does not analyze their quality or provide advisor recommendations.
About these practice questions
One of 314 original OCP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Oracle exam blueprint
This OCP practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the OCP exam.