1Z0-084 Sample Questions

1Z0-084 Sample Questions & Answers

Spans tuning methodology and diagnostics, pinpointing and fixing problem SQL statements, SQL performance management with statistics and advisors, AWR-based analysis through ADDM and ASH, shared pool, buffer cache and PGA tuning, and memory management features.

Launch the full 1Z0-084 simulator →

Showing 10 of 20 free samples.

  1. Question 1Intermediate

    Tuning the Buffer Cache · Diagnose database I/O issues

    You are managing a database for an e-commerce platform that experiences very high transaction rates. Users report intermittent slowdowns. Your analysis of ASH data reveals frequent waits for 'log file sync' and 'log file parallel write'. Which of the following is the most appropriate first step to diagnose the I/O subsystem's contribution to this problem?

    Show answer & explanation

    Correct answer: B

    The 'log file sync' wait event indicates that user sessions are waiting for LGWR to write redo from the log buffer to the online redo logs. The 'log file parallel write' event is the time LGWR itself spends writing to the logs. To determine if the I/O subsystem is the bottleneck, you must measure the actual write performance. The AWR report's I/O stats section, specifically the 'redo write time' and average write time (avg wrt(ms) for the redo log files), provides a direct measurement of the I/O performance for redo writes. High values here (e.g., >10ms) confirm an I/O bottleneck. Increasing the log buffer is unlikely to help if the I/O subsystem cannot keep up. Increasing log file size might reduce log switches but won't improve write speed. Adding more redo log groups is a good practice for availability but also doesn't directly speed up individual writes.

  2. Question 2Beginner

    SQL Performance Management · Use SQL Plan Management to tune SQL statements

    A DBA is trying to improve the performance of a specific SQL statement. They run the SQL Tuning Advisor, which recommends creating a SQL Profile. What is the primary function of a SQL Profile?

    Show answer & explanation

    Correct answer: B

    A SQL Profile does not freeze an execution plan like a SQL Plan Baseline does. Instead, it contains supplemental statistics and correction factors (e.g., adjustments to cardinality or cost estimates) derived from the SQL Tuning Advisor's analysis. When the SQL statement is parsed, the optimizer uses this additional information from the profile, along with the regular object statistics, to make better decisions and generate a more optimal plan. This allows the plan to adapt to future changes in data or statistics while still being guided by the profile's corrections.

  3. Question 3Beginner

    Tuning the PGA · Diagnosing and resolving performance issues related to PGA

    An administrator is investigating high PGA usage. The V$PGASTAT view shows a large value for total PGA allocated and a significant number of workarea executions - multipass. What is the most direct way to get a recommendation for sizing the PGA to reduce multipass executions?

    -- Query executed by DBA:
    SELECT * FROM V$PGA_TARGET_ADVICE;
    
    Show answer & explanation

    Correct answer: A

    The V$PGA_TARGET_ADVICE view is specifically designed to help DBAs size the PGA_AGGREGATE_TARGET. It predicts how changes to this parameter will affect the cache hit percentage and the number of multipass executions. By examining the ESTD_OVERALLOC_COUNT or ESTD_MULTIPASS_EXECUTIONS (in older versions) columns, the DBA can see at which PGA_AGGREGATE_TARGET value the number of multipass executions would drop to zero or an acceptable level. This provides a direct, data-driven recommendation for tuning the PGA.

  4. Question 4AdvancedSelect 2

    Tuning the Buffer Cache · Diagnosing and resolving performance problems related to the buffer cache

    A system is experiencing high buffer busy waits. An analysis of V$WAITSTAT and segment statistics from an AWR report indicates the contention is on data blocks belonging to a single, heavily inserted table. The application uses a sequence to populate the primary key. Which two actions could help alleviate this specific type of contention? (Select TWO)

    Show answer & explanation

    Correct answers: A, C

  5. Question 5Advanced

    Basic Tuning Methods and Diagnostics · Diagnosing performance problems using V$ views

    Case Study: A retail company runs its primary OLTP database on a 2-node Oracle RAC 19c environment. During peak holiday sales, the system experiences significant performance issues. The business requires that the database remains highly available and that the performance issues are resolved without application code changes.

    An AWR report from the peak period shows the top timed foreground events are 'gc cr block 2-way', 'gc current block 2-way', and 'DB CPU'. The 'Interconnect Ping Latency Stats' section of the report indicates low latency, suggesting the private network is healthy. Further analysis of the 'SQL ordered by Cluster Wait Time' section reveals that a small number of UPDATE statements against the INVENTORY table are responsible for the majority of the 'gc current block' waits.

    The INVENTORY table is frequently updated by transactions originating from both nodes as sales are processed. The application logic reads the current stock level, updates it, and commits. The table is not partitioned and has a standard B-tree index on the PRODUCT_ID primary key.

    Given this information, what is the most appropriate solution to mitigate the 'gc current block 2-way' contention and improve performance?

    Show answer & explanation

    Correct answer: C

    The high 'gc current block 2-way' waits on the INVENTORY table indicate severe block contention between the RAC nodes. This happens when both nodes are frequently requesting the most current version of the same data blocks for modification. The root cause is that updates for different products are likely physically co-located in the same data blocks, causing inter-node conflicts. Implementing hash partitioning on PRODUCT_ID will physically separate the data for different products into different partitions, and therefore different sets of data blocks. This dramatically reduces the probability that Node 1 and Node 2 will need to modify the same block at the same time, thus mitigating the global cache contention. Directing traffic to one node would serialize the workload, defeating the purpose of RAC for scalability. Increasing DBWRs doesn't solve the inter-node block transfer issue. Rebuilding indexes might temporarily help but won't solve the fundamental data placement problem.

  6. Question 6Intermediate

    Identifying Problem SQL Statements · Monitoring Adaptive / Dynamic Execution plans

    You are analyzing an execution plan that includes an 'ADAPTIVE PLAN' operation with two sub-plans: a NESTED LOOPS join and a HASH JOIN. Under what condition will the optimizer choose to use the HASH JOIN at runtime?

    Show answer & explanation

    Correct answer: B

    Adaptive plans make a final decision on the join method at execution time. The optimizer initially chooses a default plan (often NESTED LOOPS, which is optimal for a small number of driving rows) but also defines an alternative (HASH JOIN, optimal for a large number of rows). It inserts a 'statistics collector' operation in the plan. As the first row source is executed, the collector counts the actual number of rows produced. If this count exceeds a specific threshold calculated by the optimizer, it signals that the initial cardinality estimate was wrong. The plan then 'flips' to the alternative HASH JOIN sub-plan, which is more efficient for the larger-than-expected row set.

  7. Question 7Intermediate

    SQL Performance Management · Use SQL Plan Management to tune SQL statements

    A DBA needs to prevent execution plan instability for a critical report query after a database upgrade. The business requires that the query continue to use its current, well-performing execution plan, regardless of future changes to optimizer statistics or database parameters. Which feature should be used to enforce this requirement?

    Show answer & explanation

    Correct answer: C

    SQL Plan Management (SPM) using SQL Plan Baselines is the designated feature for ensuring plan stability. A baseline is created for a SQL statement, capturing one or more accepted execution plans. By default, the optimizer will only use plans that are present in the baseline. This effectively 'locks in' the known good plans and prevents the optimizer from choosing a new, potentially worse plan (a regression) after changes like an upgrade or statistics gathering. Stored Outlines are a legacy feature superseded by SPM. SQL Profiles guide the optimizer but do not lock a specific plan. SQL Patches are for injecting hints to fix specific issues.

  8. Question 8AdvancedSelect 3

    Influencing the Optimizer · Configuring parameters to influence the optimizer

    The OPTIMIZER_DYNAMIC_SAMPLING parameter is set to its default value of 2. For which of the following situations will the optimizer automatically invoke dynamic sampling during the compilation of a SQL statement? (Select ALL that apply)

    Show answer & explanation

    Correct answers: A, B, D

    With the default setting, the optimizer uses dynamic sampling (now called dynamic statistics) in several key situations where it believes the existing statistics are insufficient or absent. This includes when a table has no statistics at all, when predicates involve complex expressions (e.g., WHERE SUBSTR(col,1,1) = 'A'), or when there's a combination of predicates on multiple tables for which correlation is unknown. The goal is to get a more accurate cardinality estimate at parse time to generate a better plan. Stale statistics alone do not trigger dynamic sampling; the optimizer will use the stale stats unless other conditions are met.

  9. Question 9Beginner

    Tuning the Buffer Cache · Configuring Big Table Caching

    Which initialization parameter must be set to enable Automatic Big Table Caching?

    Show answer & explanation

    Correct answer: B

    The Automatic Big Table Cache feature is controlled by the DB_BIG_TABLE_CACHE_PERCENT_TARGET initialization parameter. Setting this parameter to a non-zero value allocates a percentage of the buffer cache to be used as a special-purpose cache for large tables, utilizing a different caching and eviction algorithm optimized for scans rather than random reads.

  10. Question 10Beginner

    SQL Performance Management · Using the SQL Access and SQL Tuning advisors to Tune SQL statements

    You have identified a poorly performing SQL statement using real-time SQL monitoring (V$SQL_MONITOR). The statement has a high Buffer Gets value in its report. Which advisor should you use to get automatic recommendations for improving this specific SQL statement, including potential new indexes or SQL profiles?

    Show answer & explanation

    Correct answer: D

    The SQL Tuning Advisor is the primary tool for analyzing and providing recommendations for a single, specific SQL statement. It performs a deep analysis of the statement, its objects, statistics, and the database environment. Its recommendations can include creating new indexes, accepting a SQL Profile, gathering or modifying statistics, or restructuring the SQL. The SQL Access Advisor works on an entire workload (SQL Tuning Set) to recommend a holistic set of indexes and materialized views, while the Optimizer Statistics Advisor focuses on the health of the statistics gathering process.

Ready for the real thing?

The full 1Z0-084 simulator has every exam-style question, timed mode, and instant scoring.