OCP Performance Tuning And Diagnostics Practice Question
A production database experiences a sudden performance degradation. You want to analyze the last 10 minutes of activity to pinpoint blocked sessions. Which approach is best?
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
✓
Query V$ACTIVE_SESSION_HISTORY
ASH data is stored in memory and is the primary source for recent, short-term performance diagnostics.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Generate an AWR report for the last hour
Why it's wrong here
AWR reports typically require a longer duration to be effective.
- ✓
Query V$ACTIVE_SESSION_HISTORY
Why this is correct
V$ACTIVE_SESSION_HISTORY captures session activity in memory for recent performance analysis.
- ✗
Check the Alert Log for ORA errors
Why it's wrong here
The alert log does not show session-level performance bottlenecks.
- ✗
Run the SQL Access Advisor
Why it's wrong here
This is for recommending indexes and materialized views.
About these practice questions
This OCP question is part of Courseiva's 312-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.