Special Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

How does an application use vector similarity search to retrieve relevant information from a database, and how is this information then integrated into the generation process?

A.

Encodes the question and database chunks into vectors, finds the most similar using cosine similarity, and includes them in the LLM prompt

B.

Trains a separate LLM on the database and uses it to answer, ignoring the general LLM

C.

Converts the question to keywords, searches for matches, and inserts the text into the response

D.

Clusters similar text chunks and randomly selects one from the most relevant cluster

Full Access
Question # 5

What is the primary purpose of the DBMS_VECTOR_CHAIN.UTL_TO_CHUNKS package in a RAG application?

A.

To generate vector embeddings from a text document

B.

To load a document into the database

C.

To split a large document into smaller chunks to improve vector quality by minimizing token truncation

D.

To convert a document into a single, large text string

Full Access
Question # 6

You are tasked with finding the closest matching sentences across books, where each book has multiple paragraphs and sentences. Which SQL structure should you use?

A.

A nested query with ORDER BY

B.

Exact similarity search with a single query vector

C.

GROUP BY with vector operations

D.

FETCH PARTITIONS BY clause

Full Access
Question # 7

What is a key characteristic of HNSW vector indexes?

A.

They are hierarchical with multilayered connections

B.

They require exact match for searches

C.

They are disk-based structures

D.

They use hash-based clustering

Full Access
Question # 8

Which Python library is used to vectorize text chunks and the user’s question in the following example?

import oracledb

connection = oracledb.connect(user=un, password=pw, dsn=ds)

table_name = "Page"

with connection.cursor() as cursor:

create_table_sql = f"""

CREATE TABLE IF NOT EXISTS {table_name} (

id NUMBER PRIMARY KEY,

payload CLOB CHECK (payload IS JSON),

vector VECTOR

)"""

try:

cursor.execute(create_table_sql)

except oracledb.DatabaseError as e:

raise

connection.autocommit = True

from sentence_transformers import SentenceTransformer

encoder = SentenceTransformer('all-MiniLM-L12-v2')

A.

sentence_transformers

B.

oci

C.

oracledb

D.

json

Full Access
Question # 9

What are the key advantages and considerations of using Retrieval Augmented Generation (RAG) in the context of Oracle AI Vector Search?

A.

It excels at optimizing the performance and efficiency of LLM inference through advanced caching and precomputation techniques, leading to faster response times but potentially increasing storage requirements

B.

It prioritizes real-time data extraction and summarization from various sources to ensure the LLM always has the most up-to-date information

C.

It focuses on training specialized LLMs within the database environment for specific tasks, offering greater control over model behavior and data privacy but potentially requiring more development effort

D.

It leverages existing database security and access controls, thereby enabling secure and controlled access to both the database content and the LLM

Full Access
Question # 10

You need to prioritize accuracy over speed in a similarity search for a dataset of images. Which should you use?

A.

Approximate similarity search with HNSW indexing and target accuracy of 70%

B.

Multivector similarity search with partitioning

C.

Exact similarity search using a full table scan

D.

Approximate similarity search with IVF indexing and target accuracy of 70%

Full Access
Question # 11

Which is NOT a feature or capability related to AI and Vector Search in Exadata?

A.

Native Support for Vector Search Only within the Database Server

B.

Vector Replication with GoldenGate

C.

Loading Vector Data using SQL*Loader

D.

AI Smart Scan

Full Access
Question # 12

What is the primary function of AI Smart Scan in Exadata System Software 24ai?

A.

To provide real-time monitoring and diagnostics for AI applications

B.

To accelerate AI workloads by leveraging Exadata RDMA Memory (XRMEM), Exadata Smart Cache, and on-storage processing

C.

To automatically optimize database queries for improved performance

Full Access
Question # 13

Which function should you use to determine the storage format of a vector?

A.

VECTOR_DIMENSION_FORMAT

B.

VECTOR_CHUNKS

C.

VECTOR_NORM

D.

VECTOR_EMBEDDING

Full Access
Question # 14

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?

A.

Add the TARGET_ACCURACY clause to the query with a higher value for the accuracy

B.

Change the index type to HNSW for better accuracy

C.

Increase the VECTOR_MEMORY_SIZE initialization parameter

D.

Re-create the index with a higher EFCONSTRUCTION value

Full Access
Question # 15

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?

A.

Enclose vector components in curly braces ({})

B.

As FVEC is a binary format and the vector dimensions have a known width, fixed offsets can be used to make parsing the vectors fast and efficient

C.

Use sparse format for vector data

D.

Rely on SQL*Loader’s automatic normalization of vector data

Full Access
Question # 16

What is the correct order of steps for building a RAG application using PL/SQL in Oracle Database 23ai?

A.

Load ONNX Model, Vectorize Question, Load Document, Split Text into Chunks, Create Embeddings, Perform Vector Search, Generate Output

B.

Load Document, Split Text into Chunks, Load ONNX Model, Create Embeddings, Vectorize Question, Perform Vector Search, Generate Output

C.

Vectorize Question, Load ONNX Model, Load Document, Split Text into Chunks, Create Embeddings, Perform Vector Search, Generate Output

D.

Load Document, Load ONNX Model, Split Text into Chunks, Create Embeddings, VectorizeQuestion, Perform Vector Search, Generate Output

Full Access
Question # 17

You are asked to fetch the top five vectors nearest to a query vector, but only for a specific category of documents. Which query structure should you use?

A.

Use UNION ALL with vector operations

B.

Perform the similarity search without a WHERE clause

C.

Apply relational filters and a similarity search in the query

D.

Use VECTOR_INDEX_HINT and NO WHERE clause

Full Access
Question # 18

What is the default distance metric used by the VECTOR_DISTANCE function if none is specified?

A.

Euclidean

B.

Hamming

C.

Cosine

D.

Manhattan

Full Access