Skip to content

1Z0-084 Oracle Database 19c: Performance Management and Tuning Practice Questions

Prepare for 1Z0-084 with more than an answer.

188 questions in the full set20 sample questionsUpdated Dec 24, 2025
Exam fee
$245 USD
Level
Professional
Valid for
No expiration
Domains covered on the exam 16
  1. Basic Tuning Methods and Diagnostics10%
  2. Using Statspack5%
  3. Using Log and Trace Files to Monitor Performance5%
  4. Using Metrics, Alerts and Baselines5%
  5. Using AWR-Based Tools8%
  6. Performing Oracle Database Application Monitoring5%
  7. Identifying Problem SQL Statements10%
  8. Influencing the Optimizer5%
  9. Reducing the Cost of SQL Operations8%
  10. Using Real Application Testing5%
  11. SQL Performance Management10%
  12. Tuning the Shared Pool6%
  13. Tuning the Buffer Cache8%
  14. Tuning the PGA6%
  15. Using Automatic Memory Management5%
  16. Using In-Memory Features5%
  1. 1

    A database is configured to use Automatic Shared Memory Management (ASMM) by setting SGA_TARGET. What happens if a DBA manually sets the DB_CACHE_SIZE parameter to a specific value?

    Show answer details

    Correct answer: C

    When ASMM is enabled (SGA_TARGET > 0), manually setting a value for an auto-tuned component like DB_CACHE_SIZE does not disable auto-tuning for that component. Instead, the manually set value acts as a minimum floor. ASMM will ensure the buffer cache is at least the size specified by DB_CACHE_SIZE, but it retains the ability to dynamically allocate more memory to it (up to the SGA_TARGET limit) or shrink it back down to the specified minimum, based on workload demands. This allows DBAs to guarantee a minimum resource allocation while still benefiting from automatic management.

  2. 2

    True or False: Using Statspack requires a Diagnostic Pack license.

    Show answer details

    Correct answer: B

    This statement is false. Statspack is a performance monitoring tool provided by Oracle that is free to use with all editions of the Oracle database. It does not require the Diagnostic Pack license. The more advanced tools like AWR, ADDM, and ASH, which are built upon the AWR repository, do require the Diagnostic Pack license.

  3. 3

    An ADDM report contains the following finding:

    FINDING 1: SQL statements consuming significant database time were found.
    IMPACT: 65% of total database time

    What is the most appropriate next step for the DBA to take?

    Show answer details

    Correct answer: B

    An ADDM finding is a high-level summary and recommendation. When ADDM identifies that SQL is the primary consumer of DB Time, it points to inefficient SQL statements as the root cause. The ADDM report itself will list the top SQL IDs, but the most comprehensive data is in the AWR report that ADDM analyzed. The DBA's next logical step is to go to the source data—the AWR report—and examine the 'SQL ordered by DB Time' (or similar sections like 'SQL ordered by Gets', '...by Reads') to identify the exact SQL statements that are problematic. Once identified, those statements can be targeted for tuning using tools like the SQL Tuning Advisor.

  4. 4

    A developer is complaining that their query is running slowly. You want to see exactly how the optimizer made its decisions for this query, including transformations, cost calculations, and why it rejected alternative plans. Which method would provide this detailed internal information?

    Show answer details

    Correct answer: C

    The optimizer trace, enabled by setting event 10053, is the definitive way to see the optimizer's 'thought process'. The generated trace file contains a wealth of information, including the initial query block, query transformations (like view merging or predicate pushing), analysis of access paths for each table, join order considerations, cost calculations for different plans, and the final chosen plan. This is far more detailed than a standard execution plan or a 10046 SQL trace, which focuses on runtime statistics like waits and binds. It is the primary tool for deep dives into why the optimizer chose a particular plan.

  5. 5

    A query's execution plan is displayed below. What does the TABLE ACCESS BY INDEX ROWID BATCHED operation signify?

    graph TD A[SELECT STATEMENT] --> B[HASH JOIN]; B --> C[TABLE ACCESS FULL DEPARTMENTS]; B --> D[TABLE ACCESS BY INDEX ROWID BATCHED EMPLOYEES]; D --> E[INDEX RANGE SCAN EMP_DEPT_IX];
    Show answer details

    Correct answer: A

    The TABLE ACCESS BY INDEX ROWID BATCHED operation is an optimization primarily for Exadata, but available in 12c and later. It aims to improve the performance of table lookups via an index. Instead of retrieving a ROWID from the index and immediately accessing the table block (which can be inefficient for many rows), Oracle first retrieves a batch of ROWIDs from the index. It then sorts these ROWIDs by their data block address and accesses the table blocks in an optimal sequence to minimize I/O. This 'batching' process converts many single-block (random) reads into fewer, more efficient multi-block reads.

  6. 6

    A financial services application is experiencing severe performance degradation during its nightly batch processing. An AWR report for the period shows the top wait event is 'latch: cache buffers chains', with a high number of consistent gets. The primary table involved in the batch job is frequently accessed via a non-selective index. Which action is the most direct and effective way to mitigate this specific latch contention?

    Show answer details

    Correct answer: C

    'latch: cache buffers chains' contention often occurs when multiple sessions are trying to access blocks protected by the same latch, a situation commonly caused by 'hot blocks'. This is frequently a result of inefficient SQL, such as repeatedly scanning a large number of blocks through a non-selective index. The most effective solution is to fix the root cause: the SQL statement. Tuning the SQL to use a more selective index or a full table scan (if appropriate) will reduce the logical I/O and the contention on the same set of blocks. Increasing the buffer cache might slightly alleviate the symptoms but doesn't solve the underlying SQL inefficiency. Reducing block size is a major architectural change and not a direct solution. Increasing _DB_BLOCK_LRU_LATCHES is a deprecated action and not recommended.

  7. 7

    A database is configured with Automatic Memory Management (AMM) by setting MEMORY_TARGET. After a system reboot, the database fails to start, and the alert log shows an ORA-00845 error. What is the most likely cause of this error?

    Show answer details

    Correct answer: B

    The ORA-00845 error (MEMORY_TARGET not supported on this system) indicates that the operating system environment cannot support the Automatic Memory Management configuration. On Linux systems, AMM requires the /dev/shm shared memory filesystem to be large enough to hold the entire MEMORY_TARGET allocation. If /dev/shm is smaller than MEMORY_TARGET, the database instance cannot allocate the required shared memory and will fail to start. The correct resolution is to increase the size of /dev/shm (typically by editing /etc/fstab) to be at least the size of MEMORY_TARGET and reboot the server or remount the filesystem.

  8. 8

    You are tasked with analyzing the performance impact of a major application upgrade before deploying it to production. The goal is to test the exact production workload against the upgraded database environment to identify any SQL regressions. Which two Oracle features should be used in combination to achieve this? (Select TWO)

    Show answer details

    Correct answer: A, C

  9. 9

    A query against a large, partitioned table is performing poorly. The execution plan reveals that the optimizer is performing a full scan on all partitions, even though the WHERE clause contains a filter on the partitioning key column. You have confirmed that optimizer statistics are up-to-date. What is the most probable reason for the lack of partition pruning?

    Show answer details

    Correct answer: B

    Partition pruning can only occur if the optimizer can determine at parse time which partitions need to be accessed. If a function (e.g., TO_CHAR, SUBSTR) or an implicit data type conversion is applied to the partitioning key column in the WHERE clause, the optimizer cannot make this determination. For example, if a DATE column is the partitioning key and the WHERE clause compares it to a character string (WHERE partition_date_col = '01-JAN-2023'), the implicit TO_DATE conversion on the literal value is fine. However, if the query is written as WHERE TO_CHAR(partition_date_col, 'YYYY-MM-DD') = '2023-01-01', the function on the column prevents pruning. This is a common cause of performance issues with partitioned tables.

  10. 10

    True or False: When using the In-Memory Column Store, the INMEMORY clause can be applied at the tablespace level, causing all new tables and partitions created in that tablespace to be automatically enabled for In-Memory population.

    Show answer details

    Correct answer: A

    This statement is true. Oracle Database allows you to set a default In-Memory attribute for a tablespace. When you create a new table or partition within that tablespace without specifying an INMEMORY or NO INMEMORY clause, it inherits the default setting from the tablespace. This simplifies the management of In-Memory objects for large applications.

Create an account to continue.