Practice OCP Performance Tuning And Diagnostics questions with full explanations on every answer.
Start practicing
Performance Tuning And Diagnostics — choose a session length
Free · No account required
Click any question to see the full explanation and answer options, or start a focused practice session above.
You need to identify the top SQL statements consuming the most CPU resources in an Oracle 23ai database over the last hour. Which tool provides the most direct analysis of this performance issue?
2To improve performance, you suspect an index is missing. Which advisor should you invoke to get recommendations for new indexes?
3You have a query that is performing poorly due to a stale execution plan. You want to lock the current optimal plan to prevent the optimizer from changing it during subsequent runs. What should you do?
4You notice that Automatic SQL Plan Management is not evolving your plans as expected. What is the most likely cause?
5An application query is failing to use a newly created index. You suspect the optimizer statistics are inaccurate. Which package should you use to gather statistics for this specific table?
6You are tuning a complex SQL statement. You want to see the execution plan that the optimizer is currently choosing. Which dynamic performance view is most useful?
7Which component of the Oracle Database uses the Automatic Diagnostic Repository (ADR) to store critical errors and performance incidents?
8A 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?
9What is the primary function of ADDM in Oracle Database 23ai?
10Which parameter controls the frequency of AWR snapshot collection?
11You want to capture a specific set of SQL statements and their execution plans to baseline them. Which package allows you to capture plans from the cursor cache?
12An application is experiencing high library cache lock contention. Which view is best suited to investigate this specific wait event?
13You need to determine why a particular session is experiencing high 'db file sequential read' waits. Which view provides the most detailed information about the specific blocks being read?
14You are using SQL Plan Management. What happens when a new execution plan is discovered for a SQL statement that already has a baseline?
15You are performing a SQL tuning exercise. How do you create a SQL Tuning Set (STS) to be used as input for the SQL Tuning Advisor?
16When reviewing an AWR report, you notice a high value for 'db time'. What does this indicate?
17Which view displays the current settings for the AWR retention period?
18Which report provides a summary of SQL statements that have the highest 'Elapsed Time'?
19You have a query that is being incorrectly optimized because the statistics are not representative of the actual data distribution. What is the best method to handle this without changing the global statistics?
20Which procedure in the DBMS_SPM package is used to evolve a SQL plan baseline?
21What is the result of setting STATISTICS_LEVEL to 'BASIC'?
22An ADDM report suggests increasing the library cache size. What is the most appropriate action?
23You are investigating high CPU utilization in the database. Which view provides the top SQL statements currently in memory based on CPU usage?
24You have a query that is using a nested loops join, but it should be using a hash join. The optimizer statistics are correct. How can you force a hash join without changing the SQL text?
25You are analyzing a query with the SQL Tuning Advisor. The advisor recommends an 'SQL Profile'. What does the profile actually do?
26Which of the following is true regarding SQL Plan Baselines?
27When running the SQL Tuning Advisor, what does the 'Accept' action do?
28What is the purpose of the 'ASH' report?
29How can you view the recommendations made by the Automatic Database Diagnostic Monitor (ADDM)?
30Which background process is responsible for capturing AWR snapshots?
31You are seeing 'enq: TX - row lock contention' in your performance reports. What does this mean?
32What does the 'Elapsed Time' in a SQL statement represent?
33You notice that a specific query is performing very slowly due to excessive 'direct path read' waits. What is the most likely cause?
34Which of these is the most effective way to address performance issues caused by suboptimal plans?
35When using SQL Tuning Advisor, what is a 'SQL Tuning Set' (STS)?
36What is the primary benefit of using a SQL Profile?
37In which view can you find information about the current SQL Plan Baselines?
38You have a high volume of parse time in your database. What could be the cause?
39Which advisor should you run to determine if your SGA and PGA memory settings are optimal?
40Which feature allows you to capture SQL statements from the cursor cache and load them into a SQL Tuning Set?
41What does the 'SQL ID' in an Oracle database represent?
42Which THREE of the following are components of the Oracle performance tuning lifecycle?
43Which TWO views can be used to monitor current session performance?
44You are tuning a query that is performing poorly due to high 'buffer busy waits'. What is the likely cause?
45Which THREE factors influence the optimizer's choice of an execution plan?
46Which TWO methods can be used to tune SQL statements?
47Which THREE types of information are captured in an AWR snapshot?
48Which THREE items are required for the Automatic SQL Plan Management to effectively stabilize plans?
49Which TWO of these are common sources of performance degradation?
50Which THREE pieces of information can be found in a SQL Tuning Advisor report?
51Which TWO components are essential for the operation of the Automatic Database Diagnostic Monitor (ADDM)?
52Which THREE actions can you take to improve execution plan stability?
53You observe a significant performance regression after a database upgrade. You suspect that the optimizer has chosen a suboptimal execution plan. Which component of SQL Plan Management should you use to ensure the database only uses known, verified execution plans?
54An administrator needs to identify the top wait events causing performance degradation in the database over the last hour. Which tool provides the most granular, session-level view of these wait events?
55The Automatic SQL Plan Management (ASPM) feature is enabled. A new execution plan is identified for a high-load query that performs better during testing. How does the database verify this plan before evolving the baseline?
56You are analyzing an AWR report and notice a high value for 'db file scattered read'. What is the most likely cause of this wait event?
57A 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?
58An administrator has been tasked with reducing the overhead of AWR snapshot collection. What is the most effective way to modify the snapshot interval?
59You need to capture a specific set of SQL statements that are causing high CPU usage for later tuning. Which tool allows you to group these statements and transport them across different database environments?
60Which THREE of the following are valid components or features of the Automatic SQL Tuning process in Oracle 23ai?
61When using the SQL Tuning Advisor to analyze a SQL statement, which THREE types of recommendations can it provide to improve performance?
62Which TWO types of reports are most useful for diagnosing long-term database performance trends?
The Performance Tuning And Diagnostics domain covers the key concepts tested in this area of the OCP exam blueprint published by Oracle. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all OCP domains — no account required.
The Courseiva OCP question bank contains 62 questions in the Performance Tuning And Diagnostics domain. Click any question to see the full explanation and answer breakdown.
Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.
Yes — the session launcher on this page draws questions exclusively from the Performance Tuning And Diagnostics domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.
Save your results, see per-domain analytics, and get readiness scores — free, for every certification.
Sign Up FreeFree forever · Every certification included