Oracle DBA Professional AWR and SQL Performance Tuning Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. In SQL performance tuning, what does 'predicate pushdown' accomplish?

Explanation

Predicate pushdown applies filtering conditions as close as possible to the data source, reducing the number of rows processed by later query operations. This can lower resource usage and improve query performance.

Submit
Please wait...
About This Quiz
Oracle DBA Professional Awr and SQL Performance Tuning Quiz - Quiz

This quiz evaluates your expertise in Oracle Automatic Workload Repository (AWR) analysis and SQL performance tuning. Master key techniques for identifying bottlenecks, interpreting AWR reports, optimizing query execution plans, and implementing performance improvements. Essential knowledge for Oracle DBAs managing production databases effectively.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which execution plan join method typically uses the least memory for joining large datasets?

Explanation

Nested Loop Join typically uses the least memory because it processes rows from one input at a time and compares them with rows from the other, rather than building a large hash table or sorting both datasets. Its trade-off is that it can require many comparisons and run slowly on large inputs.

Submit

3. What does a high 'Library Cache Hit Ratio' in AWR indicate?

Explanation

A high Library Cache Hit Ratio means Oracle is frequently finding previously cached SQL statements and related objects in memory. This promotes SQL reuse, reduces hard parsing, and lowers the CPU and resource overhead associated with parsing statements again.

Submit

4. The SQL ____ Advisor automatically identifies tuning recommendations for high-load SQL.

Explanation

The SQL Tuning Advisor analyzes high-load SQL statements and recommends ways to improve their performance, such as creating indexes or updating statistics.

Submit

5. Which AWR metric measures the percentage of time the database was actively processing work?

Explanation

Instance Efficiency reports percentage-based ratios showing how effectively the database instance uses resources, including buffer and library cache hit rates and parse efficiency. These indicators help assess workload processing effectiveness, whereas Database CPU Time measures processor usage specifically.

Submit

6. A ____ join is typically more efficient when joining a large table with a small dimension table.

Explanation

A hash join is often efficient for a large table and a small dimension table because the database can build a hash table from the smaller table’s join keys, then scan the larger table once to find matching rows. This avoids repeatedly searching the dimension table for each row in the larger table.

Submit

7. Which view provides Active Session History (ASH) data in Oracle Database?

Explanation

`V$ACTIVE_SESSION_HISTORY` provides sampled data about active database sessions, including their activity and wait events. `V$SESSION` shows current session information, while the other views provide database details or initialization parameters.

Submit

8. What is the primary benefit of using hints in SQL tuning?

Explanation

SQL hints provide directives that influence the optimizer’s choices, such as which join method or access path to use. They can override its default execution-plan decision when a specific plan is desirable, though they do not automatically create indexes, change database parameter files, or encrypt query data.

Submit

9. The 'Top SQL' section in AWR reports is sorted by which metric by default?

Explanation

The Top SQL section ranks SQL statements by their total elapsed time by default. This highlights the statements that consumed the most time during the AWR snapshot period, helping database administrators identify queries with the greatest impact on performance.

Submit

10. Which parameter controls the AWR retention policy in Oracle Database?

Explanation

`db_recovery_file_dest_size` limits the size of the Fast Recovery Area; it does not control AWR retention. AWR retention is configured through `DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS`. The provided answer is therefore incorrect.

Submit

11. What is the primary purpose of Oracle Automatic Workload Repository (AWR)?

Explanation

Oracle Automatic Workload Repository (AWR) periodically captures and stores database performance metrics and statistics, such as workload and resource usage. These historical snapshots help administrators identify performance trends, diagnose issues, and guide tuning decisions. AWR collects information; it does not automatically optimize queries, manage user permissions, or monitor network connectivity.

Submit

12. Which wait event commonly indicates I/O contention in AWR reports?

Explanation

“db file sequential read” records time spent waiting for single-block reads from data files, often caused by index lookups. If it accounts for substantial database time in an AWR report, it can indicate storage I/O delays or contention. The other options generally represent client idle time, commit synchronization, or an Oracle background-process timer.

Submit

13. What is the purpose of the 'EXPLAIN PLAN' statement in Oracle?

Explanation

`EXPLAIN PLAN` shows how Oracle intends to execute a SQL statement, including the operations and access paths it may use. It records the proposed plan without running the query itself, helping developers assess and tune query performance before execution.

Submit

14. The Oracle SQL Tuning Advisor is part of which feature?

Explanation

The provided answer appears incorrect: Oracle SQL Tuning Advisor is part of the Oracle Tuning Pack, not Real Application Testing (RAT). RAT includes tools such as Database Replay and SQL Performance Analyzer. None of the listed options accurately identifies SQL Tuning Advisor’s feature.

Submit

15. Which execution plan operation typically indicates a performance bottleneck if executed in high volume?

Explanation

A TABLE ACCESS FULL operation reads every row in a table rather than locating only the needed rows through an index. When it occurs frequently on large tables, it can generate substantial disk I/O and consume CPU, making it a likely performance bottleneck. Full scans may still be appropriate for small tables or queries that need most rows.

Submit

16. In SQL tuning, what does 'cardinality' refer to?

Explanation

In SQL tuning, cardinality describes how many rows a query operation is expected to produce or actually produces. Database optimizers use estimated cardinality to compare execution plans and choose efficient access methods, joins, and processing strategies. Poor estimates can lead to inefficient plans and slower queries.

Submit

17. Which tool is commonly used to generate AWR reports in Oracle Database?

Explanation

Oracle’s `awrrpt.sql` script is commonly used to generate Automatic Workload Repository (AWR) reports. It prompts for a report format and time range, then summarizes database performance statistics collected between snapshots to help identify workload patterns and performance issues.

Submit

18. What does the 'DB Time' metric in AWR represent?

Explanation

DB Time measures the total time sessions spend actively working in the database, including both CPU processing and waits for resources or events. It is cumulative across sessions, so it can exceed the elapsed wall-clock time when multiple sessions are active simultaneously.

Submit

19. By default, AWR snapshots are captured every ____ minutes.

Explanation

By default, Automatic Workload Repository (AWR) snapshots are captured every 60 minutes, allowing Oracle Database to collect performance statistics at regular hourly intervals.

Submit

20. Which view contains the main AWR snapshot data in Oracle Database?

Explanation

DBA_HIST_SNAPSHOT stores metadata about Automatic Workload Repository (AWR) snapshots, including snapshot IDs, collection times, and database identifiers. It helps identify and compare snapshots when querying historical performance data. The other options provide active-session, segment, or SQL execution-plan information rather than the main snapshot metadata.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In SQL performance tuning, what does 'predicate pushdown' accomplish?
Which execution plan join method typically uses the least memory for...
What does a high 'Library Cache Hit Ratio' in AWR indicate?
The SQL ____ Advisor automatically identifies tuning recommendations...
Which AWR metric measures the percentage of time the database was...
A ____ join is typically more efficient when joining a large table...
Which view provides Active Session History (ASH) data in Oracle...
What is the primary benefit of using hints in SQL tuning?
The 'Top SQL' section in AWR reports is sorted by which metric by...
Which parameter controls the AWR retention policy in Oracle Database?
What is the primary purpose of Oracle Automatic Workload Repository...
Which wait event commonly indicates I/O contention in AWR reports?
What is the purpose of the 'EXPLAIN PLAN' statement in Oracle?
The Oracle SQL Tuning Advisor is part of which feature?
Which execution plan operation typically indicates a performance...
In SQL tuning, what does 'cardinality' refer to?
Which tool is commonly used to generate AWR reports in Oracle...
What does the 'DB Time' metric in AWR represent?
By default, AWR snapshots are captured every ____ minutes.
Which view contains the main AWR snapshot data in Oracle Database?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!