1Z0-184-25 practice question 3 of 15

What is the purpose of the VECTOR_DISTANCE function in Oracle Database 23ai similarity search?

Full set: 60 questions
Answer options
A: To fetch rows that match exact vector embeddings
B: To create vector indexes for efficient searches
C: To group vectors by their exact scores
D: To calculate the distance between vectors using a specified metric Correct answer
Correct Answer:
D. To calculate the distance between vectors using a specified metric
Explanation

The VECTOR_DISTANCE function in Oracle 23ai (D) computes the distance between two vectors using a specified metric (e.g., COSINE, EUCLIDEAN), enabling similarity search by quantifying proximity. It doesn’t fetch exact matches (A); it measures similarity. Index creation (B) is handled by CREATE INDEX, not this function. Grouping (C) requires additional SQL (e.g., GROUP BY), not VECTOR_DISTANCE’s role. Oracle’s SQL reference defines it as the core tool for distance calculation in vector queries.
Reference:Oracle Database 23ai SQL Language Reference, Section on VECTOR_DISTANCE.

Scroll to Top