1Z0-1159-26 Tests SQL-Native Vectors, RAG and Agents — Not Just Embedding Theory
For Oracle developers building AI inside Oracle AI Database 26ai. Vector search is only the start: this 2026 exam also covers Select AI Agent, MCP access and Private Agent Factory, so think in packages, functions and privileges.
Check Your Readiness →Most candidates understand Agentic AI for Oracle AI Database Professional (1Z0-1159-26) concepts — and still fail. This exam tests how you apply knowledge under pressure.
Section names come from a secondary source and Oracle publishes no weights, so cover all six evenly. Expect short SQL or PL/SQL fragments and design constraints: which package, function, index or deployment choice satisfies a privacy, memory or review requirement.
Call a hosted provider through UTL_TO_EMBEDDING with a stored credential
Any external provider receives the input text. Load an ONNX model with DBMS_VECTOR.LOAD_ONNX_MODEL and call VECTOR_EMBEDDING in the INSERT, so embedding runs inside the database boundary.
Recreate the credential with DBMS_VECTOR.CREATE_CREDENTIAL
A host or connection error is not an authorization error. Outside Autonomous AI Database, outbound hosts need network ACL entries as well as a credential. Remember UTL_TO_GENERATE_TEXT only generates; retrieval is a separate similarity query.
Use the default RUNSQL action and log the queries afterwards
SHOWSQL returns the generated SQL without executing it. NARRATE summarises query results and CHAT skips the database entirely. Narrow the profile object list and add comments or annotations rather than renaming cryptic columns.
Increase chunk size and re-embed the manuals
Embeddings blur exact tokens. A hybrid vector index combines Oracle Text keywords with similarity, queried through DBMS_HYBRID_VECTOR.SEARCH, so rare identifiers rank correctly. Bigger chunks mix topics and weaken similarity further.
Sign in as ADMIN and add a system prompt forbidding the pay-rate columns
Prompts are guidance, not enforcement. Use the managed ADB MCP Server with a least-privilege user, focused tools rather than one run-any-SQL tool, and VPD or redaction, with unified auditing recording tool-driven queries.
Oracle returns distances, so smaller means more similar and the best rows come first in ascending order. DOT is the negated dot product for the same reason. VECTOR_NORM returns one vector's magnitude and never compares two items.
The optimizer uses a vector index only when the query metric matches the index's DISTANCE. FETCH APPROX without a matching index silently falls back to an exact scan, so adding the clause alone gives no speed gain.
HNSW graphs live in the vector pool sized by VECTOR_MEMORY_SIZE. IVF, built as NEIGHBOR PARTITIONS around k-means centroids, is disk-based and scales past memory, so enlarging the vector pool never fixes an IVF index.
DBMS_CLOUD_AI holds profiles and SET_PROFILE for natural language to SQL. Tools, agents, tasks and teams live in DBMS_CLOUD_AI_AGENT, tool access is granted on the task, and a team must be activated with SET_TEAM before SELECT AI AGENT.
Each model defines its own vector space, so query and stored vectors must come from one model, and a model change means re-embedding the corpus. Declare the VECTOR column with dimensions matching the model's output.
Strengthen weak areas with exam-style practice questions and detailed explanations.
Simulate the real exam experience and assess your readiness under timed conditions.
Review key concepts, objectives, and exam topics in one place.
Get personalized explanations, learning recommendations, and instant answers.
Follow a structured learning path designed to help you prepare efficiently.
1Z0-1159-26 rewards knowing which Oracle package, index or privilege fits. Test your vector and agent judgement.