Youtube Channel: Exploit & Operate: Exam 1Z0-184-25: Oracle AI Vector Search Professional August 05,2025 92%
Youtube Channel: Exploit & Operate: Exam 1Z0-184-25: Oracle AI Vector Search Professional August 05,2025 92%
• in a CSV file
• In a binary FVEC file with the relational data in a CSV file
• In the database as BLOB (Binary Large Object) data
ut
2. When generating vector embeddings for a new dataset outside of Oracle Database 23ai, which
factor is crucial to ensure meaningful similarity search results?
e
• The choice of programming language used to process the dataset (for example, Python, Java)
• The physical location where the vector embeddings are stored
ch
• The storage format of the new dataset (for example, CSV, JSON)
• The same vector embedding model must be used for vectorizing the data and creating a query
vector
an
3. You are working with vector search in Oracle Database 23ai and need to ensure the integrity
of your vector data during storage and retrieval
ne
Which factor is crucial for maintaining the accuracy and reliability of your vector search results
•
l:
Using the same embedding model for both vector creation and similarity search
• Regularly updating vector embeddings to reflect changes in the source data
• The specific distance algorithm employed for vector comparisons
Ex
Database 23ai?
•
oi
Creating a new table using CTAS CREATE TABLE AS SELECT that includes the VECTOR
column from the original table
t&
5. Which SQL statement correctly adds a VECTOR column named v with 4 dimensions and
FLOAT 32 format to an existing table named my_table?
pe
6. A machine learning team is using IVF indexes in Oracle Database 23ai to find similar images
in a large dataset. During testing, they observe that the search results are often incomplete,
missing relevant images. They suspect the issue lies in the number of partitions probed.How
should they improve the search accuracy?
• Add the TARGET ACCURACY clause to the query with a higher value for the accuracy.
• Change the index type to HNSW for better accuracy.
• Increase the VECTOR MEMORY SIZE initialization parameter.
• Re-create the index with a higher EFCONSTRUCTION value
7. What happens when querying with an IVF index if you increase the value of the NEIGHBOR
PARTITION probes parameter?
Yo
8. Which PL/SQL package is primarily used for interacting with Generative Al services in
Oracle Database 23ai?
e
• DBMS AI
ch
• DBMS ML
• DBMS VECTOR CHAIN
• DBMS GENAI
an
9. Which SQL function is used to create a vector embedding for a given text string in Oracle
Database 23ai?
ne
• GENERATE EMBEDDING
• CREATE VECTOR_EMBEDDING
l:
• EMBED TEXT
• VECTOR EMBEDDING
Ex
10. Which PL/SQL function converts documents such as PDF, DOC, JSON, XML, or HTML to
plain text?
pl
• DBMS VECTOR.TEXT_TO_PLAIN
• DBMS VECTOR_CHAIN. UTL TO TEXT
oi
• To split a large document into smaller chunks to improve vector quality by minimizing token
truncation
• To convert a document into a single, large text string.
ra
12. What is the first step in setting up the practice environment for Select Al?
te
language query
14. You are storing 1,000 embeddings in a VECTOR column, each with 256 dimensions using
ut
•
ub
1 MB
• 4 MB
• 256 KB
e
• 1GB
15. Which Oracle Cloud Infrastructure (OC) service is directly integrated with Select Al?
ch
• 000 Language
•
an
OCI Generative Al
• OCT Vision
• OCI Data Science
ne
16. Which is NOT a feature or capability related to Al and Vector Search in Exadata?
• Native Support for Vector Search Only within the Database Server
l:
• Al Smart Scan
17.Which statement best describes the core functionality and benefit of Retrieval Augmented
pl
• it empowers LLMs to interact with private enterprise data stored within the database, leading
oi
retrieval techniques, thus minimizing response times, and reducing computational overhead
• It allows users to train their own specialized LLMs directly within the Oracle Database
environment using their internal data, thereby reducing the reliance on external ai providers
O
• It enables Large Language Models (LLMs) to access and process real-time data streams from
diverse sources to generate the most up-to-date insights
pe
18.lf a query vector uses a different distance metric than the one used to create the index, what
happens?
ra
• it excels at optimizing the performance and efficiency of LLM inference through advanced
caching and precomputation techniques, leading to faster response times but potentially
storage requirements.
• It priorities real-time data extraction and summarization from various sources to ensure the
Yo
development effort.
• It leverages existing database security and access controls, thereby enabling secure and
ub
following example
import oracledb
ch
vector VECTOR
try:
cursor.execute(create table sql)
Ex
connection.autocommit True
from sentence_transformers import Sentence Transformer encoder Sentence Transformer('all
oi
MiniLM-L12-v2)
• Sentence transformers
t&
• oci
• oracledb
• json
O
21. What is the function of the COS INE parameter in the SQL query used to retrieve similar
vectors?
pe
topk = 3
sqlf'select payload, vector distance (vector, vector, COSINE) as score from (table_name) order
ra
...
...
docs = [("text": filename + ''+ section, 'path': filename) for filename, sections in faqs.item() for
e
section in sections]
#Sample the resulting data
ch
docs [:2]
an
...
• It preserves context and aids in the retrieval process by associating each vectorized chunk
with its original source file.
ne
• It helps differentiate between chunks from different files but has no impact on vectorization.
• It speeds up the vectorization process by providing a unique identifier for each chunk.
l:
database, and how is this information then integrated into the generation process?
• Encodes the question and database chunks into vectors, finds the most similar using cosine
pl
• Converts the question to keywords, searches for matches, and inserts the text into the
response.
t&
• Clusters similar text chunks and randomly selects one from the most relevant cluster.
25. When using SQL "Loader to load vector data for search applications, what is a critical
consideration regarding the formatting of the vector data within the input CSV file?
O
As FVEC is a binary format and the vector dimensions have a known width, fixed offsets can
he used to make parsing the vectors fast and efficient
• Use sparse format for vector data.
ra
• DBMS_VECTOR_CHAIN.UTL_TO_CHUNKS
• DBMS_VECTOR_CHAIN.UTL_TO_TEXT
• DBMS_VECTOR_CHAIN.UTL_TO_EMBEDDINGS
• DBMS_VECTOR_CHAIN.UTL_TO_GENERATE_TEXT
27.Which statement best describes the capability of Oracle Data Pump for handling vector data
in the context of vector search applications?
• Data Pump only export and import vector data if the vector embeddings are stored as BLOB
(Binary Large Object) data types in the database.
• Data Pump treats vector embeddings as regular text strings, which can lead to data corruption
or loss of precision when transferring vector data for vector search.
Yo
• Data Pump provides native support for exporting and importing tables containing vector data
types, facilitating the transfer of vector data for vector search applications.
• Because of the complexity of vector data Data Pump requires a specialized plug in to handle
ut
• The database pads the vector with zeros to match the defined dimensions.
• The insert operation fails, and an error message is thrown.
ch
• The database ignores the defined dimensions and inserts the vector as is
29.In Oracle Database 23ai, which data type is used to store vector embeddings for similarity
an
search?
• VECTOR2
ne
• BLOB
• VECTOR
l:
• VARCHAR2
30.What is created to facilitate the use of OCI Generative Al with Autonomous Database?
Ex
development?
t&
types.
pe
32. What is the correct order of steps for building a RAG application using PL/SQL in Oracle
ra
Database 23ai?
• Load ONNX Model, Vectorize Question, Load Document, Split Text into Chunks, Create
te
34. What is the advantage of using Euclidean Squared Distance rather than Euclidean Distance
in similarity search queries?
e
35.you need to prioritize accuracy over speed in a similarity search for a dataset of images.
which should you Use?
•
ne
Approximate similarity search with HNSW indexing and target accuracy of 70%.
• Multivector similarity search with partitioning.
• Exact similarity search using a full table scan.
l:
• Approximate similarity search with IVF indexing and target accuracy of 70%.
36.What is the significance of splitting text into chunks in the process of loading data into
Ex
limit
37. What the purpose of the VECTOR_ DISTANCE function in Oracle Database 23ai similarity
t&
search?
38. You are asked with creating table to store vector embeddings with the following
characteristics: Each vector must have exactly 512 dimensions. • The dimensions should be
te
stored as 32-bit floating point numbers. Which SQL statement should you use?
• VECTOR_DIMENSION_FORMAT
• VECTOR_CHUNKS
• VECTOR_NORM
• VECTOR_ENBEDDING
Yo
• Snmp securitys
ub
41. you need to generate a vector from the string 1[1.2, 3.4]" in FLOAT32 format with 2
dimensions Which function will you use?
e
• To VECTOR
• VECTOR DISTANCE
ch
• FROM_VECTOR
• VECTOR SERIALIZE
an
42. What is the primary purpose of the VECTOR_EMBEDDING function in Oracle Database
23ai?
ne
44. What is the primary function of Al Smart Scan in Exadata System Software 24ai?
t&
• EFCONSTRUCTION
ra
• VECTOR_MEMORY_SIZE
• NEIGHBOURS
te
• TARGET_ACCURACY
46. You want to quickly retrieve the top-10 matches for a query vector from a dataset of billions
of vectors, prioritizing speed over exact accuracy.What is the best approach?
• SELECT
• UPDATE
• DELETE
e
50. You are asked to fetch the top five vectors nearest to a query vector, but only for a specific
category of documents
l:
51. What is the primary function of an embedding model in the context of vector search?
t&
52. What is the significance of using local ONNX models for embedding within the database?
• Providing a vector with a dimensionality that exceeds the specified dimension count.
• Using a vector with a data type that is not supported by the function.
• Providing a vector with duplicate values for its components.
• Calling the function on a vector that has been created with to_vector().
54. An application needs to fetch the top-3 matching sentences from a dataset of books while
ensuring a balance between speed and accuracy. Which query structure should you use?
55. You are asked with finding the closest matching sentences across books, where each book has
multiple paragraphs and sentences. Which SQL structure should you use?
ub
56. What is the primary difference between the HNSW and IVF vector indexes in Oracle
Database 23ai?
an
• HNSW uses an in-memory neighbor graph for faster approximate searches, whereas IVF use
the buffer cache with partitions
• HNSW is partition based, whereas IVF uses neighbor graphs for indexing.
l:
57. A database administrator wants to change the VECTOR MEMORY SIZE parameter for a
pluggable database (PDB) in Oracle Database 23a. Which SQL command is correct?
Ex
58.Which vector index available in Oracle Database 23ai is known for its speed and accuracy,
t&
59. What is the purpose of the Vector Pool in Oracle Database 2.3ai?
ra
• Euclidean
• Hamming
• Cosine
• Manhattan
61. In Oracle Database 23ai, which SQL function calculates the distance between two vectors
using the Euclidean matric?
Yo
• L1 DISTANCE
• L2 DISTANCE
• HANMING DISTANCE
ut
• COSINE DISTANCE
62. What is a key advantage of using GoldenGate 23ai for managing and distributing vector
ub
• The database pads the vector with zeros to match the defined dimensions
ne
• The database ignores the defined dimensions and inserts the vector as is.
• The database truncates the vector to fit the defined dimensions.
• The insert operation fails, and an error message is thrown
l:
64. The question asks which SQL statement will successfully insert a vector into a table named
my_table with a single VECTOR column named v.
Ex
The correct syntax for inserting a vector in Oracle’s AI Vector Search would typically use the
proper vector format. Based on the options provided:
pl
67. Which Oracle Cloud Infrastructure (OCI) service is directly integrated with Select Al? O
OCI Vision OCI Data Science OCI Generative Al OOO Language
pe
• Select AI RAG leverages vector stores to perform semantic similarity searches, finding and
te
adding pertinent information from private data to improve prompts for LLMS.
• Select Al RAG uses vector stores to reduce the size of LLM prompts by retrieving only the
most relevant information, minimizing computational overhead.
• Select AI RAG utilizes vector stores for the efficient management and retrieval of large
volumes of textual data, leading to faster response times from LLMs.
• Select AI RAG employs vector stores to isolate sensitive data, ensuring LLMs do not have
direct access to private information.
69. Which of the following is NOT a benefit of Select Al?
• Binary Search
• Cosine
ub
• Euclidean
• Hamming
e
71. A retail company uses an Oracle Database 23ai HNSW vector index to recommend products
to customers based on their browsing history.
ch
The database administrator notices that the after restarting the database, product
recommendations are slower.
an
72. What is a key advantage of generating vector embeddings outside the database?
Ex
• The Euclidean norm or distance between the vector and the origin.
• The number of dimensions of a vector
• The angle between two vectors
• The negated dot product of two vectors
O
74. What is one type of notebook used for interacting with Select Al?
pe
78. Based on the source code provided, which specific Generative Al model is being utilized?
BEGIN
ut
DBMS_CLOUD_AI.drop_profile(
profile name => 'OCIAI COHERE',
e
"provider": "oci",
"credential_name": "OCISRESOURCE_PRINCIPAL",
l:
"model": "cohere.command-r-plus",
"oci_apiformat":"COHERE"}');
Ex
END;
/
pl
• LaMDA
oi
• TensorFlow
• Cohere
t&
• GPT-3
79. What is the purpose of the policy created in the Select Al practice environment setup?
O
development?
• Different external embedding models produce vectors with varying dimensions and data
types.
• It impacts the accuracy of similarity searches.
• It limits the length of text that can be vectorized.
81. Which SQL query would retrieve the top-10 vectors based on Euclidean distance using exact
similarity search?
• SELECT docID
FROM vector tab
ORDER BY VECTOR DISTANCE (embedding,query_vector, COSINE)
FETCH EXACT FIRST 10 ROWS ONLY;
Yo
• SELECT docID
FROM vector tab
ut
• SELECT docID
FROM vector tab
GROUP BY VECTOR DISTANCE (embedding, query vector, EUCLIDEAN)
e
• SELECT docID
FROM vector tab
ORDER BY VECTOR DISTANCE (embedding, query vector, EUCLIDEAN)
an
85. In the following example, what is the primary purpose of the chunk_overlap attribute when
defining a vector index using the DBMS_CLOUD_AI.CREATE_VECTOR_INDEX procedure?
te
BEGIN
--Create the vector index and the pipeline. Its source is the web site DBMS_CLOUD_AI.
create_vector_index(
index_name => 'support',
attributes(
"vector_db_provider"; "oracle",
"location": "https://objectstorage.us-xxx/o/",
"profile_name": "GENAI VECTOR",
"vector dimension": 1024,
"vector distance_metric": "cosine",
"chunk overlap":50,
"chunk_size" : 450}');
Yo
END;
/
ut
86. In the context of Select Al, what is an "Al Profile," and what purpose does it serve?
ch
• It is a user profile that stores preferences for data visualization and reporting in Select Al
applications.
an
• It is a security feature that restricts access to sensitive data within Select Al applications.
• It encapsulates connection information for an Al provider, including security credentials,
provider name, model name, and a list of target tables.
ne
• It is a machine learning model trained on specific data sets to enhance the accuracy of natural
language query processing.
l:
87. In Oracle Database 23ai, which SQL function is used to split text into words, sentences, or
paragraphs for vector embedding preparation?
Ex
• VECTOR_CHUNKS
• VECTOR_NORM
• VECTOR_EMBEDDING
pl
• VECTOR_DISTANCE
oi
t&