Oracle AI Vector Search 23ai Professional Exam-style mock test
Oracle AI Vector Search 23ai Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Vector Search Fundamentals
A B2B SaaS company storing product support articles wants their new search feature to return documents that are conceptually related to a user's query, even when no keywords overlap. Their architect asks why vector embeddings enable this capability. What is the best explanation?
・Embeddings compress the article text into smaller binary objects, so Oracle can scan more rows per second and incidentally surface more semantically adjacent documents during the faster scan window.
Incorrect. Embeddings are not a text compression trick, and faster scanning does not produce semantic relatedness; proximity comes from meaning encoded as coordinates, not scan speed.
✓Embeddings encode the semantic meaning of text as numeric coordinates, so items with similar meaning sit close together in vector space and can be found by distance.
Correct. Embeddings map meaning into a numeric vector space where semantically similar items are near each other, so similarity is measured by vector distance rather than keyword overlap.
・Embeddings build an inverted keyword index behind the scenes, letting the database expand each query term into synonyms so related documents are retrieved even without exact matches.
Incorrect. Vector search does not rely on synonym-expanded inverted keyword indexes; it compares dense numeric vectors, which is a fundamentally different mechanism than lexical matching.
・Embeddings store an exact hash of each article, and matching hashes guarantee that documents sharing the same hash bucket are returned together as conceptually related results.
Incorrect. Hashing produces exact-match buckets, not graded semantic similarity, so hash collisions cannot represent the continuous notion of conceptual closeness.
Explanation
Vector embeddings represent semantic meaning as numeric coordinates in a high-dimensional space, so conceptually related content clusters together and can be retrieved by distance regardless of shared keywords.
Example2 · Vector Data Types & Embeddings
A B2B SaaS analytics team at NorthByte stores 768-dimension embeddings produced by a single fixed model for every support ticket. They want the column to reject any insert whose dimension count differs from the model output. Which VECTOR column declaration best enforces this requirement?
✓Declare the column as VECTOR(768, FLOAT32) so every stored vector must have exactly 768 dimensions with single-precision storage
Correct. Specifying both the dimension count (768) and the format (FLOAT32) fixes the column so inserts with a different dimension count are rejected.
・Declare the column as VECTOR(*, FLOAT32) so the format is fixed but any number of dimensions is permitted on insert
Incorrect. Using * for the dimension leaves the count unconstrained, so vectors with any number of dimensions would be accepted.
・Declare the column as plain VECTOR so Oracle infers both the dimension and the numeric format from the first row inserted
Incorrect. A plain VECTOR declaration leaves both dimension and format flexible rather than enforcing exactly 768 dimensions.
・Declare the column as a BLOB and parse the dimension count inside an application-side trigger before each insert
Incorrect. A BLOB abandons the native VECTOR type and its built-in dimension validation, pushing enforcement into fragile application logic.
Explanation
Supplying an explicit dimension and format in VECTOR(768, FLOAT32) is what enforces a fixed dimension count at insert time.
Example3 · Similarity Search & Vector Indexes
A B2B SaaS analytics vendor runs semantic search over a 40-million-row table of support-ticket embeddings. The product team accepts slightly imperfect recall to keep p95 latency under 50 ms at high concurrency. Which approach should the architect adopt for this workload?
・Run an exact search with a full scan so every query is guaranteed to return the mathematically closest neighbors each time
Incorrect. Exact search over 40 million rows forces a full table scan per query, which cannot meet a 50 ms p95 target at high concurrency.
✓Use an approximate similarity search backed by a vector index, trading a small amount of recall for much lower query latency
Correct. Approximate similarity search uses a vector index to examine only candidate partitions, trading a small recall loss for the low latency the team requires.
・Convert all embeddings to a relational B-tree index on each dimension and query them with ordinary range predicates
Incorrect. B-tree indexes on individual dimensions do not capture multi-dimensional distance and cannot accelerate nearest-neighbor queries.
・Disable indexing entirely and cache prior query results so repeated searches avoid recomputing any vector distances
Incorrect. Result caching only helps repeated identical queries and does nothing for the many novel searches that dominate the workload.
Explanation
When the team tolerates minor recall loss in exchange for speed at scale, an approximate search powered by a vector index is the correct design. Exact search guarantees accuracy but scans everything.
Example4 · RAG & AI Integration
A healthcare services firm builds a RAG assistant that answers clinician questions about internal care protocols stored in Oracle Database 23ai. Which sequence of operations correctly describes the RAG retrieval phase before the prompt is sent to the LLM?
・The firm caches the LLM's previous answers in a vector column and returns the nearest cached answer, skipping any fresh retrieval from the protocol documents for the current clinician question.
Incorrect. Returning cached answers bypasses retrieval over current documents and risks stale or wrong grounding, which is not the RAG retrieval phase.
✓Embed the clinician's question into a query vector, run a similarity search over the protocol chunk vectors, and pass the top matching chunks as grounding context to the LLM.
Correct. RAG embeds the query, performs vector similarity search over document chunks, and supplies the top-k chunks as grounding context to the LLM.
・Send the clinician's raw question straight to the LLM and rely on the model's pretrained parameters, then store the generated answer back into the protocol table for auditing later.
Incorrect. Relying only on pretrained parameters skips retrieval entirely, defeating the purpose of RAG and risking hallucination on internal protocols.
・Rank every protocol chunk with an exact relational join on keyword columns, then feed the full protocol corpus into the LLM so the model can decide which passages are relevant.
Incorrect. Keyword-only joins plus dumping the whole corpus ignores semantic similarity search and overwhelms the model's context window.
Explanation
RAG retrieval embeds the user query, runs vector similarity search over chunk embeddings, and passes the best-matching chunks as grounding context to the generation model.
Example5 · Performance, Security & Deployment
At a healthcare services firm, similarity queries over a 40-million-row table of patient-note embeddings are scanning every row and missing response-time targets. The team wants to accelerate approximate nearest-neighbor search while accepting a small, tunable loss of recall. Which action best addresses this performance problem?
✓Create an HNSW or IVF vector index on the embedding column so queries use approximate nearest-neighbor traversal instead of a full exact scan
Correct. A vector index (HNSW graph-based or IVF cluster-based) lets the optimizer perform approximate nearest-neighbor search, trading a small amount of recall for large latency gains versus an exact full scan.
・Remove the VECTOR data type and store each embedding as a comma-separated string in a VARCHAR2 column to simplify scanning
Incorrect. Storing embeddings as VARCHAR2 strings removes native vector operations, forces string parsing per row, and makes indexing for similarity search impossible.
・Rewrite every query to compute cosine distance inside a PL/SQL loop that iterates over all rows in the table
Incorrect. A PL/SQL loop computing distance per row is still an exact full scan and is far slower than set-based SQL with a vector index.
・Increase the SGA buffer cache so the whole embedding table stays in memory and every exact scan runs faster
Incorrect. Caching the table only speeds I/O for an exact scan; it does not reduce the O(n) comparison cost that a vector index eliminates.
Explanation
Creating an HNSW or IVF vector index enables approximate similarity search, which is the standard way to accelerate large-scale nearest-neighbor queries with tunable recall.
Example6 · Vector Search Fundamentals
A healthcare services firm wants to let clinicians search internal care-protocol documents by meaning rather than exact keywords, so that "chest discomfort" also surfaces notes about "angina." An engineer asks why vector embeddings enable this. What is the best explanation of the role embeddings play here?
・They compress each document into a smaller binary file so that storage costs fall and full-text keyword indexes can be rebuilt more frequently across the protocol library
Incorrect. Embeddings are not a storage-compression format for rebuilding keyword indexes; they capture meaning, not compressed document bytes.
✓They encode the semantic meaning of text as numeric vectors so that conceptually similar passages sit close together in vector space, enabling meaning-based retrieval
Correct. Embeddings map text to numeric vectors where semantic closeness becomes geometric closeness, so "chest discomfort" and "angina" land near each other and can be retrieved by meaning.
・They translate every clinical document into a standardized medical vocabulary so that exact string matches succeed across different author spellings and abbreviations
Incorrect. Embeddings do not normalize text to a controlled vocabulary for exact string matching; semantic search does not rely on identical strings.
・They assign a unique sequential identifier to each document so that retrieval can rank results strictly by recency and document creation order
Incorrect. Embeddings do not act as sequential identifiers, and semantic relevance is not the same as ordering by recency or creation order.
Explanation
Vector embeddings represent meaning as coordinates in a high-dimensional space, letting similar concepts be found even when the wording differs.
Example7 · Vector Search Fundamentals
The engineering team at LumaThread, an online apparel retailer, wants shoppers who type 'cozy winter layers' to also surface fleece pullovers and thermal tops that never use those exact words. Which capability of vector embeddings makes this possible in Oracle AI Vector Search?
・Embeddings compress the product description text into a smaller string so that keyword matching runs faster against the catalog index
Incorrect. Embeddings are numeric vectors capturing meaning, not compressed strings, and they do not merely accelerate exact keyword matching.
✓Embeddings encode the semantic meaning of text as numeric vectors, so items with similar meaning sit close together in vector space
Correct. Embeddings represent semantic meaning numerically, so conceptually related items are near each other and can be retrieved even without shared keywords.
・Embeddings assign each product a unique sequential identifier that the database uses to enforce referential integrity across tables
Incorrect. Embeddings are not sequential identifiers and have no role in enforcing referential integrity between tables.
・Embeddings translate product descriptions into multiple languages and store each translation in a dedicated catalog column for lookup
Incorrect. Embeddings do not produce language translations stored in separate columns; they capture meaning as vectors.
Explanation
Vector embeddings map text into a high-dimensional space where semantic similarity corresponds to geometric closeness, enabling retrieval of conceptually related items regardless of exact wording.
Example8 · Vector Search Fundamentals
A DBA at LumaThread declares a column as VECTOR(768, FLOAT32) on the product_catalog table. What does this declaration establish about the values stored in that column?
✓Each stored vector must contain exactly 768 dimensions, with each dimension held as a 32-bit floating point number
Correct. The VECTOR(768, FLOAT32) type fixes the vector at 768 dimensions and stores each dimension as a FLOAT32 value.
・Each stored vector may hold up to 768 characters of text that are later converted to floating point values on query
Incorrect. The 768 is a dimension count, not a character length, and vectors store numeric dimensions rather than text.
・Each stored vector is limited to 768 rows and every element is automatically normalized to a 32-bit range
Incorrect. The number specifies dimensions per vector, not a row limit, and FLOAT32 does not imply automatic normalization.
・Each stored vector reserves 768 bytes of storage and packs its dimensions into a compact 32-bit integer layout
Incorrect. The 768 refers to dimensions, not a byte reservation, and FLOAT32 is floating point, not a packed integer layout.
Explanation
In VECTOR(dimensions, format), the first argument sets the number of dimensions and the second sets the numeric storage format, so VECTOR(768, FLOAT32) means 768 FLOAT32 dimensions.
Example9 · Vector Search Fundamentals
LumaThread's current search returns zero results when a shopper searches 'rain-proof jacket' because catalog entries say 'waterproof coat.' The team migrates to vector similarity search. What practical change should they expect in query behavior?
・Queries will now require shoppers to enter the precise catalog phrasing before any matching product rows are returned
Incorrect. Vector similarity search removes the need for exact phrasing rather than requiring it.
✓Queries return the closest-meaning products ranked by similarity, so 'rain-proof jacket' can surface the 'waterproof coat'
Correct. Similarity search ranks results by closeness in vector space, so semantically equivalent phrases like 'rain-proof jacket' and 'waterproof coat' match.
・Queries will only match when every word in the shopper's phrase appears literally somewhere in the product description text
Incorrect. Literal word-for-word matching describes keyword search, which is exactly what the migration moves away from.
・Queries will ignore the product descriptions entirely and instead match purely on the numeric price field of each item
Incorrect. Vector search operates on the embedded meaning of descriptions, not on an unrelated price field.
Explanation
Unlike exact keyword matching, similarity search compares embedding vectors and returns the nearest-meaning items, so synonymous phrasing still retrieves relevant results.
Example10 · Vector Search Fundamentals
A financial services firm wants to let analysts find loan applications that are semantically similar to a reference case, even when the wording differs. An architect proposes storing vector embeddings of each application's text. What is the primary purpose that these embeddings serve in this workflow?
・They compress each loan application into a smaller binary payload so that the firm can reduce total tablespace storage while keeping the original searchable text columns fully intact for reporting
Incorrect. Embeddings are not a compression format for original text, and the goal here is semantic matching, not reducing tablespace size.
✓They capture the semantic meaning of each application as numeric coordinates, so that conceptually related applications fall close together in vector space regardless of exact wording
Correct. Embeddings encode semantic meaning as numeric vectors so that similar concepts are near each other in vector space, enabling meaning-based retrieval.
・They enforce referential integrity across the loan tables so that every application row is guaranteed to map to exactly one validated and approved customer master record
Incorrect. Referential integrity is enforced by constraints, not by vector embeddings, which have no role in guaranteeing key relationships.
・They encrypt the sensitive content of each loan application at rest so that only analysts holding the correct decryption key can read the application text during a review
Incorrect. Embeddings do not encrypt content; they are numeric representations of meaning and provide no access-control guarantee.
Explanation
Vector embeddings translate unstructured content into numeric coordinates that preserve semantic relationships, enabling similarity search by meaning rather than exact keyword match.
Example11 · Vector Search Fundamentals
A bank's DBA is designing a table to hold embeddings generated from customer support transcripts. The team wants Oracle to natively store and index these embeddings alongside existing relational columns. Which statement best describes the role of the VECTOR data type that the DBA should use?
✓It is a native column type for storing embedding arrays so vectors live in the same table as relational data and can be queried together with SQL
Correct. The VECTOR type is a native column data type, letting embeddings reside in the table with relational columns and be queried via SQL.
・It is an external file format that stores embeddings outside the database so that Oracle only keeps a pointer reference and streams the vector values on demand
Incorrect. The VECTOR type stores values inside the database as a column, not as an external file with only a pointer reference.
・It is a specialized package of PL/SQL procedures that must be invoked at query time to materialize embeddings into a temporary table before any similarity comparison
Incorrect. VECTOR is a data type, not a PL/SQL package requiring per-query materialization into temporary tables.
・It is a configuration parameter set at the instance level that converts existing VARCHAR2 columns into searchable embeddings automatically during a scheduled maintenance window
Incorrect. VECTOR is a column data type, not an instance parameter that silently rewrites VARCHAR2 columns into embeddings.
Explanation
The VECTOR data type is a first-class Oracle 23ai column type that stores embeddings natively alongside relational data, allowing unified SQL querying.
Example12 · Vector Search Fundamentals
A manufacturing distributor wants customers to find replacement parts using natural-language descriptions like 'rubber seal for high-pressure pump' even when those exact words are absent from product titles. The data team is deciding why vector embeddings are better suited than keyword matching for this. Which statement best explains the role embeddings play here?
✓Embeddings encode the semantic meaning of the part description into a numeric vector, so items with similar meaning are placed close together in vector space.
Correct. Embeddings map text (or other data) into a numeric vector that captures semantic meaning, so conceptually similar items cluster together regardless of exact wording.
・Embeddings compress each part description into a smaller text string that is then compared character by character for exact keyword overlap.
Incorrect. Embeddings are numeric vectors, not shorter text strings, and similarity is computed by distance between vectors rather than character-by-character keyword overlap.
・Embeddings build an inverted index of every keyword so the database can look up parts whose titles contain the literal search terms quickly.
Incorrect. An inverted keyword index supports lexical search and matches literal terms; it does not capture the semantic similarity that embeddings provide.
・Embeddings translate the part description into SQL predicates that filter the catalog table using LIKE clauses against the title and description columns.
Incorrect. Embeddings do not generate SQL LIKE predicates; LIKE-based filtering is literal pattern matching and misses semantically related parts worded differently.
Explanation
Vector embeddings represent meaning numerically so that semantically similar items are near each other in vector space, enabling meaning-based retrieval rather than literal keyword matching.
Example13 · Vector Search Fundamentals
The distributor's DBA is adding a column to the PARTS table to hold embeddings generated for each item description. A colleague asks what the native VECTOR data type in Oracle Database 23ai is fundamentally for. Which description is the most accurate?
・It stores a serialized BLOB of the original product image so similarity can be computed by comparing the raw binary payloads directly.
Incorrect. The VECTOR type holds numeric embedding dimensions, not a serialized BLOB of raw image bytes compared directly.
✓It stores an ordered set of numeric dimensions representing an embedding so vector distance operations can run inside the database.
Correct. The VECTOR data type stores an array of numeric dimensions (the embedding) natively, enabling distance and similarity operations within the database.
・It stores a JSON document containing the model name and the training metadata used when the item's embedding was first produced.
Incorrect. VECTOR holds the embedding values themselves, not a JSON document of model names and training metadata.
・It stores a normalized keyword list extracted from the item description so that text indexes can accelerate traditional lexical lookups.
Incorrect. VECTOR stores numeric dimensions for similarity search, not a keyword list intended for lexical text indexing.
Explanation
The native VECTOR data type stores embeddings as an array of numeric dimensions, allowing Oracle to perform vector distance and similarity operations directly in SQL.
Example14 · Vector Search Fundamentals
A telecom operator stores customer support call transcripts and wants to enable semantic retrieval using Oracle AI Vector Search 23ai. An engineer asks what a vector embedding generated from each transcript actually represents. Which description is correct?
✓A numeric array of coordinates that captures the semantic meaning of the transcript so that similar content maps to nearby points in a high-dimensional space
Correct. An embedding is a numeric vector whose coordinates encode semantic meaning, placing semantically similar items close together in the vector space.
・A compressed binary archive of the raw transcript text that must be decompressed and re-tokenized before any similarity comparison can be performed
Incorrect. Embeddings are not compressed archives of the original text; the source text cannot be reconstructed from the vector.
・An ordered list of the exact keywords found in the transcript, weighted by how often each term appears across the entire support corpus
Incorrect. That describes a lexical/keyword representation such as TF-IDF, not a dense semantic embedding that captures meaning.
・A cryptographic hash of the transcript used to verify that the stored document has not been altered since it was originally ingested
Incorrect. A hash provides integrity verification and has no notion of semantic proximity between documents.
Explanation
A vector embedding is a dense numeric representation of meaning, enabling similarity comparisons where semantically related content lands near each other in high-dimensional space.
Example15 · Vector Search Fundamentals
A telecom operator's DBA is modeling a table that will hold embeddings for network-fault descriptions alongside existing relational columns. Why does Oracle AI Vector Search 23ai provide a dedicated VECTOR data type for this purpose?
✓To store embeddings as a native column type so vectors live beside relational data and are queryable with SQL distance operators
Correct. The VECTOR type stores embeddings natively in a column, letting them coexist with relational data and be queried via SQL vector distance functions.
・To force every embedding to be stored as a plain comma-separated VARCHAR2 string that applications parse manually at query time
Incorrect. The whole point of a native type is to avoid treating vectors as opaque strings that must be parsed by applications.
・To automatically generate embeddings from text during INSERT without any model being specified, configured, or referenced by the statement
Incorrect. The VECTOR type stores vectors; embedding generation is a separate step requiring a specified model.
・To replace the need for relational tables entirely by moving all operational customer data into a standalone external vector-only store
Incorrect. Vector Search augments the relational database rather than replacing relational tables with an external store.
Explanation
The native VECTOR data type lets embeddings be stored and queried inside the converged database alongside relational data, which is the core design goal of Oracle AI Vector Search.
▶ Try 10 free questions (graded)