Courseiva

Oracle Database 23ai Administrator Professional (OCP, 1Z0-183) (OCP) (OCP) — Questions 1–75

261 questions total · 4 pages · All types, answers revealed

Page 1 of 4

Page 2
1
MCQmedium

You are administering a CDB with several PDBs. You need to ensure that a specific PDB named HRPDB is automatically started and opened in READ WRITE mode whenever the CDB instance starts. Which action should you take?

A.Modify the PDB's initialization parameter file to include OPEN_MODE=READ WRITE.
B.Set the PDB's state to OPEN in the CDB's spfile using ALTER SYSTEM SET PDB_OPEN_MODE='READ WRITE'.
C.Create a database trigger that fires on startup and opens the PDB.
D.Set the PDB's open mode in the CDB's startup configuration by executing ALTER PLUGGABLE DATABASE HRPDB SAVE STATE.
AnswerD

The ALTER PLUGGABLE DATABASE ... SAVE STATE command saves the current open mode of the PDB so that it is automatically restored when the CDB instance restarts. This is the correct method to ensure a PDB opens automatically in a specific mode. The command stores the state in the CDB's data dictionary and applies it during instance startup.

Why this answer

The ALTER PLUGGABLE DATABASE ... SAVE STATE command records the current open mode of a PDB in the CDB's data dictionary. When the CDB instance restarts, the PDB is automatically opened in the saved mode.

This is the standard and recommended way to ensure a PDB opens automatically in READ WRITE mode.

Exam trap

The trap here is thinking that a hidden initialization parameter or a startup trigger is needed, when Oracle provides the SAVE STATE clause for exactly this purpose.

2
MCQeasy

Your Oracle 23ai database is in NOARCHIVELOG mode. A user reports that a critical table was accidentally modified, and you want to restore the database to a point before the change. What is the primary limitation you face?

A.The fast recovery area cannot be used in NOARCHIVELOG mode.
B.You cannot take any backups while the database is in NOARCHIVELOG mode.
C.Point-in-time recovery is not possible because archived redo logs are not generated in NOARCHIVELOG mode.
D.RMAN cannot be used to back up a NOARCHIVELOG database.
AnswerC

In NOARCHIVELOG mode, Oracle does not archive redo logs, so there is no continuous record of changes to roll forward or back to an arbitrary point. You can only restore the most recent full backup, losing all changes made after it. This makes point-in-time recovery impossible, which is the fundamental limitation of running without archiving.

Why this answer

NOARCHIVELOG mode means redo logs are overwritten rather than archived, so there is no way to replay changes to reach an arbitrary past point. Recovery is limited to restoring the last consistent backup, losing subsequent transactions. This is why production databases requiring point-in-time recovery must run in ARCHIVELOG mode.

Exam trap

The trap here is assuming NOARCHIVELOG mode prevents backups entirely, when in fact it only prevents point-in-time recovery.

3
Multi-Selectmedium

You are reviewing security best practices for 23ai. Which THREE of the following represent recommended actions to harden a production instance?

Select 3 answers
A.Apply the latest quarterly Release Update (RU)
B.Use Oracle Key Vault for TDE master key management
C.Enforce strong password profiles
D.Run database in NoArchiveLog mode for security
E.Disable all default schemas immediately
AnswersA, B, C

Applying the latest quarterly Release Update patches known vulnerabilities in the Oracle binaries, closing exploits that attackers actively target. Staying current on security patches is a foundational hardening action for production instances, satisfying the stem's requirement for recommended security actions.

Why this answer

Option A is correct because applying the latest quarterly Release Update (RU) ensures the instance receives Oracle's most recent security patches and bug fixes, which is a foundational hardening step for any production 23ai database. Option B is correct because using Oracle Key Vault for TDE master key management centralizes and isolates encryption keys from the database server, providing stronger key custody and separation of duties than storing keys in a local wallet. Option C is correct because enforcing strong password profiles (via Oracle profiles with parameters like FAILED_LOGIN_ATTEMPTS, PASSWORD_LIFE_TIME, and PASSWORD_VERIFY_FUNCTION) reduces the risk of brute-force and credential-guessing attacks against database accounts.

Option D is not recommended because running in NoArchiveLog mode disables archiving and thus eliminates point-in-time recovery, increasing data-loss risk rather than hardening the instance. Option E is not recommended because disabling all default schemas immediately can break core database functionality and built-in features; default accounts should instead be locked or expired selectively after verifying they are unused.

Exam trap

The trap is treating operational choices (NoArchiveLog mode, dropping default schemas) as security hardening — candidates who equate 'less functionality' with 'more secure' pick D or E, missing that these break recoverability and core database operation.

4
Multi-Selectmedium

Which TWO statements are true regarding the use of a Recovery Catalog?

Select 2 answers
A.It can be used to store backup scripts.
B.It is required to perform RMAN backups.
C.It is physically located inside the target database.
D.It stores metadata about backups for multiple databases.
E.It eliminates the need for control file autobackups.
AnswersA, D

The recovery catalog schema stores user-created RMAN scripts, letting you persist and reuse stored scripts across sessions. This satisfies the statement that the catalog can hold backup scripts, a capability absent from control-file-only metadata storage.

Why this answer

Option A is correct because the RMAN recovery catalog can store backup scripts (persistent named scripts) that can be executed against registered target databases, allowing centralized script management. Option D is correct because a single recovery catalog schema can register multiple target databases and store their backup metadata, including backup sets, image copies, archived logs, and datafile information. Option B is incorrect because RMAN can perform backups using only the target database control file as the repository; the recovery catalog is optional.

Option C is incorrect because the recovery catalog resides in a separate database (or schema), not inside the target database, to protect metadata if the target is lost. Option E is incorrect because control file autobackups are still recommended and can be used even with a recovery catalog, especially to recover the catalog or when the catalog is unavailable.

5
MCQmedium

When reviewing an AWR report, you notice a high value for 'db time'. What does this indicate?

A.The time spent on disk I/O only
B.The time spent on instance background processes
C.The time the database was open
D.The total time spent by sessions in the database
AnswerD

DB time aggregates the elapsed time all foreground sessions spend actively working inside the database, including CPU and non-idle wait time. A high value therefore signals that sessions are collectively spending excessive time in the database, indicating heavy workload or contention rather than merely long connection durations.

Why this answer

'DB time' in an AWR report represents the cumulative time spent by all foreground sessions in database calls — essentially the total amount of work the database performed, including CPU and wait time. A high DB time relative to elapsed time indicates sessions are spending significant time waiting or consuming CPU, signaling potential performance pressure.

Exam trap

The trap is confusing DB time with elapsed time or with I/O wait time — DB time is a cumulative measure of session activity, not wall-clock duration or a single wait category.

How to eliminate wrong answers

Option A is wrong because DB time is not limited to disk I/O; it includes CPU time and all wait events, not just I/O-related waits. Option B is wrong because background process time is tracked separately (as 'background time' or 'background CPU'), not included in DB time. Option C is wrong because the time the database was open is the 'elapsed time' of the snapshot interval, which is a different metric used as the denominator when computing average active sessions.

6
MCQmedium

What is the primary function of the RMAN 'SWITCH' command?

A.To move the database to a new server.
B.To update the control file to point to a new datafile copy.
C.To switch between primary and standby.
D.To switch the log file.
AnswerB

SWITCH updates the RMAN repository and control file so a datafile copy is treated as the current datafile, satisfying the need to redirect the database to a replacement file without a full restore. It changes metadata pointers only, leaving the physical copy untouched.

Why this answer

The RMAN SWITCH command updates the recovery catalog and/or target control file so that the datafile entry points to a newly created copy (typically produced by BACKUP AS COPY or a restore to a new location). It does not move data itself — it repoints metadata. This is commonly used after restoring a datafile copy to a new path, allowing the database to use the copy without renaming at the OS level.

Exam trap

The trap here is confusing RMAN SWITCH with Data Guard SWITCHOVER or with OS-level file moves — candidates must remember SWITCH only repoints control file metadata to an existing copy.

How to eliminate wrong answers

Option A is wrong because moving a database to a new server is a migration task handled by export/import, Data Guard, or transportable tablespaces — not RMAN SWITCH. Option C is wrong because switching between primary and standby is a Data Guard role transition (SWITCHOVER/FAILOVER), not the RMAN SWITCH command. Option D is wrong because switching log files refers to log file groups or archived log management, which is unrelated to SWITCH's datafile-copy repointing behavior.

7
MCQhard

You have a 19c database. Which tool must you run to ensure the database is ready for an upgrade to 23ai?

A.utlrp.sql
B.dbv
C.catupgrd.sql
D.preupgrade.jar
AnswerD

preupgrade.jar performs the mandatory pre-upgrade checks for 19c to 23ai, analysing the database and generating a fixup script plus a preupgrade log. It satisfies the stem's requirement to verify upgrade readiness, unlike DBUA, which performs the actual upgrade rather than the readiness assessment.

Why this answer

The Pre-Upgrade Information Tool (preupgrade.jar) is mandatory for evaluating the source database.

8
MCQmedium

You are the lead DBA for a CDB called PRODCDB that contains 40 PDBs. An application team reports that connections to the PDB named SALESPDB intermittently fail with ORA-01033: ORACLE initialization or shutdown in progress, even though the CDB instance has been up for days. You query V$PDBS and notice SALESPDB shows a con_id of 5 and an open_mode of MOUNTED. Which action most directly restores application connectivity to SALESPDB?

A.Run ALTER SYSTEM REGISTER on the SALESPDB service to re-register it with the listener.
B.Restart the CDB instance with STARTUP FORCE to re-open all containers automatically.
C.Execute ALTER PLUGGABLE DATABASE SALESPDB OPEN; from the root container.
D.Set the PDB's saved state to OPEN by running ALTER PLUGGABLE DATABASE SALESPDB SAVE STATE.
AnswerC

When a PDB is in MOUNTED state its data files are associated but the PDB is not open for user traffic, so applications receive initialization errors. Issuing ALTER PLUGGABLE DATABASE SALESPDB OPEN from the root transitions the PDB to READ WRITE and immediately allows sessions to connect. This is the precise, minimal command for the reported symptom.

Why this answer

A PDB showing MOUNTED in V$PDBS is known to the CDB but not open for user connections, which produces initialization errors for the application. Opening the specific PDB from the root container changes its open mode to READ WRITE without disturbing the other 39 PDBs. Restarting the instance, re-registering services, or saving state do not transition the container out of MOUNTED.

Exam trap

The trap here is assuming that a running CDB instance implies every PDB is open, when each PDB has an independent open mode that must be changed explicitly.

9
MCQmedium

You are preparing to upgrade a 19c non-CDB database to Oracle Database 23ai using the AutoUpgrade utility. Before running the upgrade, you must create the AutoUpgrade configuration file with the correct parameters. Which file format does AutoUpgrade require for its configuration file?

A.A JSON file with a predefined structure and mandatory keys.
B.A plain text file using key=value pairs and section headers, conventionally named config.cfg.
C.An XML file conforming to a specific AutoUpgrade schema.
D.A YAML file with indentation-based nesting.
AnswerB

AutoUpgrade uses a simple text-based configuration file, typically named config.cfg, where parameters are specified as key=value pairs and grouped under section headers such as [GENERAL] and [JOBS]. This format is human-readable, easy to edit, and is the documented requirement for all AutoUpgrade operations, including upgrades to Oracle Database 23ai.

Why this answer

AutoUpgrade reads a plain text configuration file, commonly named config.cfg, where parameters are defined as key=value pairs under section headers like [GENERAL] and [JOBS]. This format is required for specifying source and target database homes, SID lists, and other upgrade options. XML, JSON, and YAML are not supported and will prevent the utility from running correctly.

Exam trap

The trap here is assuming that a modern utility like AutoUpgrade would use a structured format such as JSON or YAML, when it actually relies on a simple key=value text file.

10
Multi-Selecthard

Which THREE factors influence the optimizer's choice of an execution plan?

Select 3 answers
A.Optimizer statistics
B.Indexes on the queried columns
C.The current time of day
D.Initialization parameters
E.User password strength
AnswersA, B, D

Optimiser statistics describe table, column and index data distribution, feeding cardinality estimates that drive cost calculations. They satisfy the stem because inaccurate or stale statistics cause the optimiser to select a plan based on wrong row-count assumptions.

Why this answer

The optimizer considers statistics, system parameters, and schema objects.

11
MCQeasy

You want to use Memoptimized Write to speed up data ingestion. Which type of table should you use?

A.External table
B.Global temporary table
C.Index-organized table
D.Heap-organized table
AnswerD

Memoptimized Write requires heap-organized tables, as it bypasses standard buffer cache processing to write directly to the Memoptimized Rowstore. An index-organized table cannot use this feature because its rows must be maintained within a B-tree structure, which is incompatible with the direct-path ingestion mechanism the stem requires.

Why this answer

Memoptimized Write is a feature introduced in Oracle Database 18c that accelerates high-volume INSERT operations by buffering inserts in the SGA and writing them directly to the database using a fast path, bypassing much of the standard buffer cache and redo overhead. It is only supported on heap-organized tables, since these tables have a simple rowid-based physical structure that the fast-path insert mechanism can target. Index-organized tables, external tables, and global temporary tables do not support the Memoptimized Write clause.

Exam trap

OCP often tests the misconception that any high-performance table type (IOT, GTT, external) can use Memoptimized Write, when in fact only heap-organized tables support the MEMOPTIMIZE FOR WRITE clause.

How to eliminate wrong answers

Option A is wrong because external tables are read-only metadata definitions pointing to OS files and cannot be written to at all, let alone use Memoptimized Write. Option B is wrong because global temporary tables store session/transaction-private data in the temporary tablespace and are not eligible for the Memoptimized Write fast-path insert mechanism. Option C is wrong because index-organized tables store rows inside a B-tree structure keyed by primary key, which is incompatible with the rowid-based fast-path insert used by Memoptimized Write.

12
MCQeasy

How is AI Vector Search integrated into SQL?

A.Via external API calls
B.Via a new programming language
C.Using standard SQL syntax
D.Via PL/SQL only
AnswerC

AI Vector Search exposes vector columns and similarity operations through ordinary SQL — VECTOR data types, vector distance functions and standard DML. Developers query embeddings alongside relational data using familiar statements, avoiding a separate API or query language.

Why this answer

AI Vector Search in Oracle 23ai is integrated directly into SQL using standard SQL syntax, allowing developers to store vectors in VECTOR columns and query them with functions like VECTOR_DISTANCE alongside regular relational predicates. This means no external API calls or new languages are needed — you can write SELECT statements that combine vector similarity search with traditional WHERE clauses. This tight integration is a key design goal of 23ai's vector capabilities.

Exam trap

The trap is assuming AI Vector Search requires external APIs or a new language, when Oracle 23ai deliberately integrates it into standard SQL to keep the developer experience unified.

How to eliminate wrong answers

Option A is wrong because AI Vector Search does not require external API calls; it is built into the database engine and accessed via SQL. Option B is wrong because no new programming language is introduced — existing SQL and PL/SQL are used. Option D is wrong because while PL/SQL can call vector functions, the integration is not limited to PL/SQL; standard SQL is the primary interface.

13
MCQeasy

Which RMAN command displays the database structure and associated datafiles?

A.DESCRIBE DATABASE
B.LIST SCHEMA
C.SHOW SCHEMA
D.REPORT SCHEMA
AnswerD

REPORT SCHEMA lists tablespaces, datafiles and their sizes, producing the database structure with associated files. It satisfies the stem's requirement to display both structure and datafiles, unlike REPORT OBSOLETE or LIST commands, which target backups or individual file details rather than the full schema layout.

Why this answer

REPORT SCHEMA shows the layout of the database and its datafiles.

14
Multi-Selecthard

You are a DBA for an Oracle Database 23ai instance. A developer reports that a specific SQL statement is performing poorly. You want to gather detailed execution statistics for this single statement to diagnose the issue. Which two methods can provide the actual execution plan and runtime statistics for this statement? (Choose two.)

Select 2 answers
A.Enable SQL tracing for the session using ALTER SESSION SET SQL_TRACE = TRUE and then run the statement.
B.Query V$SQL_PLAN for the SQL_ID of the statement.
C.Query DBA_HIST_SQLSTAT for the SQL_ID.
D.Use the EXPLAIN PLAN FOR command and then query PLAN_TABLE.
E.Use the DBMS_XPLAN.DISPLAY_CURSOR function with the SQL_ID after execution.
AnswersA, E

Enabling SQL trace for the session captures detailed execution statistics for all SQL statements executed in that session, including the problematic one. The trace file contains the execution plan, wait events, and row source statistics. This is a classic method for in-depth diagnosis of a single statement. It can be enabled at the session or instance level, but session-level is preferred for targeted analysis.

Why this answer

To diagnose a poorly performing SQL statement, you need the actual execution plan and runtime statistics. DBMS_XPLAN.DISPLAY_CURSOR with 'ALLSTATS LAST' provides the actual plan and row source statistics for a statement in the shared pool. Enabling SQL_TRACE for the session captures a trace file with detailed execution statistics, including the plan and wait events.

Both methods give the necessary information. Querying V$SQL_PLAN only shows the plan without runtime stats. EXPLAIN PLAN gives only estimates.

DBA_HIST_SQLSTAT provides historical aggregates, not detailed plan or per-execution statistics.

Exam trap

The trap here is confusing estimated plans (EXPLAIN PLAN) or plan-only views (V$SQL_PLAN) with methods that provide actual runtime statistics, such as DBMS_XPLAN.DISPLAY_CURSOR with ALLSTATS or SQL_TRACE.

15
MCQmedium

You are configuring a recovery catalog in Oracle 23ai. Which command must you execute first to ensure the catalog is ready to register the target database?

A.CREATE CATALOG;
B.REGISTER DATABASE;
C.CONNECT CATALOG;
D.UPGRADE CATALOG;
AnswerA

CREATE CATALOG initialises the recovery catalog schema and its internal packages inside the nominated schema. Until this runs, the catalog contains no repository structures, so REGISTER DATABASE cannot store target metadata. It is the mandatory first step before any target registration.

Why this answer

The CREATE CATALOG command must be executed to initialize the schema before registration.

16
Multi-Selecthard

Which THREE characteristics are unique to PDBs?

Select 3 answers
A.Dedicated local users
B.Shared redo logs
C.Independent datafiles
D.Shared background processes
E.Individual services
AnswersA, C, E

Dedicated local users exist only within a single pluggable database, not in the root container, satisfying the requirement for characteristics unique to PDBs. Unlike common users, who are created in the root and shared across all containers, local users are scoped strictly to their own PDB and cannot authenticate elsewhere in the multitenant architecture.

Why this answer

In a multitenant architecture, each pluggable database (PDB) can have its own dedicated local users (Option A), meaning user accounts created inside a PDB are scoped to that PDB and are not visible in other PDBs or the root, which is a defining characteristic of PDBs. Each PDB also owns its own independent datafiles (Option C), stored in its own tablespace set, so its physical storage is isolated from other PDBs even though they share the same instance. Additionally, each PDB is exposed through its own individual services (Option E), allowing clients to connect directly to a specific PDB by service name rather than to the container database as a whole.

By contrast, shared redo logs (Option B) and shared background processes (Option D) are not unique to PDBs; in a multitenant container database, all PDBs share the same redo logs and the same set of background processes of the single instance, so these are characteristics of the CDB rather than distinguishing features of individual PDBs.

17
MCQeasy

What is the purpose of the 'Seed' PDB (PDB$SEED)?

A.To store undo data
B.To act as a template for new PDBs
C.To hold CDB diagnostic logs
D.To store temporary data
AnswerB

PDB$SEED is a read-only template containing the system and sysaux datafiles that Oracle copies when you issue CREATE PLUGGABLE DATABASE. It supplies the starting file structure for every new PDB, matching the stem's template purpose.

Why this answer

PDB$SEED is the template for creating new PDBs.

18
MCQmedium

Which utility is used to perform a 'fixup' during the AutoUpgrade process?

A.srvctl
B.utlu122s.sql
C.catupgrd.sql
D.preupgrade_fixups.sql
AnswerD

Running `preupgrade_fixups.sql` executes the fixup stage of AutoUpgrade, automatically resolving issues the preupgrade checks flagged, such as invalid parameters or missing privileges. It satisfies the stem's requirement for the utility performing the fixup, distinct from the check script that only reports problems.

Why this answer

The AutoUpgrade utility performs pre-upgrade and post-upgrade fixups by running SQL scripts; the preupgrade_fixups.sql script is generated by the 'java -jar autoupgrade.jar -mode analyze' step and is executed during the 'fixup' phase to address issues that would block the upgrade. It is the specific artifact used to apply corrective actions before the actual upgrade proceeds.

Exam trap

OCP often tests whether candidates confuse the AutoUpgrade fixup script (preupgrade_fixups.sql) with legacy manual upgrade scripts like catupgrd.sql or utlu122s.sql, which belong to older upgrade methodologies.

How to eliminate wrong answers

Option A is wrong because srvctl is an Oracle Clusterware/Grid Infrastructure command-line utility for managing resources like databases, listeners, and services, not for running AutoUpgrade fixups. Option B is wrong because utlu122s.sql is a legacy manual upgrade script (from older 12.2 upgrade paths) that queries and updates registry scripts, not the AutoUpgrade fixup mechanism. Option C is wrong because catupgrd.sql is the core catalog upgrade script invoked by DBUA or manual upgrades to upgrade the data dictionary, not the AutoUpgrade fixup utility.

19
Multi-Selectmedium

Which TWO views can be used to monitor current session performance?

Select 2 answers
A.V$CONTROLFILE
B.V$SESSION_WAIT
C.DBA_TABLES
D.DBA_USERS
E.V$SESSION
AnswersB, E

V$SESSION_WAIT exposes the current wait event, wait time and wait parameters for each active session, letting you pinpoint which sessions are stalled and on what resource right now. This directly satisfies the requirement to monitor current session performance rather than historical trends.

Why this answer

V$SESSION and V$SESSION_WAIT are standard tools for real-time monitoring.

20
MCQhard

Your Oracle Database 23ai instance uses True Cache to offload read-only queries from the primary database. A developer reports that a query against a table modified by another session returns stale data from True Cache. You need to ensure that the True Cache returns the most recent committed data for that query. Which action should you take?

A.Set the session parameter TRUE_CACHE_CONSISTENCY to SESSION.
B.Verify that the True Cache is properly registered with the primary database and that the cache coherency mechanism is functioning.
C.Configure the True Cache to use the PRIMARY database's UNDO tablespace for read consistency.
D.Ensure that the True Cache is synchronized by enabling the TRUE_CACHE_SYNC parameter.
AnswerB

True Cache uses a coherency mechanism to invalidate cached blocks when the primary database modifies them. If the cache is not properly registered or the coherency messages are not received, stale data can be returned. Checking the registration and coherency status ensures that the cache receives invalidation messages and serves only current committed data.

Why this answer

True Cache maintains coherency with the primary database by receiving invalidation messages when data changes. If those messages are not delivered, the cache can return stale data. The correct action is to verify that the True Cache is properly registered and that the coherency mechanism is operational, rather than attempting to set nonexistent parameters or alter UNDO usage.

Exam trap

The trap here is assuming that a manual parameter exists to force cache consistency, when in fact True Cache relies on automatic coherency and registration with the primary.

21
MCQhard

Your company runs a CDB named HQCDB with several PDBs. A junior DBA executed ALTER PLUGGABLE DATABASE HRPDB CLOSE IMMEDIATE; a few minutes later, users of HRPDB report that connections fail with ORA-01033. You query V$PDBS and observe that HRPDB shows OPEN_MODE of MOUNTED and RESTRICTED of NO. You need HRPDB fully available for read/write traffic with no restrictions. Which command should you run from the CDB root?

A.ALTER PLUGGABLE DATABASE HRPDB OPEN READ WRITE;
B.ALTER PLUGGABLE DATABASE HRPDB OPEN FORCE;
C.ALTER PLUGGABLE DATABASE HRPDB OPEN READ WRITE RESTRICTED;
D.ALTER PLUGGABLE DATABASE HRPDB OPEN READ ONLY;
AnswerA

This command transitions HRPDB from MOUNTED to READ WRITE with no restrictions, which is exactly the state needed. It is issued from the CDB root, requires no instance restart, and immediately makes the PDB's services accept ordinary user connections. This is the correct and minimal action to recover from the junior DBA's CLOSE IMMEDIATE.

Why this answer

When a PDB is closed with CLOSE IMMEDIATE, it moves to MOUNTED state and its services stop accepting normal connections, causing ORA-01033. The correct recovery is to open it read/write without the RESTRICTED clause so that all authorized users can connect. The restricted variant would still block ordinary users, the FORCE clause does not exist for this statement, and read-only mode would fail for transactional workloads that require DML.

Exam trap

The trap here is conflating RESTRICTED mode with normal read/write availability; RESTRICTED mode is a maintenance posture, not a way to restore full user access.

22
MCQmedium

When running the SQL Tuning Advisor, what does the 'Accept' action do?

A.It permanently changes the SQL code
B.It implements the recommended SQL Profile
C.It deletes the SQL from the cache
D.It updates the global statistics
AnswerB

Accepting a SQL Tuning Advisor recommendation applies the suggested SQL Profile, storing it in the SQL profile repository so the optimizer uses the adjusted estimates for that statement. It does not rewrite the SQL text or create indexes; it implements the profile itself.

Why this answer

Accepting a recommendation (like a profile) implements it in the database for future executions.

23
MCQhard

What is the consequence of not running the 'catupgrd.sql' script after a major version upgrade?

A.Only performance is affected
B.The database will run in read-only mode
C.Data dictionary remains in old version format
D.The database will not start
AnswerC

The dictionary must be upgraded to match the engine version.

Why this answer

The data dictionary will be inconsistent, and many objects will be invalid, leading to database failure.

24
MCQeasy

Which background process is responsible for capturing AWR snapshots?

A.PMON
B.MMNL
C.DBWn
D.LGWR
AnswerB

MMNL performs background tasks, including AWR snapshotting.

Why this answer

The MMNL (Manageability Monitor) process is responsible for AWR snapshots.

25
Multi-Selecthard

Which THREE are characteristics of Flashback Logs?

Select 3 answers
A.They are stored in the Fast Recovery Area (FRA).
B.They are backed up using RMAN.
C.They are circular in nature.
D.They contain redo information.
E.They are used to revert the database state.
AnswersA, C, E

Flashback logs reside in the Fast Recovery Area, the configured disk location Oracle uses for recovery-related files. This placement satisfies the storage constraint, since the FRA is where the database writes flashback data used by Flashback Database operations.

Why this answer

Option A is correct because Flashback Database logs are written to the Fast Recovery Area (FRA), configured via DB_RECOVERY_FILE_DEST, which is the required storage location for flashback logs. Option C is correct because flashback logs operate in a circular fashion: as space in the FRA is consumed, older flashback logs are automatically reused or overwritten, so the flashback retention window is bounded by available FRA space. Option E is correct because flashback logs are the core mechanism of Flashback Database, allowing the database to be reverted to a prior point in time (for example, via FLASHBACK DATABASE TO TIMESTAMP or TO SCN) without restoring backups.

Option B is not correct because flashback logs are managed automatically by the database and are not backed up with RMAN; RMAN backs up datafiles, archived redo logs, and control files, not flashback logs. Option D is not correct because flashback logs store before-images of changed data blocks, not redo information; redo information is contained in the online and archived redo logs.

26
MCQhard

You are administering an Oracle 23ai database in ARCHIVELOG mode. A data block in a frequently updated table is logically corrupted. You want to repair only that block while the database remains open and users continue to access other parts of the table. Which RMAN command should you use?

A.RECOVER DATAFILE 5 BLOCK 1234;
B.FLASHBACK DATABASE TO BEFORE CORRUPTION;
C.VALIDATE DATAFILE 5;
D.RECOVER DATAFILE 5;
AnswerA

Block-level recovery allows RMAN to restore and recover a single corrupt block from a backup while the database is online. It requires the datafile number and block number, which you can obtain from V$DATABASE_BLOCK_CORRUPTION. This operation is transparent to users and does not require taking the datafile offline, making it ideal for the scenario.

Why this answer

Block-level recovery with RECOVER DATAFILE ... BLOCK ... is designed to repair individual corrupt blocks online. It restores the block from a backup and applies archived redo to make it consistent, all while the database is open.

The other commands either recover too much, revert the whole database, or only diagnose the problem. This makes block-level recovery the precise solution for the scenario.

Exam trap

The trap here is confusing block-level recovery with full datafile recovery, or thinking that FLASHBACK DATABASE can target a single block.

27
MCQmedium

Which component is responsible for the verification of Blockchain tables?

A.DBMS_BLOCKCHAIN_TABLE
B.RMAN
C.The Database Vault
D.The SQL optimizer
AnswerA

DBMS_BLOCKCHAIN_TABLE is the Oracle-supplied PL/SQL package that verifies blockchain table rows, recomputing and comparing row hashes to detect tampering. It provides the verification mechanism the question asks about, unlike packages that merely create or administer such tables.

Why this answer

The DBMS_BLOCKCHAIN_TABLE package is the interface for verification.

28
MCQeasy

You are an Oracle Database 23ai administrator. A developer complains that a query against a table with a recently added column is returning stale results. You suspect that the optimizer's statistics are outdated. Which task should you perform to refresh the statistics for this table?

A.Enable automatic statistics collection by setting STATISTICS_LEVEL to TYPICAL.
B.Run ANALYZE TABLE ... COMPUTE STATISTICS.
C.Set the OPTIMIZER_MODE initialization parameter to FIRST_ROWS.
D.Execute DBMS_STATS.GATHER_TABLE_STATS for the table.
AnswerD

DBMS_STATS.GATHER_TABLE_STATS is the standard procedure to collect fresh statistics for a table. It gathers table, column, and index statistics, which the optimizer uses to generate execution plans. In this scenario, the stale results are likely due to outdated statistics after adding a column, so refreshing them with this procedure is the correct action. It ensures the optimizer has current data distribution information.

Why this answer

The most direct and recommended way to refresh statistics for a specific table is to use the DBMS_STATS.GATHER_TABLE_STATS procedure. It collects current statistics that the optimizer needs to make accurate cardinality estimates. The other options either use deprecated methods, change unrelated parameters, or rely on automatic processes that do not provide immediate results.

Exam trap

The trap here is thinking that enabling automatic statistics collection or using the legacy ANALYZE command is sufficient, when in fact manual gathering with DBMS_STATS is the correct immediate action.

29
MCQhard

Which command is used to move a PDB from one CDB to another without using Data Pump?

A.CREATE PDB AS CLONE
B.DBMS_PDB.COPY
C.ALTER PLUGGABLE DATABASE UNPLUG
D.MOVE PLUGGABLE DATABASE
AnswerC

UNPLUG writes the PDB's metadata into its own XML manifest and closes it, letting you move the data files and plug them into a different CDB via CREATE PLUGGABLE DATABASE. This satisfies the no-Data-Pump constraint by relocating files directly.

Why this answer

The unplug/plug method using an XML metadata file is the standard for PDB transport.

30
MCQeasy

Which RMAN command should you use to verify that your backup pieces are not corrupted?

A.VALIDATE BACKUPSET
B.LIST BACKUP
C.CROSSCHECK BACKUP
D.RESTORE DATABASE VALIDATE
AnswerA

VALIDATE BACKUPSET scans each backup piece and reports logical corruption without restoring data, satisfying the requirement to verify integrity. Unlike RESTORE VALIDATE, which reads datafiles, it checks the backup set itself, confirming blocks are readable and consistent. This directly answers the need to confirm backup pieces are uncorrupted.

Why this answer

VALIDATE BACKUPSET checks the integrity of the backup pieces.

31
MCQmedium

You are using RMAN to backup a database. What does the 'COMPRESS' clause in the backup command do?

A.It validates the backup.
B.It encrypts the backup.
C.It reduces the backup size.
D.It speeds up the backup.
AnswerC

COMPRESS applies binary compression to backup pieces, shrinking the output written to disk or tape. It satisfies the stem's focus on backup size by reducing the number of bytes stored, though it consumes extra CPU during the operation.

Why this answer

The 'COMPRESS' clause reduces the size of the backup pieces by applying compression, saving storage space.

32
MCQeasy

What is the main requirement for an existing table to be converted into a Blockchain table?

A.Tables cannot be converted to Blockchain
B.The table must have an index
C.The table must be partitioned
D.The table must be empty
AnswerA

Blockchain tables must be created as blockchain tables from the outset; Oracle provides no conversion path from an existing standard table. Migrating requires creating a new blockchain table and loading the data into it, so conversion is impossible.

Why this answer

Existing tables cannot be converted into Blockchain tables. Blockchain tables must be created as such from the start using the CREATE BLOCKCHAIN TABLE statement. There is no ALTER TABLE command to convert a regular table into a blockchain table.

Exam trap

OCP often tests the limitations of Blockchain tables; candidates might assume that any table can be converted by adding a clause, but conversion is not supported.

How to eliminate wrong answers

Option B is wrong because having an index is not a requirement for conversion; in fact, conversion is not possible at all. Option C is wrong because partitioning is not a requirement and does not enable conversion. Option D is wrong because even an empty table cannot be converted; the table must be created as a blockchain table initially.

33
MCQmedium

In Oracle 23ai, you want to use Database Vault to prevent highly privileged users (like SYS) from accessing sensitive application data. Which component must be enabled and configured to achieve this separation of duty?

A.Virtual Private Database (VPD)
B.Data Redaction
C.Database Vault Realms
D.Label Security
AnswerC

Realms create protected zones around schemas and objects, so even SYS must pass realm authorisation before touching that data. Enabling and configuring realms therefore enforces the separation of duty the scenario demands, blocking highly privileged accounts from sensitive application tables.

Why this answer

Database Vault Realms are the specific Database Vault component designed to create a protective boundary around application schemas and data, blocking even highly privileged users like SYS or SYSDBA from accessing them unless explicitly authorized. A realm defines the objects to protect and the authorized users/roles that may access them, thereby enforcing separation of duty between DBAs and application data owners. This is the core mechanism in Oracle 23ai Database Vault for preventing privileged user access to sensitive application data.

Exam trap

The trap here is confusing Database Vault Realms with other Oracle security features like VPD, Data Redaction, or Label Security, all of which protect data from regular users but do not block privileged users such as SYS — only Database Vault Realms are designed to restrict privileged access.

How to eliminate wrong answers

Option A is wrong because Virtual Private Database (VPD) enforces row-level and column-level security through policies for regular users, but it does not block SYS or users with the DV_OWNER/DV_ADMIN privileges — SYS can bypass VPD policies. Option B is wrong because Data Redaction masks column data at query time for non-privileged users but does not prevent privileged users like SYS from viewing the underlying data or disabling redaction. Option D is wrong because Label Security (OLS) enforces data classification and labeling for users, but it also does not block SYS/SYSDBA from accessing data — it is not a separation-of-duty control against privileged users.

34
MCQmedium

Which file stores the metadata for a PDB being unplugged?

A.XML file
B.TXT file
C.JSON file
D.SQL file
AnswerA

An XML file holds the PDB metadata generated during unplugging, capturing the datafiles, tablespaces and options needed to plug the PDB into another CDB. This satisfies the requirement to preserve structural metadata independently of the datafiles themselves.

Why this answer

The unplug process generates an XML file to describe the PDB.

35
MCQeasy

You are evaluating Oracle Database 23ai for a new application that requires storing and querying vector embeddings for a recommendation engine. The application will perform similarity searches on millions of vectors. Which 23ai feature should you use to efficiently store and query these vectors?

A.VECTOR data type and vector indexes
B.BLOB with custom PL/SQL functions
C.Spatial data type and spatial indexes
D.JSON data type with JSON indexes
AnswerA

Oracle 23ai introduces the VECTOR data type and specialized vector indexes, enabling efficient storage and similarity searches on vector embeddings. This is purpose-built for AI and machine learning workloads, providing native support for distance calculations and approximate nearest neighbor searches, which are essential for a recommendation engine.

Why this answer

The VECTOR data type and vector indexes are specifically designed for storing and querying vector embeddings efficiently. They support various distance metrics and indexing methods like HNSW and IVF, enabling fast similarity searches. This is the recommended approach for AI-driven applications in Oracle 23ai.

Exam trap

The trap here is underestimating the need for specialized vector indexing and assuming that existing data types like JSON or BLOB can handle vector similarity searches efficiently.

36
MCQeasy

What is the primary function of the Database Resident Connection Pooling (DRCP) in a 23ai environment?

A.Connection scaling
B.Security authentication
C.Data encryption
D.Audit trail management
AnswerA

It manages server process overhead efficiently.

Why this answer

DRCP reduces the memory footprint of a database by pooling server processes.

37
MCQeasy

You need to ensure that RMAN automatically deletes archived redo logs after they have been backed up twice to tape. Which configuration command should you use?

A.CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DEVICE TYPE SBT;
B.CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
C.SET ARCHIVELOG DELETION POLICY TO 2 COPIES;
D.CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
AnswerA

This policy instructs RMAN to delete archived redo logs only after two successful SBT backups, matching the stem's twice-to-tape requirement. The BACKED UP n TIMES TO DEVICE TYPE clause is the precise mechanism controlling automatic archivelog deletion.

Why this answer

The correct RMAN syntax to automatically delete archived redo logs after they have been backed up a specified number of times to a device type is 'CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP n TIMES TO DEVICE TYPE <device>'. This policy tells RMAN to delete archived logs once the specified redundancy to the given device (SBT = tape) is satisfied.

Exam trap

The trap is mixing up the retention policy (RECOVERY WINDOW) with the archived log deletion policy (BACKED UP n TIMES TO DEVICE TYPE) — candidates pick the retention window because it mentions '2,' but it controls backup retention, not tape-copy-based log deletion.

How to eliminate wrong answers

Option B is wrong because CONFIGURE RETENTION POLICY TO RECOVERY WINDOW controls how long backups are retained, not when archived logs are deleted after being backed up to tape. Option C is wrong because 'SET ARCHIVELOG DELETION POLICY' is not valid RMAN syntax — the correct verb is CONFIGURE, and the clause requires 'BACKED UP n TIMES TO DEVICE TYPE'. Option D is wrong because CONFIGURE ARCHIVELOG DELETION POLICY TO NONE disables the deletion policy entirely, which is the opposite of what is needed.

38
Multi-Selecthard

Which THREE pieces of information are needed to restore a database to a specific point-in-time using RMAN?

Select 3 answers
A.The operating system password.
B.The current SPFILE.
C.The DBID of the database.
D.A valid control file backup.
E.The target timestamp or SCN.
AnswersC, D, E

RMAN must be connected to the target with the correct DBID so it can locate that database's backups and archived logs in the recovery catalog or control file. Without the DBID, point-in-time restore cannot identify the right backup set.

Why this answer

Option C is correct because RMAN must identify which database to restore, and the DBID is required when using a control file backup or when the target database is not mounted, since RMAN needs it to locate the correct backup pieces and catalog entries. Option D is correct because a valid control file backup (or a recovery catalog) is needed to supply the metadata about backups, datafiles, and archived redo logs required to perform the point-in-time restore and recovery. Option E is correct because point-in-time recovery requires an explicit target, specified as a timestamp (SET UNTIL TIME) or an SCN (SET UNTIL SCN), to determine how far to apply redo and where to stop recovery.

Option A is not required because RMAN authentication uses OS or password authentication for the session, but the operating system password itself is not part of the restore specification. Option B is not required because the current SPFILE is not needed to perform a point-in-time restore; RMAN can start the instance with a dummy parameter file or the existing SPFILE, and the SPFILE is not one of the three essential pieces of information for the restore operation.

39
MCQmedium

You are the DBA for an Oracle Database 23ai instance. Users report that a particular application module is slow. You query V$ACTIVE_SESSION_HISTORY and see a high number of samples for the wait event 'log file sync'. You want to determine which sessions and SQL statements are contributing most to this wait. Which of the following would you use to find the top sessions and SQL_IDs associated with 'log file sync'?

A.Query V$SQL and order by ELAPSED_TIME descending.
B.Query V$SESSION_EVENT and order by TIME_WAITED descending.
C.Query V$ACTIVE_SESSION_HISTORY filtering on the event and group by session_id and sql_id.
D.Query V$SYSSTAT and look at the 'user commits' statistic.
AnswerC

V$ACTIVE_SESSION_HISTORY contains sampled session activity, including the wait event, session ID, and SQL ID. By filtering for 'log file sync' and grouping by session_id and sql_id, you can identify which sessions and SQL statements are experiencing the most waits. This is the correct approach for top-down analysis.

Why this answer

V$ACTIVE_SESSION_HISTORY samples active sessions and records the wait event, session ID, and SQL ID for each sample. By filtering on the 'log file sync' event and aggregating by session_id and sql_id, you can identify the top contributors to this wait. This is the standard method for drilling down from a system-wide wait event to the specific sessions and SQL statements causing it.

Exam trap

The trap here is using cumulative views like V$SESSION_EVENT or V$SYSSTAT, which lack the SQL_ID correlation and time-sliced sampling needed to identify top contributors to a specific wait event.

40
Multi-Selecthard

Which THREE are true regarding the use of 'FLASHBACK DATABASE'?

Select 3 answers
A.It deletes all archivelogs.
B.It requires the database to be in open state.
C.It can be performed on a closed database.
D.A Fast Recovery Area must be configured.
E.The database must be in ARCHIVELOG mode.
AnswersC, D, E

Flashback database is performed while the database is mounted.

Why this answer

It requires FRA, archivelog mode, and flashback logs.

41
MCQeasy

You are configuring RMAN backups for an Oracle 23ai database. You want to ensure that RMAN automatically deletes archived redo logs from the fast recovery area after they have been backed up to tape and are no longer needed for recovery. Which command should you execute?

A.CONFIGURE BACKUP OPTIMIZATION ON;
B.CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE';
C.BACKUP ARCHIVELOG ALL DELETE INPUT;
D.CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
AnswerB

This command configures the archived log deletion policy so that RMAN can delete archived logs from the FRA once they have been backed up at least once to the specified device type. It ensures that logs are not deleted until they are safely stored on tape, freeing FRA space while maintaining recoverability. This directly meets the requirement.

Why this answer

The ARCHIVELOG DELETION POLICY determines when RMAN can delete archived redo logs from the FRA. Setting it to BACKED UP 1 TIMES TO 'SBT_TAPE' ensures that logs are only deleted after they are backed up to tape. This prevents premature deletion and frees FRA space automatically.

The other options either set retention for backups, perform a one-time deletion, or optimize backups without addressing log deletion.

Exam trap

The trap here is confusing the retention policy with the archived log deletion policy; the former governs backups, the latter governs archived logs.

42
MCQhard

You are an Oracle Database 23ai administrator. A batch job that performs many small random reads on a large table is experiencing high 'db file sequential read' wait times. The table is stored in a tablespace with a block size of 8 KB. You suspect that the storage subsystem is the bottleneck. Which action would best confirm whether the wait time is due to slow disk I/O?

A.Check the value of the DB_CACHE_SIZE parameter to see if the buffer cache is too small.
B.Run an EXPLAIN PLAN on the batch job's SQL statements to see if full table scans are used.
C.Use the SQL Tuning Advisor to analyze the batch SQL and recommend indexes.
D.Query V$FILESTAT and compare the average read time per file.
AnswerD

V$FILESTAT accumulates physical read counts and read time (in centiseconds) per data file. Dividing the read time by the number of reads gives the average read latency per file. If this value is high (e.g., >20 ms), it indicates slow I/O. This directly confirms whether the storage is the bottleneck for the observed single-block reads.

Why this answer

The 'db file sequential read' wait event indicates single-block reads, often from indexes. To confirm if the storage subsystem is slow, you need to measure average I/O latency. V$FILESTAT provides cumulative read time and read count per file, allowing you to calculate average read time.

High average read time points to slow disk I/O as the root cause.

Exam trap

The trap here is focusing on buffer cache size or execution plans when the wait event specifically suggests an I/O latency issue that requires storage-level metrics.

43
MCQmedium

What is the primary role of True Cache in a 3-tier architecture?

A.Database backup
B.Load balancing
C.Caching frequently accessed data
D.User authentication
AnswerC

True Cache holds frequently accessed read-only data close to the application tier, reducing round trips to the primary database. This caching of frequently accessed data satisfies the 3-tier scenario by offloading repetitive reads from the origin database and lowering latency.

Why this answer

It acts as a caching layer between the application and the database server.

44
MCQhard

You are performing a cross-platform data migration using RMAN CONVERT. The destination platform has different endianness. Which file type must be converted before it can be transported?

A.Redo log files
B.Parameter files
C.Datafiles
D.Control files
AnswerC

Datafiles store blocks in the source platform's endian format, so RMAN CONVERT must translate their byte order before the destination can open them. The differing endianness named in the stem is precisely what makes conversion mandatory for these files.

Why this answer

When performing cross-platform transport with different endianness, datafiles must be converted using RMAN CONVERT because their internal block structure is byte-order dependent. Redo logs, control files, and parameter files are not transported across platforms in this manner; they are either recreated or are platform-independent text/binary structures that do not require endian conversion for the transport workflow.

Exam trap

The trap here is assuming all database files need conversion; candidates must remember that only datafiles (and only when endianness differs) require RMAN CONVERT, while redo, control, and parameter files are recreated on the destination.

How to eliminate wrong answers

Option A is wrong because redo log files are never transported across platforms; they are recreated on the destination database and are not subject to RMAN CONVERT. Option B is wrong because parameter files (spfiles/pfiles) are either text-based or platform-specific but are not converted by RMAN CONVERT; they are recreated or edited manually. Option D is wrong because control files are not transported across platforms; a new control file is generated on the destination via CREATE CONTROLFILE or by using the RMAN catalog, and they are not converted with CONVERT DATAFILE.

45
MCQmedium

A retail company uses Oracle Database 23ai and wants to enable real-time analytics on a high-volume OLTP table without impacting transaction performance. They decide to use the True Cache feature. Which statement correctly describes how True Cache achieves this?

A.True Cache uses Oracle Active Data Guard to synchronize data and provides read-only access to the standby database.
B.True Cache automatically redirects all read queries to a read-only replica, ensuring zero impact on the primary database.
C.True Cache requires the application to explicitly route read queries to the cache using a connection pool.
D.True Cache is a memory-optimized cache that stores frequently accessed data and serves consistent reads, reducing load on the primary database.
AnswerD

True Cache is an in-memory, read-only cache that can be deployed on separate servers. It automatically caches frequently accessed data and serves consistent reads to applications, thereby offloading read traffic from the primary database. This allows real-time analytics without impacting OLTP performance.

Why this answer

True Cache is an in-memory read-only cache that offloads read traffic from the primary database by serving consistent reads. It automatically caches frequently accessed data and is transparent to applications, making it ideal for real-time analytics without impacting OLTP performance.

Exam trap

The trap here is confusing True Cache with Active Data Guard or assuming it requires application changes for query routing, when it is designed to be transparent.

46
Multi-Selecthard

You are designing a blockchain table in Oracle 23ai for an audit trail. You must ensure that the table provides tamper-evident storage and that users can verify the integrity of rows. Which two actions are required to set up and use a blockchain table correctly? (Choose two.)

Select 2 answers
A.Use the DBMS_BLOCKCHAIN_TABLE.VERIFY_ROWS procedure to validate the integrity of the blockchain.
B.Enable row-level security on the blockchain table to prevent unauthorized modifications.
C.Create the table with the BLOCKCHAIN clause and specify a retention period.
D.Create a database trigger to compute a hash for each inserted row.
E.Grant the BLOCKCHAIN_ADMIN role to the schema owner.
AnswersA, C

The DBMS_BLOCKCHAIN_TABLE package provides procedures to manage and verify blockchain tables. VERIFY_ROWS checks the hash chain and row hashes to detect tampering. This is the correct way to verify the integrity of rows in a blockchain table.

Why this answer

To set up a blockchain table, you must use the BLOCKCHAIN clause with a retention period to ensure immutability. Verification of row integrity is performed using DBMS_BLOCKCHAIN_TABLE.VERIFY_ROWS, which checks the hash chain. Other options are either unnecessary or incorrect for blockchain table functionality.

Exam trap

The trap here is thinking that additional security features like row-level security or custom triggers are needed, when the blockchain table's built-in hashing and retention clauses provide the required tamper-evidence.

47
Multi-Selecthard

Which TWO components must be secured to maintain database integrity?

Select 2 answers
A.User manual
B.Data files
C.Backup files
D.System logs
E.Client browser
AnswersB, C

Data files store the actual table and index pages, so unauthorised modification directly corrupts persisted rows and breaks integrity. Securing them with restrictive filesystem permissions prevents tampering outside the database engine, satisfying the requirement to protect stored data rather than merely access paths or credentials.

Why this answer

Data files (B) must be secured because they contain the actual database records; unauthorized modification, deletion, or corruption of these files directly destroys the accuracy and consistency of the data, which is the essence of database integrity. Backup files (C) must also be secured because they are the recovery source if data files are damaged or compromised; if backups are tampered with or corrupted, restoring the database would reintroduce bad data, so protecting them preserves integrity across recovery operations. The user manual (A) is documentation only and does not store or affect database records.

System logs (D) are useful for auditing and troubleshooting but are not the database content itself, so securing them alone does not maintain data integrity. The client browser (E) is an endpoint interface, not a database component, and securing it does not protect the stored data.

Exam trap

The trap is including system logs or user manuals as critical components; candidates must focus on the actual data storage and recovery artifacts that directly impact integrity.

48
MCQeasy

Which of these is the most effective way to address performance issues caused by suboptimal plans?

A.Dropping and recreating the database
B.Increasing the number of CPUs
C.SQL Plan Management
D.Disabling indexes
AnswerC

SQL Plan Management captures and stores known-good execution plans, then ensures the optimiser uses them instead of regressing to suboptimal plans. This directly addresses plan instability, the stated cause, by preventing performance fluctuations rather than merely reacting to symptoms after they appear.

Why this answer

SQL Plan Management is specifically designed to manage and enforce optimal plans.

49
MCQhard

You are restoring a database and need to use a backup control file. Which clause is mandatory in the recover command?

A.WITH EXTERNAL CONTROLFILE
B.USING BACKUP CONTROLFILE
C.RECOVER CONTROLFILE
D.USING OLD CONTROLFILE
AnswerB

USING BACKUP CONTROLFILE tells RMAN that the control file itself is being restored from backup, so it must extract the datafile and redo information from that backup rather than the current control file. It is mandatory for this recovery path.

Why this answer

The 'USING BACKUP CONTROLFILE' clause is required when you are not using the current control file.

50
MCQeasy

Which parameter controls the frequency of AWR snapshot collection?

A.PROCESSES
B.DB_CACHE_SIZE
C.STATISTICS_LEVEL
D.OPTIMIZER_MODE
AnswerC

Setting this to TYPICAL or ALL enables AWR snapshots.

Why this answer

STATISTICS_LEVEL controls the automatic collection of AWR snapshots.

51
MCQeasy

What is the purpose of the 'Database Vault' option?

A.To improve query performance
B.To encrypt backups
C.To prevent DBA access to sensitive data
D.To manage user passwords
AnswerC

Database Vault enforces separation of duties by placing sensitive schemas and data behind realms and command rules, so DBAs holding powerful privileges cannot query protected objects without explicit authorisation, directly blocking DBA access to sensitive data.

Why this answer

Database Vault restricts access to application data by privileged users like SYS.

52
MCQeasy

You manage an Oracle 23ai database backed up nightly with RMAN to a fast recovery area. Management asks you to configure RMAN so that a backup of the database, archived logs, and control file runs every night automatically and redundant backups are removed. Which RMAN feature is designed to persist this backup policy across all sessions without manually typing the commands each night?

A.CRON job invoking a shell script with RMAN commands
B.A recovery catalog schema
C.Persistent RMAN configuration settings
D.Server-managed automatic backups via Enterprise Manager
AnswerC

RMAN persistent configuration settings, set with CONFIGURE, are stored in the control file and optionally the recovery catalog, and they apply to every RMAN session automatically. This is RMAN's native way to persist backup retention and device policy without retyping commands, matching the requirement to store the policy across sessions.

Why this answer

RMAN persistent configuration settings, established with the CONFIGURE command, are recorded in the target control file and optionally the recovery catalog. They are automatically applied in every RMAN session, so retention policy, backup destination, and device type persist without manual re-entry. This makes CONFIGURE the correct mechanism for a durable nightly backup policy.

Exam trap

The trap here is confusing a recovery catalog or an OS scheduler with the RMAN mechanism that actually persists configuration.

53
MCQmedium

You are upgrading a 19c database to Oracle Database 23ai. The database uses a password-protected software keystore for TDE. During the upgrade, you need to ensure that the keystore remains accessible. Which command should you use to open the keystore automatically after the upgrade, without manual intervention?

A.ADMINISTER KEY MANAGEMENT CREATE KEYSTORE '/path/to/keystore' IDENTIFIED BY "password";
B.ADMINISTER KEY MANAGEMENT CREATE AUTO_LOGIN KEYSTORE FROM KEYSTORE '/path/to/keystore' IDENTIFIED BY "password";
C.ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN IDENTIFIED BY "password";
D.ADMINISTER KEY MANAGEMENT SET ENCRYPTION KEY IDENTIFIED BY "password" WITH BACKUP;
AnswerB

This command creates an auto-login keystore, which allows the database to open the keystore automatically without requiring a password. This is ideal for ensuring TDE-encrypted data remains accessible after a restart, such as following an upgrade. The auto-login keystore is a separate file that stores the master key encrypted with a system-generated password.

Why this answer

Creating an auto-login keystore allows the database to open the keystore automatically upon startup, eliminating manual password entry. This is essential after an upgrade to ensure TDE-encrypted data is available without intervention. The other commands either open the keystore manually, rekey the master encryption key, or create a new keystore, none of which provide the required automation.

Exam trap

The trap here is thinking that opening the keystore manually is sufficient; the requirement is for automatic access after upgrade, which only an auto-login keystore provides.

54
MCQeasy

You are implementing AI Vector Search in Oracle Database 23ai. Which data type is mandatory for storing vector embeddings?

A.BLOB
B.CLOB
C.VECTOR
D.JSON
AnswerC

The VECTOR data type is mandatory for storing vector embeddings in Oracle Database 23ai; it holds the dimensional float array and supports the distance functions and indexes used by AI Vector Search. No other type satisfies the stem's storage requirement.

Why this answer

Oracle Database 23ai introduces the VECTOR data type specifically for storing vector embeddings, and it is mandatory for AI Vector Search because it defines the dimensions and numeric format needed for distance calculations. Other data types such as BLOB or CLOB can store binary or character data but do not carry the vector semantics, dimensions, or format required by vector indexes and functions.

Exam trap

The trap is assuming any large object type can store embeddings; candidates may pick BLOB or CLOB because they can hold binary or text data, but only the VECTOR type provides the dimensionality and format required for AI Vector Search.

How to eliminate wrong answers

Option A is wrong because BLOB stores unstructured binary data without vector dimensionality or format metadata, so it cannot be used directly with VECTOR_DISTANCE or vector indexes. Option B is wrong because CLOB stores character large objects and has no vector semantics. Option D is wrong because JSON stores semi-structured documents and cannot represent a vector embedding with the required dimensions and numeric format for vector search operations.

55
MCQmedium

You are the lead DBA for a 23ai production database. Company policy requires that all administrative actions performed by DBAs be recorded in the Unified Audit Trail. You have already created an audit policy named DBA_ACTIONS that captures the relevant actions, but you need to ensure that it is enforced. Which action must you perform?

A.Set the AUDIT_TRAIL initialization parameter to DB, EXTENDED.
B.Restart the database instance to activate the policy.
C.Enable the audit policy using the AUDIT POLICY DBA_ACTIONS statement.
D.Grant the AUDIT_ADMIN role to the DBAs.
AnswerC

In Oracle 23ai, creating an audit policy with CREATE AUDIT POLICY only defines it. To enforce it, you must enable it with the AUDIT POLICY statement. This action activates the policy and starts writing audit records to the Unified Audit Trail for the specified actions, thereby meeting the requirement.

Why this answer

The correct action is to enable the audit policy with the AUDIT POLICY statement. Creating a policy in Unified Auditing only defines it; it remains inactive until explicitly enabled. This step ensures that the specified administrative actions are captured in the Unified Audit Trail, satisfying the policy requirement.

Exam trap

The trap here is assuming that creating an audit policy automatically enables it, but in Oracle 23ai, policies must be explicitly enabled to take effect.

56
MCQmedium

What happens if a user tries to drop a Blockchain table that still contains rows within the retention period?

A.The command succeeds
B.The table is renamed to _OLD
C.The command fails with an error
D.The rows are archived then dropped
AnswerC

Blockchain tables enforce row retention immutably; while rows remain within their retention period, the drop operation is rejected. Oracle returns an error rather than silently deleting or bypassing retention, so the command fails, preserving the tamper-resistant guarantee the table was created to provide.

Why this answer

Blockchain tables in Oracle enforce immutability for rows within the retention period. If a user attempts to DROP a blockchain table that still holds rows whose retention window has not expired, Oracle raises an error (ORA-05723 or similar) and the DROP is rejected. This protects the tamper-evident ledger guarantee — rows cannot be removed before their retention period elapses.

Exam trap

OCP often tests the misconception that blockchain tables behave like ordinary tables for DDL — candidates assume DROP succeeds because they forget the retention enforcement.

How to eliminate wrong answers

Option A is wrong because the DROP does not silently succeed; Oracle blocks it to preserve the retention guarantee. Option B is wrong because there is no automatic rename-to-_OLD behavior for blockchain tables — that is not an Oracle feature. Option D is wrong because Oracle does not archive rows and then drop the table; the operation is simply refused until retention expires.

57
Multi-Selecthard

When using the SQL Tuning Advisor to analyze a SQL statement, which THREE types of recommendations can it provide to improve performance?

Select 3 answers
A.Creating a SQL profile
B.Restructuring the SQL query syntax
C.Renaming database tables
D.Creating a new index
E.Updating optimizer statistics
AnswersA, D, E

A SQL profile supplies auxiliary statistics and hints that steer the optimizer toward a better plan without changing the SQL text or schema objects. SQL Tuning Advisor recommends this when plan regressions or misestimates persist, directly improving performance.

Why this answer

The SQL Tuning Advisor can suggest creating new indexes, refreshing optimizer statistics, and creating SQL profiles to alter the execution plan.

58
Multi-Selecthard

Which THREE of the following are valid methods to patch an Oracle 23ai database?

Select 3 answers
A.OPatchAuto
B.Fleet Patching and Provisioning (FPP)
C.OPatch
D.Data Pump Patching
E.SQL*Plus Patch
AnswersA, B, C

OPatchAuto orchestrates patch application across Oracle homes and Grid Infrastructure, including RAC and standalone deployments. It satisfies the stem by being a supported patching method for Oracle 23ai, automating the underlying OPatch and datapatch steps in a single invocation.

Why this answer

OPatchAuto (A) is a valid patching method because it orchestrates the application of patches across an Oracle Grid Infrastructure/RAC environment, automatically stopping and restarting the relevant components and running OPatch and the appropriate utilities for each home. Fleet Patching and Provisioning (B), formerly Rapid Home Provisioning, is valid because it centrally manages and applies patches to Oracle homes and databases across a fleet, including rolling patching of RAC and Data Guard configurations. OPatch (C) is valid because it is Oracle's core patch utility used to apply interim patches and patch sets to an Oracle home, invoked as the underlying engine for many patching operations.

Data Pump Patching (D) is not a real patching method—Data Pump (expdp/impdp) is a data movement utility, not a patch mechanism. SQL*Plus Patch (E) is also not valid, since SQL*Plus is merely a client/command-line interface for running SQL and PL/SQL and does not apply patches to an Oracle home.

Exam trap

The trap is including Data Pump or SQL*Plus as patching tools because they are familiar Oracle utilities; candidates must remember that only OPatch, OPatchAuto, and FPP are valid patching methods.

59
MCQmedium

What happens when you execute 'ALTER PLUGGABLE DATABASE ALL OPEN'?

A.Opens only PDB$SEED
B.Opens all PDBs in read-write mode
C.Opens all PDBs in read-only mode
D.Starts the CDB instance
AnswerB

Issuing this command opens every pluggable database whose current open mode is mounted, transitioning each to read-write, provided the CDB itself is open. It satisfies the requirement to bring all PDBs online simultaneously without naming them individually, respecting each PDB's saved state and any instance-restriction settings.

Why this answer

All PDBs in the CDB are opened in READ WRITE mode.

60
MCQmedium

You are implementing Transparent Data Encryption (TDE) in a 23ai database. You have configured the wallet and set the encryption key. You need to ensure that the data in the USERS tablespace is encrypted. Which statement correctly describes the process to encrypt the USERS tablespace?

A.You must use the DBMS_TDE package to encrypt the USERS tablespace, specifying the tablespace name and encryption algorithm.
B.You must create a new encrypted tablespace and move all data from USERS to the new tablespace, then drop USERS.
C.You must set the parameter ENCRYPT_NEW_TABLESPACES to TRUE, which will automatically encrypt all existing tablespaces upon restart.
D.You can encrypt an existing tablespace online using the ALTER TABLESPACE USERS ENCRYPTION ONLINE USING 'AES256' ENCRYPT; command.
AnswerD

Oracle Database 23ai supports online tablespace encryption. You can encrypt an existing tablespace without taking it offline by using the ALTER TABLESPACE ... ENCRYPTION ONLINE clause. This command encrypts all data files in the tablespace and updates the data dictionary. It requires the tablespace to be in a read-write state and the wallet to be open. This is the most efficient method to encrypt an existing tablespace with minimal downtime.

Why this answer

In Oracle Database 23ai, you can encrypt an existing tablespace without moving data by using the ALTER TABLESPACE ... ENCRYPTION ONLINE command. This command encrypts all data files in the tablespace while the tablespace remains online and accessible.

The process requires the TDE wallet to be open and the tablespace to be in read-write mode. This method is efficient and minimizes downtime. The other options describe either unnecessary manual steps, nonexistent packages, or parameters that only affect new tablespaces.

Exam trap

The trap here is assuming that encrypting an existing tablespace requires creating a new encrypted tablespace and moving data, when online encryption is supported.

61
MCQeasy

A database administrator is creating a table to support high-concurrency transactions using lock-free reservations. Which clause must be included in the CREATE TABLE statement to enable lock-free reservations on a numeric column?

A.NO_LOCK
B.CONCURRENT
C.RESERVABLE
D.LOCK_FREE
AnswerC

The RESERVABLE clause is used in the column definition to enable lock-free reservations. For example, a column defined as NUMBER RESERVABLE allows transactions to reserve amounts without locking the row. This clause is specific to Oracle Database 23ai and is required to activate the feature. Without it, the column behaves as a standard numeric column with row-level locking.

Why this answer

To enable lock-free reservations on a numeric column, the column must be defined with the RESERVABLE clause. This clause allows the database to manage reservations in a separate journal, enabling multiple transactions to update the column without locking the row. The RESERVABLE clause is specific to Oracle Database 23ai and is essential for using this feature.

Other clauses like LOCK_FREE or NO_LOCK are not recognized and would cause syntax errors.

Exam trap

The trap here is confusing the descriptive term 'lock-free' with the actual clause name, which is RESERVABLE, not LOCK_FREE.

62
MCQmedium

What is the purpose of the 'no drop' clause in Blockchain table creation?

A.Restrict access
B.Prevent data modification
C.Protect index integrity
D.Prevent table deletion
AnswerD

The no-drop clause sets a retention period during which the blockchain table cannot be dropped, enforcing immutability. This directly satisfies the requirement of preventing table deletion, protecting the tamper-resistant ledger from accidental or malicious removal until the specified retention window expires.

Why this answer

The 'NO DROP' clause in a Blockchain table specifies a retention period during which the table cannot be dropped, protecting the immutable ledger from accidental or malicious deletion. It is part of the table's immutability guarantees, ensuring that once data is written, the table itself persists for the defined duration. This is distinct from row-level retention, which prevents deletion of individual rows.

Exam trap

The trap here is confusing the NO DROP clause with row-level immutability features like NO DELETE, leading candidates to pick 'prevent data modification' instead of 'prevent table deletion'.

How to eliminate wrong answers

Option A is wrong because restricting access is handled by standard privileges and roles, not by the NO DROP clause. Option B is wrong because preventing data modification is achieved through the blockchain table's inherent row-level immutability and retention settings, not the NO DROP clause. Option C is wrong because index integrity is maintained by Oracle's normal index maintenance, and NO DROP does not specifically protect indexes.

63
Multi-Selectmedium

Which TWO components are essential for the operation of the Automatic Database Diagnostic Monitor (ADDM)?

Select 2 answers
A.SQL Plan Baselines
B.Data Pump files
C.AWR snapshots
D.ADDM Analysis Task
E.Listener control
AnswersC, D

ADDM relies on AWR snapshots as its data source: each analysis run compares two snapshots to quantify instance-wide activity and identify bottlenecks. Without a snapshot pair, ADDM has no baseline or interval to diagnose, so AWR snapshot generation is essential to its operation.

Why this answer

ADDM relies on AWR snapshots (option C) because it analyzes the performance data captured in the Automatic Workload Repository between two snapshots to identify root causes and quantify their impact. It also requires an ADDM Analysis Task (option D), which is the actual diagnostic run that processes those snapshots and produces findings and recommendations. Without AWR snapshots there is no historical performance data to diagnose, and without an ADDM Analysis Task the diagnostic engine has no execution context.

SQL Plan Baselines (A) are a SQL plan management feature for plan stability, not a prerequisite for ADDM. Data Pump files (B) are used for export/import operations and are unrelated to ADDM diagnostics. Listener control (E) manages network listener services and has no role in ADDM's internal analysis.

64
MCQhard

You need to migrate a non-CDB to a PDB in an existing CDB. Which package should you use to check for compatibility issues before starting the migration?

A.DBMS_PDB_MIGRATE
B.DBMS_METADATA.CHECK
C.DBMS_CDB_UPGRADE
D.DBMS_PDB.CHECK_PLUG_COMPATIBILITY
AnswerD

DBMS_PDB.CHECK_PLUG_COMPATIBILITY validates a non-CDB's data dictionary against the target CDB before migration, reporting violations that would block plugging. It satisfies the stem's requirement to detect compatibility issues prior to starting, unlike DBMS_PDB.DESCRIBE, which only generates the XML manifest without performing any compatibility checks.

Why this answer

DBMS_PDB.CHECK_PLUG_COMPATIBILITY is the standard procedure for pre-migration validation.

65
MCQeasy

You are upgrading from 19c to 23ai and need to identify incompatible parameters before the upgrade. Which tool should you use?

A.Pre-Upgrade Information Tool
B.Cloud Pre-Migration Advisor Tool
C.Oracle Fleet Patching and Provisioning
D.DBUA
AnswerA

The Pre-Upgrade Information Tool directly satisfies the requirement to identify incompatible parameters before upgrading. It analyses the source database and reports deprecated and obsolete initialisation parameters, along with other pre-upgrade fix-ups, producing a detailed report that must be reviewed and resolved prior to running the upgrade itself.

Why this answer

The Pre-Upgrade Information Tool (preupgrade.jar) is the standard method for identifying parameter incompatibilities.

66
Multi-Selectmedium

You are a DBA for a CDB called CDB1. You need to monitor the performance of individual PDBs to identify which PDB is consuming the most resources. Which two views should you query to get PDB-level performance metrics and resource usage? (Choose two.)

Select 2 answers
A.V$PDB_METRIC
B.V$PDB_METRIC_SUMMARY
C.V$PDB_METRIC_HISTORY
D.V$RSRCPDBMETRIC_HISTORY
E.V$RSRCPDBMETRIC
AnswersD, E

V$RSRCPDBMETRIC_HISTORY provides historical resource usage metrics for PDBs, similar to V$RSRCPDBMETRIC but with a time dimension. It allows you to analyze trends and past performance. This view is crucial for historical analysis of PDB resource consumption. It is a valid view in Oracle Database 23ai and complements the real-time view for comprehensive monitoring.

Why this answer

The correct views for monitoring PDB-level resource usage are V$RSRCPDBMETRIC for real-time metrics and V$RSRCPDBMETRIC_HISTORY for historical data. These views provide CPU, I/O, and other resource statistics per PDB. The other options are non-existent views and would not return any data.

Exam trap

The trap here is confusing the naming convention; views like V$PDB_METRIC sound plausible but do not exist, while the correct views use the RSRC prefix.

67
Multi-Selecthard

Which THREE items are required for the Automatic SQL Plan Management to effectively stabilize plans?

Select 3 answers
A.SQL Plan Baselines
B.An external monitoring server
C.SQL Plan History
D.A manual index rebuild
E.Automatic Evolve Task
AnswersA, C, E

SQL Plan Baselines store accepted, known-good execution plans that the optimiser is forced to reproduce. They satisfy the stabilisation requirement by preventing plan regression, since only verified plans are permitted for the captured SQL statement.

Why this answer

SPM requires SQL baselines, a plan history, and an evolution process.

68
Multi-Selectmedium

Which TWO tasks are required to successfully unplug a PDB?

Select 2 answers
A.Convert to non-CDB
B.Drop the PDB
C.Shut down the CDB
D.Generate an XML metadata file
E.Close the PDB
AnswersD, E

Generating an XML metadata file captures the PDB's structure and data definitions before unplugging, satisfying the requirement to preserve the pluggable database's metadata for later re-plugging into another container. Without this export, the unplugged PDB's datafiles would lack the manifest needed to register them elsewhere.

Why this answer

To unplug a PDB, you must first close the PDB with ALTER PLUGGABLE DATABASE ... CLOSE, because a PDB must be in MOUNTED (or closed) state before its data files can be described and detached — this is why option E is correct. You must then generate an XML metadata file (typically via ALTER PLUGGABLE DATABASE ...

UNPLUG INTO '<file>.xml'), which captures the PDB's datafile paths and metadata needed to plug it into another CDB — this is why option D is correct. Option A (convert to non-CDB) is a separate, unrelated operation and is not part of unplugging. Option B (drop the PDB) deletes the PDB and its datafiles, which is the opposite of preserving it for transport.

Option C (shut down the CDB) is unnecessary and would disrupt all other PDBs; the CDB instance remains open during an unplug.

69
MCQmedium

You are configuring RMAN to store backup metadata in a Recovery Catalog. What is the benefit of using a catalog over the target database control file for long-term backup retention?

A.It supports storing backup metadata for longer than the control_file_record_keep_time initialization parameter.
B.It allows RMAN to perform backups while the database is in NOARCHIVELOG mode.
C.It automatically encrypts all RMAN backup sets.
D.It is required for using the RECOVERY WINDOW retention policy.
AnswerA

A Recovery Catalog resides in a separate schema, so its retention is independent of the target's control_file_record_keep_time parameter, which governs only control file records. This satisfies the long-term retention constraint: metadata persists indefinitely even when control file records are overwritten and aged out.

Why this answer

A recovery catalog provides a persistent repository that is independent of the target database control file, allowing for retention periods longer than the control_file_record_keep_time.

70
MCQeasy

What is the purpose of the 'Wallet' in Oracle security?

A.To backup the database
B.To manage database users
C.To improve query performance
D.To store encryption keys and credentials
AnswerD

The Wallet stores encryption keys, credentials and certificates, and it is the mechanism that protects them. It supplies the master keys used for Transparent Data Encryption and other Oracle security features, keeping sensitive material separate from the data it protects.

Why this answer

In Oracle security, a wallet is a password-protected container that stores encryption keys, credentials, and certificates. It is used by TDE to store the master encryption key and by clients to store credentials for secure connections. The wallet protects these secrets with a password or auto-login mechanism.

Exam trap

OCP often tests whether candidates confuse the wallet's purpose with backup or user management; the trap is selecting a function that belongs to RMAN or IAM rather than key and credential storage.

How to eliminate wrong answers

Option A is wrong because backups are performed by RMAN or OCI backup services, not by a wallet; the wallet stores keys, not data files. Option B is wrong because database user management is handled by CREATE USER, GRANT, and IAM policies, not by a wallet. Option C is wrong because query performance is improved by indexing, partitioning, and optimizer statistics, not by a wallet.

71
MCQmedium

You are the lead DBA for a busy online transaction processing (OLTP) database. Users report that a critical order-entry application has become slow. You run a query against V$SYSTEM_EVENT and notice that the 'log file sync' wait event has the highest total time waited. Which action should you take to address this issue?

A.Increase the size of the redo log buffer.
B.Reduce the number of commits performed by the application.
C.Tune the redo log file I/O by moving them to faster storage.
D.Increase the number of database writer (DBWn) processes.
AnswerC

The 'log file sync' wait event occurs when a user session must wait for the log writer (LGWR) to write redo information to disk upon a COMMIT. The primary cause of high 'log file sync' waits is slow I/O on the redo log files. Moving the redo logs to faster storage, such as solid-state drives (SSDs), or ensuring they are on dedicated, low-latency disks directly reduces the time LGWR takes to complete the write, thereby reducing the wait time for user sessions.

Why this answer

The 'log file sync' wait event indicates that user sessions are waiting for the log writer (LGWR) to write redo entries to disk during commit operations. This wait is predominantly caused by slow I/O on the redo log files. To resolve this, the DBA should focus on improving the performance of the storage where the redo logs reside, such as by moving them to faster disks or SSDs.

Increasing the redo log buffer size or adjusting DBWn processes does not directly address the I/O bottleneck that LGWR faces.

Exam trap

The trap here is assuming that increasing the redo log buffer size will reduce 'log file sync' waits, when in fact the bottleneck is usually the I/O speed of the redo log files themselves.

72
MCQmedium

In the context of 23ai, what does 'True Cache' mean for application developers?

A.They must write special SQL
B.They must use a specific driver
C.They must flag read queries
D.It is transparent to the application
AnswerD

True Cache serves as a read-only, automatically managed cache in front of the primary database. Applications connect through the same connection string and issue identical queries; routing to cached data happens beneath the driver, so no code changes are required — the transparency developers rely on.

Why this answer

Oracle 23ai True Cache is a transparent, read-only cache that sits in front of the primary database and serves read queries without requiring application changes. Applications connect to True Cache using the same connection string semantics, and the cache automatically routes reads while forwarding writes to the primary. Developers do not need to rewrite SQL, use a special driver, or flag queries.

Exam trap

OCP often tests the misconception that True Cache requires application changes — candidates pick 'special SQL' or 'specific driver' when the entire value proposition is transparency.

How to eliminate wrong answers

Option A is wrong because True Cache requires no special SQL syntax — it is transparent to the application layer. Option B is wrong because no specific driver is required; standard Oracle drivers work because True Cache presents itself as an Oracle database. Option C is wrong because developers do not need to flag read queries; True Cache automatically determines which statements can be served from the cache.

73
MCQhard

What happens to a traditional audit record when you migrate to Unified Auditing in 23ai?

A.Automatically converted
B.Stay in separate tables
C.Deleted automatically
D.Merged into the Unified Trail
AnswerB

Traditional audit records remain in their existing SYS.AUD$ tables after enabling Unified Auditing; they are not merged into the unified audit trail. New unified records go to AUDSYS, so legacy data stays in separate tables.

Why this answer

Traditional audit records are not automatically migrated; you should clear them or archive them before switching to Unified Auditing.

74
Multi-Selectmedium

Which THREE of the following are benefits of the JSON Duality feature?

Select 3 answers
A.Automatic data encryption
B.Simplified application development
C.Data consistency
D.No indexing required
E.Native SQL support
AnswersB, C, E

JSON Duality lets developers store and query JSON documents using familiar APIs while the database presents the same data relationally, so application code needs no separate mapping layer or dual-write logic, directly reducing development effort.

Why this answer

Option B (Simplified application development) is correct because JSON Duality lets developers work with the same data either as relational tables/SQL or as JSON documents through MongoDB-compatible APIs, so teams can use their preferred model without building separate ETL or duplicate storage. Option C (Data consistency) is correct because the relational and JSON views are the same underlying data, so a change made through one interface is immediately visible through the other, eliminating synchronization drift between document and relational copies. Option E (Native SQL support) is correct because JSON Duality exposes the JSON collections as relational views queryable with standard SQL, allowing existing SQL tools, joins, and analytics to run directly against document data.

Option A (Automatic data encryption) is not a JSON Duality benefit; encryption is handled by separate features such as Transparent Data Encryption or column-level encryption. Option D (No indexing required) is incorrect because JSON Duality does not remove the need for indexing — indexes are still required for query performance on both the relational and JSON sides.

Exam trap

The trap here is that candidates assume JSON Duality is a standalone document store like MongoDB, so they pick options about encryption or no indexing, missing that it is a relational-backed feature requiring indexes and normal database security.

75
Multi-Selecthard

Which THREE things can prevent an AutoUpgrade process from starting?

Select 3 answers
A.Existing lock files
B.Expired passwords
C.Insufficient space
D.Incorrect permissions
E.Too many users
AnswersA, C, D

Indicates another process is running.

Why this answer

Insufficient space, incorrect permissions, or already running processes are common blockers.

Page 1 of 4

Page 2

All pages