Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Oracle Database AI Vector Search Professional 1Z0-184-25 Exam Questions

Last updated: · 10 practice questions with answers and explanations

Page: 1 / 6 Total 60 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Understand Vector Fundamentals

Skill tested: Select a vector distance metric that matches embedding normalization and ranking requirements.

A legal-document search service stores 768-dimensional embeddings produced by a model that L2-normalizes every output vector. The application must rank passages by angular similarity, and the team wants to use Oracle's vector distance operations consistently in both exact queries and later indexed queries. The table column is declared as VECTOR(768, FLOAT32), and the application should not transform stored embeddings at query time. Which distance metric best matches the model and ranking requirement?

Correct Answer: A. COSINE, because it compares vector direction and is appropriate for normalized embeddings.
Explanation:

COSINE distance compares the direction of vectors, which aligns with angular similarity and is commonly appropriate for normalized embeddings. Since every output is L2-normalized, cosine-based ranking also corresponds to the model's intended directional comparison. EUCLIDEAN can yield equivalent rankings for unit-normalized vectors in many settings, but it does not express the stated angular metric as directly. HAMMING is intended for binary-vector comparison, and MANHATTAN is not required by the FLOAT32 storage format.

Question 2

New Multiple answers

Topic: Understand Vector Fundamentals

Skill tested: Apply Oracle vector DDL and DML rules when storing and updating embedding values.

A product catalog team is adding one 384-dimensional FLOAT32 embedding per product to an Oracle table. Existing rows must remain valid, newly generated embeddings arrive as text in JSON array notation, and updates must preserve the embedding's dimensionality. The database supports the VECTOR data type, and the team wants the database to reject vectors with a different number of elements rather than silently accepting inconsistent data. Which two actions best meet these requirements? Select TWO.

Correct Answer: C. Add a VECTOR(384, FLOAT32) column and populate it by converting the JSON array representation to a vector value.; D. Use an UPDATE statement that assigns the converted vector to the column for existing products, and INSERT converted vectors for new products.
Explanation:

A fixed-dimension VECTOR(384, FLOAT32) declaration makes the intended dimensionality and element format part of the column definition. Converting the incoming array text into a vector value before assignment lets the database store actual vector data, while ordinary INSERT and UPDATE operations support loading and changing vectors. A wildcard dimension leaves the stated dimension unenforced. A CLOB is not itself an indexable vector column, and INT8 is a different element format that does not preserve FLOAT32 precision.

Question 3

New Single answer

Topic: Using Vector Indexes

Skill tested: Choose HNSW index configuration for low-latency approximate nearest-neighbor retrieval.

An internal knowledge assistant serves millions of fixed-size embeddings in Oracle Database. Its interactive endpoint has a strict latency target, the corpus changes continuously through inserts and deletes, and modest additional memory use is acceptable. Searches can tolerate a small loss in recall compared with exhaustive scoring, but the service must use approximate nearest-neighbor retrieval. Which index strategy is the best fit?

Correct Answer: D. Create an HNSW vector index, selecting an appropriate distance metric and tuning its search accuracy and memory trade-off.
Explanation:

HNSW is a graph-based approximate nearest-neighbor index suited to low-latency retrieval and commonly offers strong recall at the cost of greater memory use. The scenario explicitly accepts that trade-off and has a frequently changing corpus, making HNSW a reasonable fit. IVF can be effective, particularly when its partitioning and probe settings fit the workload, but its clustering-based design is not the best match for the stated preference. Exact scans do not meet the latency goal, and a B-tree does not provide vector nearest-neighbor search.

Question 4

New Multiple answers

Topic: Using Vector Indexes

Skill tested: Select IVF index and query settings that balance search recall with partition-based efficiency.

A support archive has tens of millions of embeddings and is refreshed in scheduled batches rather than continuously. Memory is constrained, and the team has benchmarked IVF as a suitable index family. Search quality must be tunable per query: broad discovery requests need higher recall, while routine lookups can use fewer probes. The team also wants index creation to cluster the corpus before searches begin. Which two choices fit this design? Select TWO.

Correct Answer: A. Create an IVF vector index so vectors are grouped into index partitions during index construction.; E. Use the query's IVF probe setting to search more or fewer partitions according to the recall and latency requirement.
Explanation:

IVF organizes vectors into partitions (centroids) during index construction, and query-time probing controls how many partitions are searched. Increasing the number of probed partitions generally improves recall while increasing work, allowing the two request classes to use different trade-offs. EF_SEARCH is associated with HNSW search behavior, not IVF partition probing. A zero probe count is not a means of requesting an exhaustive table scan, and B-tree clustering factors do not configure vector-index partitions.

Question 5

New Single answer

Topic: Performing Similarity Search

Skill tested: Write an exact vector similarity query with metric-consistent ordering and top-k limiting.

A risk-analysis team is validating an approximate vector index against a ground-truth result set. For each query vector, it needs the exact ten closest records using cosine distance, with the nearest record first. The test must not depend on an approximate index access path, and the returned distance should be available for comparison. Which query pattern is the most appropriate?

Correct Answer: B. Select rows ordered by VECTOR_DISTANCE(embedding, :q, COSINE) ascending and apply FETCH FIRST 10 ROWS ONLY, while disabling approximate index use for the validation query.
Explanation:

Exact nearest-neighbor validation requires ranking by the requested distance over the candidate rows, with smaller distances first, then limiting the result to ten. Returning VECTOR_DISTANCE also provides the score needed for comparison. Preventing approximate index use ensures the baseline is exhaustive rather than an approximate access path. Descending distance selects the farthest rows, ordering by the vector value has no nearest-neighbor meaning, and increasing approximate search effort does not by itself establish an exact result.

Question 6

New Single answer

Topic: Performing Similarity Search

Skill tested: Construct multi-vector retrieval across document chunks while ranking the best matching documents.

A research repository stores each document as several chunk rows, each with its own embedding. Analysts search with one query embedding but need a ranked list of documents, not a list dominated by multiple chunks from the same document. The business rule is to rank each document by its closest chunk and return the best 20 documents. Which query design most directly implements this rule?

Correct Answer: A. Compute each chunk's distance to the query vector, aggregate by document using the minimum distance, then order documents by that value and fetch 20.
Explanation:

The stated document score is the distance of its closest chunk. Computing chunk-level vector distances, grouping by document, and taking the minimum implements that definition; ordering the grouped results then produces a document-level top 20. Returning the first 20 chunks can allow one document to occupy many positions and may return fewer than 20 distinct documents. Averaging vectors is not the specified scoring rule and can be inappropriate for embeddings, while chunk count and insertion time are unrelated to semantic similarity.

Question 7

New Multiple answers

Topic: Using Vector Embeddings

Skill tested: Choose an embedding generation and persistence workflow that preserves model and vector consistency.

A retailer generates product embeddings with a hosted model outside Oracle because its database network cannot access the model endpoint. A Python ingestion job receives vectors and metadata, while the database remains the system of record. The team must ensure every stored embedding corresponds to the same model version and expected dimensionality, and it must avoid regenerating vectors inside the database. Which two implementation decisions are appropriate? Select TWO.

Correct Answer: B. Have the Python job call the external embedding model, validate the returned dimension, and bind the vector value when inserting the product row.; E. Record the embedding model identifier or version alongside the embedding so later searches use compatible query vectors.
Explanation:

Generating embeddings in Python satisfies the network restriction, and validating dimension before binding the vector protects the fixed vector-column contract. Persisting model identity or version supports compatibility: equal dimensions alone do not ensure that vectors from different models share a meaningful embedding space. Oracle does not implicitly generate an embedding merely because a vector column is assigned, so the endpoint-URL approach is invalid. String comparison is not vector similarity, and mixing models based only on dimensionality can produce meaningless rankings.

Question 8

New Single answer

Topic: Building a RAG Application

Skill tested: Implement retrieval-augmented generation with a database retrieval step and grounded prompt context.

A compliance team is building a Python question-answering service over controlled policy documents. The language model must answer only from retrieved passages, and the application must retain the source identifiers for audit. The database already stores passage text, document identifiers, and embeddings. Which request flow best implements retrieval-augmented generation while meeting these requirements?

Correct Answer: C. Generate a query embedding, retrieve the nearest passages and identifiers from Oracle, place those passages in the model prompt with instructions to ground the answer, and retain the identifiers with the response.
Explanation:

RAG retrieves relevant source material before generation: the service embeds the question, performs vector similarity search, and supplies the returned passages as context for the language model. Retaining document or passage identifiers preserves provenance for audit. Direct generation followed by optional retrieval does not ground the answer; selecting by recency is not semantic retrieval; and generation without searching the stored vectors bypasses the controlled document corpus.

Question 9

New Multiple answers

Topic: Building a RAG Application

Skill tested: Use PL/SQL and SQL retrieval results to construct a grounded, auditable RAG prompt.

A team is moving a small RAG workflow into PL/SQL so that retrieval and application-side access controls remain within the database. The stored procedure receives a user query embedding, selects relevant passages using Oracle SQL, and invokes an approved text-generation endpoint through the organization's existing integration. Responses must be grounded in retrieved content and traceable to source rows. Which two design choices should the procedure make? Select TWO.

Correct Answer: D. Preserve the source identifiers with the generated response so the application can expose or audit citations.; E. Use a SQL top-k similarity query to fetch passage text and source identifiers, then include the retrieved material as explicit context in the generation prompt.
Explanation:

A PL/SQL RAG workflow can use SQL to retrieve a bounded set of relevant passages and their identifiers, then pass the passage content as prompt context to the configured generation integration. Keeping identifiers enables citations and auditability. The model endpoint does not automatically resolve database vectors from an embedding, and scanning every passage is unnecessary and impractical. Post-generation checking alone does not ground the answer during generation.

Question 10

New Single answer

Topic: Leveraging related AI capabilities

Skill tested: Select a vector-data loading method that preserves typed vector values during bulk ingestion.

A data engineering group receives a large, periodically refreshed file containing product IDs and embeddings in a supported vector text representation. They want a repeatable bulk-load process into a table with a VECTOR column and want the values loaded as vectors rather than retained as opaque text. The source is a delimited file, and application-level row-by-row INSERT operations would miss the batch window. Which approach best fits?

Correct Answer: A. Use SQL*Loader with an appropriate load definition that maps the vector field into the VECTOR column using a supported vector input representation.
Explanation:

SQL*Loader is designed for bulk loading delimited source data, and a load definition can map supported vector input into a VECTOR column so the database stores typed vector values. Loading text into VARCHAR2 does not automatically make it a vector column or enable a vector index on that text. A BLOB likewise requires conversion and is not directly a vector-index target. Data Pump transports database objects and data; it is not the mechanism for parsing a delimited file as a vector source during queries.