0% found this document useful (0 votes)
424 views5 pages

Oracle AI Vector Search Mock Test - Set - 04

The document contains a series of questions related to SQL statements for creating vector tables, functions for vector operations, security enhancements in Exadata, and characteristics of vector indexes. It also discusses methods for similarity searches and the use of embedding models in vector databases. Key topics include the appropriate SQL syntax for vectors, performance trade-offs in searches, and the implications of using local ONNX models.

Uploaded by

RobertJohnson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
424 views5 pages

Oracle AI Vector Search Mock Test - Set - 04

The document contains a series of questions related to SQL statements for creating vector tables, functions for vector operations, security enhancements in Exadata, and characteristics of vector indexes. It also discusses methods for similarity searches and the use of embedding models in vector databases. Key topics include the appropriate SQL syntax for vectors, performance trade-offs in searches, and the implications of using local ONNX models.

Uploaded by

RobertJohnson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

47.

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 stored as 32-bit floating
point numbers. Which SQL statement should you use?
CREATE TABLE vectors (id NUMBER, embedding VECTOR[512]);
CREATE TABLE vectors (id NUMBER, embedding VECTOR[]);
CREATE TABLE vectors (id NUMBER, embedding VECTOR*, INT8);
CREATE TABLE vectors (id NUMBER, embedding VECTOR(512, FLOAT32));

48. Which function should you use to determine the storage format of a vector?
VECTOR_DIMENSION_FORMAT
VECTOR_CHUNKS
VECTOR_NORM
VECTOR_EMBEDDING

49. What security enhancement is introduced in Exadata system software 24ai?


Integration with third party security tool
Enhanced encryption algorithm for data at rest
Snmp security

50. You need to generate a vector from the string "[1, 2, 3, 4]" in FLOAT32 format with 2 dimensions.
Which function will you use?
TO_VECTOR
VECTOR_DISTANCE
FROM_VECTOR
VECTOR_SERIALIZE

51. What is the primary purpose of the VECTOR_EMBEDDING function in Oracle Database 23ai?
To calculate vector dimensions
To calculate vector distances
To serialize vectors into a string
To generate a single vector embedding for data

52. What is a key characteristic of HNSW vector indexes?


They are hierarchical with multilayered connections
They require exact match for searches
They are disk-based structures
They use hash-based clustering

53. What is the primary function of AI Smart Scan in Exadata System Software 24ai?
To provide real-time monitoring and diagnostics for AI applications
To accelerate AI workloads by leveraging Exadata RDMA Memory (XRMEM), Exadata Smart ICache, and on-storage
processing
To automatically optimize database queries for improved performance
54. Which parameter is used to define the number of closest vector candidates considered during
HNSW index creation?
EFCONSTRUCTION
VECTOR_MEMORY_SIZE
NEIGHBOURS
TARGET_ACCURACY

55. 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?
Exact similarity search using flat search
Approximate similarity search with a low target accuracy setting
Relational filtering combined with an exact search
Exact similarity search with a high target accuracy setting

56. Which is a characteristic of an approximate similarity search in Oracle Database 23ai?


It compares every vector in the dataset
It trades off accuracy for faster performance
Always guarantees 100% accuracy
It is slower than exact similarity search

57. Which operation is NOT permitted on tables containing VECTOR columns?


SELECT
UPDATE
DELETE
JOIN ON VECTOR columns

58. You are tasked 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?
Use UNION ALL with vector operation
Perform the similarity search without a WHERE clause
Apply relational filters and a similarity search in the query

59. What is the primary function of an embedding model in the context of vector search?
To define the schema for a vector database
To execute similarity search operations within a database
To transform text or data into numerical vector representations
To store vectors in a structured format for efficient retrieval

60. What is the significance of using local ONNX models for embedding within the database?
Support for legacy SQL*Plus clients
Improved accuracy compared to external models
Reduced embedding dimensions for faster processing
Enhanced security because data remains within the database
61. Which of the following actions will result in an error when using VECTOR_DIMENSION_COUNT() in
Oracle Database 23ai?
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()

62. 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?
Approximate similarity search with the VECTOR_DISTANCE function
Exact similarity search with Euclidean distance
Multivector similarity search with approximate fetching and target accuracy
A combination of relational filters and similarity search

63. 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?
A nested query with ORDER BY
Exact similarity search with a single query vector
GROUP BY with vector operations
FETCH PARTITIONS BY clause

64. What is the primary difference between the HNSW and IVF vector indexes in Oracle Database 23ai?

You might also like