Courseiva

CCNA 23ai New Features Questions

57 questions · 23ai New Features · All types, answers revealed

1
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.

2
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.

3
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.

4
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.

5
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.

6
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.

7
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.

8
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.

9
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.

10
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.

11
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.

12
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.

13
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.

14
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.

15
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.

16
MCQmedium

How does 23ai handle vector distance calculations at scale?

A.By offloading to external servers
B.Using optimized native SQL execution
C.By caching every result
D.Using a temporary tablespace
AnswerB

Vector distance calculations execute through native SQL operators, letting the optimiser push computations into the database engine rather than fetching vectors to clients. This satisfies the scale constraint by avoiding per-row round trips, enabling parallel execution and index-assisted approximate search across large vector sets.

Why this answer

Oracle Database 23ai implements vector distance calculations natively inside the database engine, so operations such as VECTOR_DISTANCE are executed as optimized native SQL rather than being shipped to external services. This allows the optimizer to use vector indexes (such as HNSW or IVF) and parallel execution to compute distances at scale while keeping data local and transactionally consistent. The result is that similarity search can be combined with relational filters in a single SQL statement.

Exam trap

The trap is assuming vector search requires an external vector database or special caching layer, when 23ai's design goal is to run vector distance calculations as native SQL inside the database engine.

How to eliminate wrong answers

Option A is wrong because 23ai performs vector distance computation in-database; offloading to external servers would add latency, network overhead, and consistency problems, and is not how the feature is designed. Option C is wrong because caching every result is neither feasible nor how vector search scales; results depend on the query vector, and caching all pairwise distances would be impractical. Option D is wrong because a temporary tablespace is used for sorting and temporary work areas, not for vector distance computation, which is handled by the vector engine and indexes.

17
MCQeasy

You are managing a high-concurrency OLTP system on Oracle Database 23ai. Multiple sessions frequently update a single row in an inventory table, causing contention and lock waits. You want to eliminate this contention without changing the application logic. Which 23ai feature should you implement?

A.Lock-Free Reservations
B.True Cache
C.Automatic Indexing
D.In-Memory Column Store
AnswerA

Lock-Free Reservations allow multiple sessions to update a numeric column concurrently without row-level locking, by using a reservation mechanism that tracks changes in a separate structure. This eliminates contention on the row and improves throughput. It is designed for high-concurrency updates to a single row, exactly the scenario described.

Why this answer

Lock-Free Reservations is a 23ai feature that allows concurrent updates to a numeric column without locking the row, using a reservation journal. This directly addresses the contention caused by multiple sessions updating the same row. Other features like True Cache, In-Memory Column Store, and Automatic Indexing do not reduce write contention and are not designed for this purpose.

Exam trap

The trap here is confusing read-optimization features like True Cache with write-contention solutions; only Lock-Free Reservations targets concurrent updates.

18
MCQhard

When configuring parallel DML, what is the effect of setting 'FORCE' on a statement?

A.It disables parallel DML
B.It runs sequentially
C.It causes an error
D.It forces parallel execution
AnswerD

FORCE overrides session or object-level restrictions that would otherwise downgrade a DML statement to serial execution, compelling the parallel coordinator to engage. It satisfies the stem's constraint by guaranteeing parallel DML runs regardless of conflicting settings.

Why this answer

The FORCE keyword in a parallel DML statement (e.g., ALTER SESSION FORCE PARALLEL DML) overrides session- or object-level restrictions and forces the statement to execute in parallel even if the optimizer would otherwise choose serial execution. It is an explicit directive to the SQL engine to use parallel DML.

Exam trap

OCP often tests the confusion between ENABLE PARALLEL DML (which respects object-level restrictions) and FORCE PARALLEL DML (which overrides them) — candidates pick 'disables' or 'errors' when they see FORCE.

How to eliminate wrong answers

Option A is wrong because FORCE does the opposite of disabling parallel DML — it enables/forces it. Option B is wrong because running sequentially is the default behavior when parallel DML is not enabled; FORCE overrides that. Option C is wrong because FORCE is a valid keyword and does not raise an error; it is a supported hint/directive.

19
MCQmedium

You have a vector index and notice search performance is slow. Which index type should you use to optimize similarity search?

A.Inverted Index
B.B-tree
C.Bitmap
D.HNSW
AnswerD

HNSW builds a hierarchical navigable small-world graph, enabling logarithmic-time approximate nearest-neighbour traversal instead of exhaustive comparison. This directly addresses the slow similarity search by pruning the candidate set during query, satisfying the performance constraint. Unlike flat or IVF indexes, it delivers low-latency recall without scanning every vector.

Why this answer

HNSW (Hierarchical Navigable Small World) is a graph-based index specifically designed for approximate nearest neighbor search in high-dimensional vector spaces. It provides fast and accurate similarity search by building a multi-layer graph structure. Other index types like inverted, B-tree, or bitmap are not optimized for vector similarity.

Exam trap

OCP often tests index types for specific use cases; candidates might confuse inverted index with vector index because both handle 'search', but inverted is for text, not vectors.

How to eliminate wrong answers

Option A is wrong because an inverted index is used for full-text search, mapping terms to documents, not for vector similarity. Option B is wrong because a B-tree is for exact match and range queries on scalar data, not for high-dimensional vectors. Option C is wrong because a bitmap index is for low-cardinality columns and performs poorly for high-dimensional vector search.

20
MCQhard

When using the VECTOR data type, what is the maximum number of dimensions supported?

A.512
B.2048
C.1024
D.4096
AnswerB

Oracle 23ai caps VECTOR columns at 2048 dimensions, matching the maximum array length the vector data type stores. Exceeding this limit is rejected at DDL time, so 2048 is the correct ceiling for dense and sparse vectors alike.

Why this answer

Oracle 23ai supports up to 2048 dimensions for the vector data type.

21
Multi-Selectmedium

Which TWO features of 23ai help improve performance of high-concurrency workloads?

Select 2 answers
A.Wide tables
B.Lock-Free Reservations
C.Blockchain tables
D.JSON Duality
E.Memoptimized Write
AnswersB, E

Lock-Free Reservations let concurrent transactions decrement or increment numeric columns, such as inventory or account balances, without row-level locks. This removes serialisation and lock contention between sessions, directly improving throughput for high-concurrency workloads where many transactions target the same rows.

Why this answer

Lock-Free Reservations (B) is correct because it lets concurrent transactions reserve a column value (e.g., inventory quantity) without holding a row lock, eliminating lock contention and enabling high-concurrency OLTP throughput. Memoptimized Write (E) is correct because it uses the Memoptimized Rowstore fast ingest path to buffer inserts in memory and write them to disk asynchronously, dramatically improving insert performance under many concurrent sessions. Wide tables (A) merely allow up to 1,000 columns and do not by themselves improve concurrency.

Blockchain tables (C) add tamper-evident row chaining for auditing, which adds overhead rather than boosting concurrency. JSON Duality (D) provides dual relational/JSON access to the same data for developer flexibility, not a high-concurrency performance feature.

Exam trap

OCP often tests the misconception that any new feature improves performance, but candidates must distinguish between features for specific use cases (e.g., blockchain for auditing) and those for high-concurrency (e.g., Lock-Free Reservations).

22
MCQhard

You are monitoring parallel DML performance. Which view provides the best insight into current parallel server activity?

A.V$DATABASE
B.V$SESSION
C.V$PARALLEL_DEGREE
D.V$PX_SESSION
AnswerD

V$PX_SESSION exposes one row per active parallel execution server session, showing degree of parallelism, slave set, and session pairing. This gives the finest-grained real-time view of parallel server activity, unlike aggregate views such as V$PX_PROCESS or V$SQL.

Why this answer

V$PX_SESSION provides real-time information on parallel sessions.

23
Multi-Selecthard

A DBA is using Oracle Database 23ai and wants to implement a schema-level privilege analysis to monitor privileges used by applications. Which two statements are true about this feature? (Choose two.)

Select 2 answers
A.It requires the database to be in ARCHIVELOG mode.
B.It can be scoped to a specific schema or the entire database.
C.It requires a separate license in addition to the Enterprise Edition license.
D.It automatically revokes unused privileges after the analysis period.
E.It can capture privileges used by specific users or roles, including those granted through roles.
AnswersB, E

Schema-level privilege analysis can be scoped to a specific schema or the entire database. This flexibility allows DBAs to focus on particular schemas of interest or analyze all schemas. The scope is defined when creating the privilege analysis policy.

Why this answer

Schema-level privilege analysis can capture privileges used by users or roles, including role-granted privileges, and can be scoped to a specific schema or the entire database. It does not require ARCHIVELOG mode, does not automatically revoke privileges, and does not require an additional license.

Exam trap

The trap here is assuming that privilege analysis automatically revokes privileges or requires special database modes, when it is purely an analysis tool.

24
Multi-Selectmedium

Which THREE features are enabled in 23ai to simplify database management?

Select 3 answers
A.Flashback Data Archive
B.AI Vector Search
C.JSON Duality
D.Lock-Free Reservations
E.Tablespace encryption
AnswersB, C, D

AI Vector Search ships natively in 23ai, letting developers store embeddings in VECTOR columns and run similarity queries through SQL. It removes the need for a separate vector database, simplifying management of AI-driven workloads within the existing Oracle Database engine.

Why this answer

AI Vector Search (B) is correct because Oracle 23ai introduces native VECTOR data type, vector indexes, and vector_distance functions, letting DBAs store and query embeddings directly in the database without a separate vector store, which simplifies AI-driven management and search workloads. JSON Duality (C) is correct because 23ai provides JSON Relational Duality Views, allowing the same underlying relational data to be accessed as JSON documents or as relational tables, eliminating the need to maintain duplicate schemas and simplifying application and data management. Lock-Free Reservations (D) is correct because 23ai enables concurrent transactions to reserve row capacity without blocking on row locks, reducing lock contention and deadlocks and thereby simplifying high-concurrency transaction management.

Flashback Data Archive (A) is not one of the three new 23ai simplification features highlighted here, as it is a long-established Total Recall capability for tracking historical data, and Tablespace encryption (E) is likewise a pre-existing Transparent Data Encryption feature for data-at-rest protection, not a new 23ai management-simplification feature.

Exam trap

OCP often tests whether candidates can distinguish genuinely new 23ai features from long-standing Oracle features (Flashback Data Archive, TDE tablespace encryption) that are simply mentioned alongside them.

25
MCQmedium

An Oracle Database 23ai administrator supports an application that frequently runs ad hoc queries against a large JSON collection stored in an Oracle JSON column. Developers complain that every query must be rewritten to match the document structure, and they want the relational and JSON views of the same data to stay in sync without duplicating storage. The DBA enables JSON Relational Duality Views. Which statement correctly describes how the application benefits from this feature?

A.The duality view exposes relational tables as JSON documents that can be queried and updated with standard JSON and SQL, without duplicating data.
B.The duality view stores a second physical copy of the JSON documents, which the database keeps synchronized automatically.
C.The duality view can only be queried, not updated, so developers must use stored procedures for any data changes.
D.The duality view requires the base tables to be converted to a document-only storage model before it can be used.
AnswerA

A duality view is defined over one or more relational tables and presents them as JSON documents. Applications can issue JSON queries and DML against the view, and Oracle translates those operations into relational operations on the base tables, so both views stay consistent with a single storage footprint. This directly satisfies the requirement for synchronized relational and JSON access without duplication.

Why this answer

JSON Relational Duality Views let applications interact with relational data as JSON documents while the database continues to store the data relationally. The view is a definition, not a copy, so there is no duplicated storage and no synchronization job to manage. Reads and writes through the view are translated into operations on the base tables, keeping relational and JSON access consistent for ad hoc query workloads.

Exam trap

The trap here is believing that a duality view materializes a second JSON copy of the data, when it is only a definition over the existing relational tables.

26
MCQhard

When running parallel DML in 23ai, what happens to the data if the transaction fails?

A.The entire transaction is rolled back
B.Partial data is committed
C.Only the DML part is rolled back
D.Requires a manual cleanup
AnswerA

Parallel DML in Oracle 23ai retains full transactional integrity: each parallel execution server performs its portion of the work within the same transaction, and a failure triggers a coordinated rollback of all changes. This satisfies the stem's requirement that no partial data persists when the transaction fails.

Why this answer

Parallel DML operations are fully atomic and follow standard rollback procedures.

27
MCQhard

Your Oracle Database 23ai instance is running on an Exadata platform. You have a large table with a column of type VECTOR storing 768-dimensional embeddings. Users frequently run similarity searches using the VECTOR_DISTANCE function with the COSINE metric. To improve query performance, you create a vector index. After creation, you notice that some queries do not use the index and perform full table scans. What is the most likely reason for this behavior?

A.The vector index is automatically disabled after any DML operation on the table and must be rebuilt before it can be used again.
B.The queries are using a distance metric that differs from the one specified when the vector index was created, so the index cannot be used.
C.The VECTOR column is defined with the FLOAT64 format, which is not supported by vector indexes.
D.The vector index is created with the default accuracy parameter, which may cause the optimizer to choose a full table scan for certain queries.
AnswerB

Vector indexes in Oracle Database 23ai are created with a specific distance metric, such as COSINE, EUCLIDEAN, or DOT. If a query uses a different distance metric in VECTOR_DISTANCE, the optimizer cannot use the index and must perform a full table scan. This is a common cause of index not being used.

Why this answer

Vector indexes are created with a specific distance metric. If a query uses a different metric in VECTOR_DISTANCE, the optimizer cannot use the index and resorts to a full table scan. Ensuring that the query's metric matches the index's metric is essential for index usage.

Exam trap

The trap here is assuming that any vector index will be used regardless of the distance metric in the query, when in fact the metric must match the index definition.

28
MCQeasy

How does Memoptimized Write affect data integrity?

A.It bypasses ACID compliance
B.It uses eventual consistency
C.It maintains ACID compliance
D.It is only for non-critical data
AnswerC

Memoptimized Write buffers rows in the SGA but still applies redo and undo logging, so committed transactions remain durable and recoverable. Maintaining ACID compliance satisfies the integrity requirement, since buffering changes performance only, not transactional guarantees.

Why this answer

Memoptimized Write is fully compliant with ACID properties.

29
MCQeasy

What is the primary benefit of Lock-Free Reservations in high-concurrency environments?

A.Faster queries
B.Reduced row-level locking contention
C.Better compression
D.Automatic indexing
AnswerB

Lock-Free Reservations let concurrent transactions reserve column values without holding row-level locks, eliminating the blocking waits that serialise inserts and updates. This directly reduces row-level locking contention, the bottleneck the stem identifies in high-concurrency workloads.

Why this answer

It eliminates wait events associated with row-level locking for numeric updates.

30
MCQmedium

Your team maintains a large Oracle Database 23ai data warehouse. A new reporting application requires the ability to store and query JSON documents alongside relational data without duplicating the data or writing complex transformation logic. The application will issue both standard SQL queries and Oracle Database API for MongoDB (Oracle API for MongoDB) commands against the same underlying data. Which 23ai feature should you implement to satisfy this requirement?

A.Blockchain Tables
B.JSON Relational Duality Views
C.Wide Tables
D.Memoptimized Rowstore
AnswerB

JSON Relational Duality Views provide a single source of truth where relational data is exposed as JSON documents, allowing both SQL and Oracle API for MongoDB to operate on the same data without duplication. This directly meets the requirement of supporting both access methods while avoiding transformation logic.

Why this answer

JSON Relational Duality Views let you define a JSON document view over relational tables, so the same data can be queried with SQL and manipulated as JSON documents via Oracle API for MongoDB. This eliminates data duplication and transformation code, exactly matching the need for dual access in the data warehouse.

Exam trap

The trap here is assuming that any JSON-related 23ai feature enables Oracle API for MongoDB access, when only JSON Relational Duality Views provide the bidirectional mapping between relational tables and JSON documents.

31
Multi-Selecthard

Which TWO of the following statements about True Cache are correct?

Select 2 answers
A.It replaces Data Guard
B.It requires a dedicated database
C.It supports DML operations
D.It resides in the application tier
E.It is a read-only cache
AnswersD, E

True Cache runs as a separate Oracle instance in the application tier, close to the application servers rather than alongside the primary database. This placement reduces network round-trip latency for read queries while the primary database remains the single source of truth.

Why this answer

Option D is correct because Oracle True Cache is deployed as a separate, lightweight instance that runs in the application tier, close to the application servers, so it can serve queries with minimal network latency. Option E is correct because True Cache is fundamentally a read-only, in-memory cache that serves consistent read queries and does not accept DML; write operations continue to go to the primary database. Option A is incorrect because True Cache does not replace Data Guard — Data Guard remains Oracle's disaster-recovery and data-protection solution, and True Cache is complementary to it.

Option B is incorrect because True Cache does not require a dedicated database; it is an additional cache instance associated with the primary database, not a separate standalone database deployment. Option C is incorrect because True Cache does not support DML operations; it only serves read-only queries, with all DML directed to the primary database.

32
MCQeasy

Which type of operation is ideal for Blockchain tables?

A.General configuration tables
B.Transient cache data
C.Audit logs and financial records
D.High-frequency temporary storage
AnswerC

Blockchain tables are append-only and tamper-evident, with rows cryptographically chained so any alteration is detectable. That immutability suits audit logs and financial records, where preserving an unalterable historical trail of transactions is the governing requirement.

Why this answer

Blockchain tables are designed for insert-only, tamper-evident records where each row is cryptographically hashed and chained to the previous row. Audit logs and financial records are the ideal use case because they require an immutable, verifiable history that can be used for compliance and auditing. These tables prevent updates and deletions, ensuring data integrity and non-repudiation.

Exam trap

OCP often tests the misconception that blockchain tables are suitable for any high-volume data, but they are specifically for immutable, auditable records, not for general-purpose or temporary data.

How to eliminate wrong answers

Option A is wrong because general configuration tables require frequent updates and deletions, which blockchain tables do not support. Option B is wrong because transient cache data is temporary and does not need the immutable, auditable ledger that blockchain tables provide. Option D is wrong because high-frequency temporary storage implies rapid insert and delete operations, which are not supported by blockchain tables due to their append-only nature.

33
MCQmedium

What is the result of a 'vector similarity' search?

A.Rows sorted by similarity distance
B.The average value
C.A random sample
D.A list of exact matches
AnswerA

Vector similarity search returns rows ordered by their distance from the query vector, typically ascending so the nearest neighbours appear first. This directly satisfies the stem's requirement to know the search result, since the defining output is a ranked list based on similarity distance rather than exact matches.

Why this answer

It returns rows sorted by distance.

34
MCQmedium

A financial services company runs an Oracle Database 23ai application that performs high-volume, concurrent inserts into a transaction history table. The DBA observes significant buffer busy waits and wants to reduce contention without changing the application. Which 23ai feature should be implemented?

A.Hybrid Columnar Compression
B.Memoptimized Rowstore – Fast Ingest
C.Automatic Indexing
D.Real Application Clusters (RAC) with services
AnswerB

Memoptimized Rowstore – Fast Ingest is designed for high-frequency, concurrent inserts. It buffers inserts in a memory area and writes them to disk asynchronously, reducing buffer busy waits and improving insert throughput. This directly addresses the contention observed by the DBA without application changes.

Why this answer

Memoptimized Rowstore – Fast Ingest is specifically designed to handle high-volume, concurrent inserts by buffering them in memory and writing to disk asynchronously, thereby reducing buffer busy waits. The other options do not directly address the insert contention issue described.

Exam trap

The trap here is assuming that any performance feature, such as Automatic Indexing or compression, will automatically resolve insert contention, when only Fast Ingest is designed for that purpose.

35
Multi-Selecthard

Which THREE configuration steps are required to implement True Cache?

Select 3 answers
A.Update the connection pool
B.Configure the True Cache instance
C.Enable on the application side
D.Manual data refresh scripts
E.Disable Data Guard
AnswersA, B, C

The application's connection pool must be updated so it can route read-only connections to the True Cache instance rather than only the primary database. This satisfies the application-tier routing requirement, directing eligible queries to the cache.

Why this answer

To implement True Cache, you must update the connection pool (A) so the application can route read-only queries to the True Cache instance via the appropriate connection descriptor, which is essential for directing traffic to the cache. You must also configure the True Cache instance (B) itself, which involves creating it with the True Cache-specific initialization parameters and associating it with the primary database so it can automatically receive and cache data. Additionally, you must enable on the application side (C), meaning the application must be configured to use the True Cache connection and set to read-only mode where appropriate, allowing it to leverage the cached data.

Manual data refresh scripts (D) are not required because True Cache automatically refreshes data from the primary database, and disabling Data Guard (E) is not required since True Cache can coexist with Data Guard and does not depend on disabling it.

36
MCQeasy

Which database feature is recommended for high-frequency inserts into a single table with minimal overhead?

A.Materialized Views
B.Flashback
C.Memoptimized Write
D.Partitioning
AnswerC

Memoptimized Write buffers inserts in a dedicated memory area and flushes them to disk in batches, bypassing much of the per-row redo and buffer overhead. This directly satisfies the minimal-overhead requirement for high-frequency single-table inserts, unlike conventional row-by-row paths.

Why this answer

Memoptimized Write is an Oracle feature designed specifically for high-frequency, low-overhead inserts into a single table. It uses a memory buffer and a lightweight commit path to reduce redo and undo overhead, making it ideal for IoT, telemetry, and logging workloads where rows are appended rapidly. It is the recommended feature for this scenario in 23ai.

Exam trap

OCP often tests the confusion between read-optimization features (Materialized Views, Partitioning) and write-optimization features (Memoptimized Write) — candidates must match the feature to the workload type described in the question.

How to eliminate wrong answers

Option A is wrong because Materialized Views are used to precompute and store query results for faster reads — they add overhead on the write path, not reduce it. Option B is wrong because Flashback is a recovery and query feature that lets you view or restore past data; it does not optimize insert performance. Option D is wrong because Partitioning improves manageability and query performance for large tables, but it does not specifically minimize the overhead of high-frequency single-table inserts.

37
MCQeasy

Which Oracle feature allows for verifying the integrity of Blockchain rows?

A.DBMS_BLOCKCHAIN_TABLE
B.Audit Vault
C.Data Guard
D.Flashback Query
AnswerA

The DBMS_BLOCKCHAIN_TABLE package provides procedures to verify row integrity, including checking hash values and signatures against the blockchain ledger. It is the supported PL/SQL interface for validating that blockchain rows have not been tampered with.

Why this answer

DBMS_BLOCKCHAIN_TABLE is the Oracle-supplied PL/SQL package that provides APIs to verify the integrity of rows in a blockchain table — including verifying row signatures, checking the hash chain, and validating the ledger. It is the only supported mechanism for cryptographic verification of blockchain table contents.

Exam trap

The trap is confusing blockchain-table integrity verification with general auditing or recovery features — candidates pick Audit Vault or Flashback because they sound 'integrity-related,' but only DBMS_BLOCKCHAIN_TABLE performs cryptographic row verification.

How to eliminate wrong answers

Option B is wrong because Audit Vault is a centralized audit repository and reporting tool; it does not verify blockchain row hashes or signatures. Option C is wrong because Data Guard is a disaster-recovery/standby replication technology, unrelated to blockchain row integrity. Option D is wrong because Flashback Query retrieves historical row versions via undo, but it does not perform cryptographic verification of blockchain rows.

38
MCQmedium

Your company is adopting Oracle Database 23ai and wants to store vector embeddings for an AI application. You need to create a table to store 128-dimensional vectors and perform similarity searches. Which data type should you use for the vector column?

A.VECTOR
B.NUMBER
C.BLOB
D.CLOB
AnswerA

The VECTOR data type is introduced in Oracle Database 23ai specifically for storing vector embeddings. It supports fixed dimensions, such as 128, and allows efficient similarity searches using vector distance functions. It is the native type for AI workloads and integrates with Oracle's vector search capabilities.

Why this answer

Oracle Database 23ai introduces the VECTOR data type for storing vector embeddings. It supports fixed dimensions and enables native similarity searches using distance functions. Other types like BLOB, CLOB, or NUMBER cannot provide the same functionality and would require custom, inefficient implementations.

Exam trap

The trap here is assuming that any binary large object can store vectors, but only the VECTOR type provides native vector search capabilities.

39
MCQeasy

What is the primary function of the 'JSON relational duality' feature?

A.To compress JSON data
B.To map relational data to JSON
C.To encrypt JSON data
D.To index JSON data
AnswerB

JSON relational duality lets the database expose the same underlying relational tables simultaneously as JSON documents, without duplicating or transforming the stored data. This directly satisfies the stem's requirement for the primary function: mapping relational data to JSON, so applications query either representation interchangeably.

Why this answer

It provides a unified way to work with JSON and relational data simultaneously.

40
MCQhard

What happens if a Lock-Free Reservation numeric value reaches its maximum allowed limit?

A.It wraps around to 0
B.It allows further updates anyway
C.It raises an error
D.It switches to locking mode
AnswerC

When a Lock-Free Reservation column reaches its defined maximum, the operation fails and raises an error rather than silently wrapping or truncating. This preserves data integrity, so the application must handle the exception and adjust the reservation or column limit.

Why this answer

Lock-Free Reservation columns in Oracle use a bounded numeric range, and when the accumulated value hits the maximum allowed limit, Oracle raises an error rather than silently wrapping or continuing. This is by design to preserve data integrity — the reservation mechanism cannot represent values beyond its defined ceiling. The error forces the application or DBA to intervene (e.g., reset, archive, or widen the column) before further reservations can be made.

Exam trap

OCP often tests whether candidates assume numeric overflow silently wraps or auto-switches modes, when Oracle's Lock-Free Reservation actually raises an error at the maximum.

How to eliminate wrong answers

Option A is wrong because wrap-around to 0 would silently corrupt reservation accounting and is not how Oracle handles overflow in Lock-Free Reservation columns. Option B is wrong because allowing further updates past the maximum would violate the bounded semantics of the reservation column and defeat its integrity guarantees. Option D is wrong because Lock-Free Reservation does not fall back to a locking mode on overflow — it simply errors out; the lock-free design is not dynamically swapped for row-level locking.

41
MCQmedium

What is the default behavior when a session is set to use True Cache?

A.Manual route selection
B.Transparent read routing
C.Requires a DB restart
D.Error if cache is empty
AnswerB

When a session uses True Cache, read queries are routed to the cache automatically while writes continue to the primary database, with no application changes required. This transparent read routing satisfies the default behaviour, since the session need not specify which statements go to the cache.

Why this answer

The session automatically routes queries to the cache if valid.

42
MCQhard

In 23ai, when using the 'JSON relational duality' feature, how are changes to the JSON document propagated to the underlying tables?

A.Only allowed via stored procedures
B.Automatically propagated by the database
C.Manual re-synchronization
D.Requires a trigger
AnswerB

JSON relational duality exposes JSON documents as relational views over underlying tables, so DML against the JSON view is automatically propagated to those tables by the database, requiring no manual synchronisation triggers or application-side writes.

Why this answer

JSON Relational Duality in Oracle 23ai provides automatic bidirectional synchronization between JSON documents and their underlying relational tables. When a JSON document is updated through a duality view, the database automatically propagates the changes to the base tables using the defined mappings. No manual re-synchronization, triggers, or stored procedures are required.

Exam trap

The trap is assuming that JSON Relational Duality requires manual synchronization or triggers, when the entire point of the feature is automatic, transactional propagation.

How to eliminate wrong answers

Option A is wrong because changes are not restricted to stored procedures; standard DML on duality views is supported. Option C is wrong because manual re-synchronization is unnecessary — the database maintains consistency automatically. Option D is wrong because triggers are not needed; the duality view's internal mapping handles propagation natively.

43
MCQeasy

Can you use standard SQL DML on a Blockchain table?

A.Only via Java/JDBC
B.Yes, standard SQL is supported
C.Only via stored procedures
D.No, it requires a special API
AnswerB

Yes. Blockchain tables accept standard SQL DML for inserting and querying rows, so ordinary INSERT and SELECT statements work unchanged. The restriction is that UPDATE and DELETE are blocked, preserving the tamper-evident, append-only hash chain.

Why this answer

Yes, you can insert rows into a Blockchain table using standard INSERT statements.

44
MCQhard

A telecommunications company is migrating a critical billing application to Oracle Database 23ai. The application performs complex analytical queries on a large partitioned table. The DBA wants to ensure that SQL execution plans remain stable after the migration and that any plan changes are automatically validated to prevent performance regressions. Which 23ai feature should be configured?

A.Real-Time SQL Plan Management
B.Automatic Indexing
C.SQL Tuning Advisor
D.SQL Access Advisor
AnswerA

Real-Time SQL Plan Management in 23ai automatically detects and prevents plan regressions by validating new plans in real time. It ensures that only plans with equal or better performance are used, providing stability for critical queries. This directly addresses the need for stable execution plans after migration.

Why this answer

Real-Time SQL Plan Management automatically manages execution plans, ensuring that new plans are only used if they perform better. This provides plan stability and prevents regressions, which is crucial for critical applications after a migration. Other advisors offer tuning advice but do not enforce plan stability.

Exam trap

The trap here is confusing SQL tuning advisors with plan management; advisors give recommendations, while Real-Time SQL Plan Management automatically enforces plan stability.

45
MCQeasy

What is the primary characteristic of a Blockchain table in 23ai?

A.It is for temporary data
B.It is immutable
C.It allows row deletion
D.It can be updated
AnswerB

A Blockchain table in Oracle 23ai is immutable: rows can be inserted but not updated or deleted, and each row is cryptographically chained to the previous one. This tamper-evident, append-only design is its defining characteristic.

Why this answer

It is an insert-only, immutable table.

46
MCQhard

What is the recommended approach for updating data in a table using Lock-Free Reservations?

A.Disable row locking
B.Use standard UPDATE
C.Call a special procedure
D.Use a trigger
AnswerB

Lock-free reservations rely on the database's standard UPDATE statement, which the runtime intercepts and converts into a reservation check against the reserved stock, so no special syntax is needed. Plain UPDATE therefore satisfies the recommended approach.

Why this answer

Lock-Free Reservations in Oracle 23ai are designed to work transparently with standard DML. The database automatically detects when a column has a reservation column defined and uses the reservation mechanism to avoid row-level lock contention, so developers simply issue a normal UPDATE statement. No special API, procedure, or trigger is required — the optimization is applied by the database engine itself.

Exam trap

OCP often tests whether candidates overcomplicate Lock-Free Reservations by assuming a special procedure or trigger is needed, when in fact the feature is transparent to standard UPDATE statements.

How to eliminate wrong answers

Option A is wrong because disabling row locking is neither necessary nor possible as a general mechanism — Lock-Free Reservations replace the need for row locks on reserved columns but do not require turning off locking globally. Option C is wrong because there is no special PL/SQL procedure to invoke; the reservation is handled internally by the SQL engine during a standard UPDATE. Option D is wrong because triggers are for enforcing business logic on DML events, not for enabling Lock-Free Reservations, which operate at the storage/transaction layer.

47
MCQhard

A database administrator is enabling True Cache for a primary database. The application will connect to the True Cache instance for read-only queries. Which statement about the default behavior of a session connected to True Cache is correct?

A.The session can perform DML, but the changes are applied only to the cache and not the primary.
B.The session is read-only and any DML statement returns an error.
C.The session can perform both read and write operations, with writes automatically forwarded to the primary.
D.The session can perform DML, but the changes are queued and applied to the primary when the cache refreshes.
AnswerB

By default, a session connected to a True Cache instance is read-only. Any attempt to execute DML (INSERT, UPDATE, DELETE) or DDL results in an error, such as ORA-16000. This is because True Cache is designed to serve read-only queries and does not support write operations. The session cannot modify data; writes must be directed to the primary database.

Why this answer

A session connected to a True Cache instance is read-only by default. Any DML or DDL statement returns an error, such as ORA-16000. This design ensures that the cache remains consistent with the primary database and does not handle writes.

Applications must route write operations to the primary database. The read-only nature of True Cache sessions is a fundamental characteristic that administrators must understand when deploying True Cache for read scaling.

Exam trap

The trap here is assuming that True Cache sessions might allow writes with some forwarding or queuing mechanism, when in fact they are strictly read-only and reject DML.

48
MCQmedium

A developer is creating a table with a lock-free reservation column to handle high-concurrency updates. The column is defined as NUMBER(5,0). After many transactions, the value reaches its maximum. What happens when a transaction attempts to reserve beyond the maximum?

A.The reservation succeeds but the value wraps around to the minimum.
B.The reservation is automatically converted to a standard update and succeeds.
C.The transaction receives an ORA-01438 value larger than specified precision allowed for this column error.
D.The transaction receives an ORA-00001 unique constraint violated error.
AnswerC

ORA-01438 is raised when a value exceeds the precision defined for a NUMBER column. In lock-free reservations, if the reservation would cause the column value to exceed its maximum, Oracle raises ORA-01438. This ensures that the column's integrity is maintained. The transaction fails, and the reservation is not applied, preventing data corruption.

Why this answer

When a lock-free reservation would cause a numeric column to exceed its defined precision, Oracle raises ORA-01438. This error indicates that the value is larger than the specified precision allows. The transaction fails, and the reservation is not applied, preserving data integrity.

This behavior is consistent with standard numeric column constraints and ensures that the column's limits are respected even under high concurrency.

Exam trap

The trap here is thinking that lock-free reservations might wrap around or trigger a unique constraint error, when the actual error is ORA-01438 for exceeding column precision.

49
MCQmedium

In True Cache, how is consistency maintained with the primary database?

A.Asynchronous replication
B.Manual refreshes
C.Polling
D.Synchronous writes
AnswerA

True Cache applies redo from the primary asynchronously, so cached data lags slightly behind but reads scale without blocking the primary. This satisfies the stem's consistency requirement: the cache converges to the primary's state rather than requiring synchronous coordination.

Why this answer

True Cache maintains consistency with the primary database through asynchronous replication of redo/change data. The True Cache instance applies changes from the primary's redo stream in near real-time, so it is not transactionally synchronous but is kept current with low lag. This design lets True Cache serve read-only queries without blocking on the primary.

Exam trap

The trap is assuming True Cache behaves like a synchronous read replica — candidates pick 'synchronous writes' because they conflate cache coherence with transactional consistency, but True Cache is explicitly asynchronous.

How to eliminate wrong answers

Option B is wrong because manual refreshes would defeat the purpose of a transparent read-scaling cache and cannot keep up with OLTP change rates. Option C is wrong because polling implies periodic queries against the primary, which is inefficient and not how True Cache propagates changes — it consumes redo. Option D is wrong because synchronous writes would require the primary to wait for the cache on every commit, destroying write performance and contradicting True Cache's read-only, asynchronous design.

50
MCQmedium

For Memoptimized Write, where is the data initially stored before being written to the database?

A.SGA memory buffer
B.Flash cache
C.Undo tablespace
D.Redo log
AnswerA

Memoptimized Write buffers incoming rows in a dedicated SGA memory area, accumulating them before the database flushes them to disk in bulk. This staging in the SGA satisfies the scenario's requirement, since writes are not persisted directly to storage on arrival.

Why this answer

Memoptimized Write is an Oracle Database feature that accelerates high-frequency, low-latency inserts by buffering incoming row data in a dedicated area of the SGA called the Memoptimized Rowstore. Once the buffer fills or a threshold is reached, the data is asynchronously written to the database in bulk, reducing commit overhead and improving throughput. The SGA buffer acts as a staging area, so the data is not immediately persisted to disk or redo logs until the write is flushed.

Exam trap

OCP often tests the misconception that Memoptimized Write data is initially stored in redo logs or flash cache, confusing the buffering mechanism with persistence or caching layers.

How to eliminate wrong answers

Option B is wrong because the flash cache is a persistent block storage tier used to cache frequently accessed data blocks, not a staging area for Memoptimized Write inserts. Option C is wrong because the undo tablespace stores before-image data for transaction rollback and read consistency, not the initial buffer for new inserts. Option D is wrong because the redo log records change vectors for recovery, but it is not where data is initially stored; redo entries are generated after the data is buffered in the SGA.

51
MCQmedium

When using Blockchain Tables, what is the default behavior for rows that have reached their 'no drop' period?

A.Rows are moved to archive storage
B.Rows are automatically purged
C.Rows remain immutable until deleted manually
D.Rows become updateable
AnswerC

Rows past the 'no drop' period stay immutable; the retention lock only prevents deletion, it never authorises it. Oracle Blockchain Tables expose no automatic purge, so rows persist until an explicit DELETE runs. This satisfies the stem's default-behaviour constraint: expiry of the no-drop window merely permits deletion, it does not trigger it.

Why this answer

In Oracle Blockchain Tables, rows are immutable and cannot be updated or deleted until the 'no drop' period expires. After the no-drop period, the default behavior is that rows remain immutable until explicitly deleted by a user—they are not automatically purged. This preserves the tamper-evident nature of the blockchain table while allowing administrative cleanup.

Exam trap

The trap here is assuming that 'no drop' period expiration triggers automatic cleanup or archival, when in fact Oracle requires manual deletion and the rows remain immutable until then—candidates often confuse retention with automatic lifecycle management.

How to eliminate wrong answers

Option A is wrong because Oracle Blockchain Tables do not automatically move rows to archive storage; there is no built-in archival tiering for expired rows. Option B is wrong because rows are not automatically purged after the no-drop period—automatic purging would undermine the auditability and retention guarantees of the blockchain table. Option D is wrong because rows in a blockchain table are never updateable; immutability is the core design principle, and even after the no-drop period, rows can only be deleted, not modified.

52
Multi-Selectmedium

Which THREE of the following are components of AI Vector Search in 23ai?

Select 3 answers
A.HNSW indexing
B.Automatic backup
C.Vector distance functions
D.VECTOR data type
E.JSON Schema validation
AnswersA, C, D

HNSW indexing is a genuine AI Vector Search component in 23ai, providing approximate nearest-neighbour vector indexes for fast similarity queries. It is one of the three components the stem asks for, alongside vector data types and vector distance functions.

Why this answer

Option A (HNSW indexing) is correct because Oracle AI Vector Search in 23ai supports Hierarchical Navigable Small World (HNSW) vector indexes, an in-memory graph-based index type used for fast approximate nearest-neighbor similarity searches on vector embeddings. Option C (Vector distance functions) is correct because AI Vector Search provides built-in distance metrics such as COSINE, DOT (inner product), EUCLIDEAN, and EUCLIDEAN_SQUARED, exposed through SQL functions like VECTOR_DISTANCE, which are essential for ranking vectors by similarity. Option D (VECTOR data type) is correct because 23ai introduces the native VECTOR data type, allowing vector embeddings to be stored directly in tables as a first-class column type with a specified number of dimensions and format (e.g., FLOAT32, INT8, BINARY).

Option B (Automatic backup) is not a component of AI Vector Search; it is a general database administration feature provided by RMAN and Oracle Cloud infrastructure, unrelated to vector search functionality. Option E (JSON Schema validation) is not part of AI Vector Search either; JSON schema validation relates to Oracle's JSON capabilities (e.g., IS JSON VALIDATE constraints), not to vector indexing, storage, or similarity search.

53
MCQhard

When using Wide Tables, what is the impact on performance for queries that select only a small subset of columns?

A.No significant performance degradation
B.Severe performance degradation
C.Requires partitioning
D.Requires a full table scan
AnswerA

Wide tables store columns in a columnar, compressed format, so queries projecting a small subset read only the relevant column groups rather than full rows. This satisfies the stem by avoiding significant performance degradation, since irrelevant columns are never decompressed or scanned.

Why this answer

Wide Tables in 23ai are optimized to handle many columns without significant performance degradation compared to vertical splitting.

54
MCQeasy

Which of the following is true regarding Vector embeddings in 23ai?

A.They are stored as metadata
B.They are stored as arrays of floats
C.They are stored as images
D.They are stored as text
AnswerB

Vector embeddings in 23ai are stored using the VECTOR data type, which holds them as arrays of floating-point numbers. This native binary format supports efficient similarity searches using functions such as VECTOR_DISTANCE rather than text or character storage.

Why this answer

Vectors are typically generated by AI models and stored as arrays of floats.

55
MCQeasy

What allows Memoptimized Write to perform so quickly?

A.Skipping index updates
B.Using NVMe storage
C.Disabling constraints
D.Avoiding synchronous redo writing
AnswerD

This reduces IO latency.

Why this answer

It avoids writing to the redo log synchronously.

56
Multi-Selectmedium

Which THREE operations are permitted on Blockchain tables?

Select 3 answers
A.VERIFY
B.DELETE
C.INSERT
D.UPDATE
E.SELECT
AnswersA, C, E

VERIFY is permitted on Blockchain tables, returning a cryptographic proof that rows remain untampered since insertion. It satisfies the stem's requirement by confirming ledger integrity without altering data, unlike DML operations that Blockchain tables restrict. Oracle implements this through hash-chain validation across the table's historical row versions.

Why this answer

Blockchain tables in Oracle Database are append-only, tamper-evident tables, so the permitted operations are INSERT (C), SELECT (E), and VERIFY (A). INSERT (C) is allowed because new rows can only be added to the end of the chain, which is how the table grows while preserving its hash-linked row history. SELECT (E) is allowed because reading and querying rows is unrestricted and does not alter the chain.

VERIFY (A) is allowed because it is the special operation that checks the table's hashes and signatures to confirm no rows have been tampered with. DELETE (B) and UPDATE (D) are not permitted, since blockchain tables are append-only and rows cannot be modified or removed after insertion.

Exam trap

OCP often tests the assumption that Blockchain tables behave like regular tables with extra security — candidates must remember that UPDATE and DELETE are categorically forbidden, and only INSERT, SELECT, and VERIFY are allowed.

57
MCQeasy

Which of these is a benefit of using JSON Duality Views?

A.Mandatory schema changes
B.Improved backup speeds
C.Increased storage size
D.Unified JSON and relational access
AnswerD

JSON Duality Views expose the same underlying relational tables simultaneously as relational rows and as JSON documents, so applications can query either model without duplicating or transforming data. This gives unified JSON and relational access over one schema.

Why this answer

It allows developers to work with JSON while maintaining relational data integrity.

Ready to test yourself?

Try a timed practice session using only 23ai New Features questions.