All Oracle exams
Free Oracle Cloud Infrastructure 2026 AI Foundations Associate practice test: 30 questions with answers
30 original questions for Oracle Cloud Infrastructure 2026 AI Foundations Associate, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 110 questions
Oracle Cloud Infrastructure 2026 AI Foundations Associate exam guide: topics, cost and format
All 30 Oracle Cloud Infrastructure 2026 AI Foundations Associate questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Generative AI and Large Language Models (8 questions)
Question 1
What is a large language model (LLM)?
- AA visualisation tool that draws charts of large datasets for the business users in the reporting team each month
- BA database that stores very large files for the customer's use and provides fast retrieval of the records stored in them
- CA network device that routes very large volumes of traffic between data centres for the cloud provider's own infrastructure
- DA model trained on large amounts of text to predict and generate language, which can answer questions and summarise content
Show answer and explanationHide answer
Correct answer: DAn LLM is trained on large text corpora to predict and generate language. Storage, network devices and charting tools are different technologies.
Question 2
What is a prompt when working with a generative AI model?
- AThe input text or instructions given to a generative model to guide its response
- BA warning message from the database that a query has taken longer than expected to complete during its run
- CThe output of a model after it has been fine-tuned on the customer's own dataset for a new task in the project
- DA password entered by the user to access the generative AI service in the cloud account on each sign-in
Show answer and explanationHide answer
Correct answer: AA prompt is the input or instructions that guide a generative model. Database warnings, fine-tuned outputs and passwords are unrelated.
Question 3
What does retrieval-augmented generation (RAG) do?
- AIt retrains the entire model each time a user asks a question, so that the model always has the newest knowledge available to it
- BIt retrieves relevant documents from a knowledge source and includes them in the prompt, so the model answers from that content
- CIt removes the need for any knowledge source, since the model memorises all of the documents during its training run on them
- DIt replaces the model's output with a fixed list of documents shown to the user in the order that they were originally stored
Show answer and explanationHide answer
Correct answer: BRAG retrieves relevant content and places it in the prompt so answers are grounded in it. Retraining per question, memorising everything and replacing output with document lists are not RAG.
Question 4
What is a hallucination in a generative AI system?
- AA system alert that warns the team that the training job has used more memory than was allocated for it by the platform
- BA visual effect in a chart that makes the data appear three-dimensional on the reporting dashboard used by the team
- CA confident output that is not supported by the source data or facts, and which may be false
- DA feature that lets the model generate images from a text description provided by the user at the start of a session
Show answer and explanationHide answer
Correct answer: CA hallucination is a confident output that is unsupported or false. Chart effects, memory alerts and image generation are unrelated.
Question 5
Which setting helps a model give more controlled or consistent answers?
- ARaising the temperature parameter to its highest value, so that the model varies its output as much as it possibly can
- BLowering the temperature parameter, so the model chooses more likely tokens and produces more consistent output
- CIncreasing the number of tokens in every prompt, so that the model has more to think about each time it is asked a question
- DTurning off the tokeniser, so that the text is not split into units for the model to process in its input layer at all
Show answer and explanationHide answer
Correct answer: BLower temperature makes sampling more deterministic, giving more consistent output. Higher temperature increases variation, while longer prompts and disabling the tokeniser do not make answers more controlled.
Question 6
What is a token in the context of language models?
- AA unit of text, such as a word or a part of a word, that the model processes as input or output
- BA payment credential used to pay for each call to the language model in the cloud account each month of the year
- CA digital signature that proves the model's output was generated by the approved version of the model in the environment
- DA login session that expires after a period of inactivity in the generative AI console used by the staff each working day
Show answer and explanationHide answer
Correct answer: ATokens are the units of text a language model reads and writes. Payment credentials, signatures and login sessions are different things.
Question 7
Which practice improves the quality of prompts for a language model?
- AWriting the prompt in capital letters only, which signals to the model that the request is important to the person asking it
- BStating the task clearly, giving context and examples, and specifying the format of the desired output
- CKeeping the prompt as short as possible, with no context at all, so that the model is not distracted by additional details
- DRepeating the same prompt many times in one request, which the model learns from in order to improve its eventual answer
Show answer and explanationHide answer
Correct answer: BClear tasks, context, examples and output format guide the model to better answers. Capitals, minimal prompts and repetition do not improve the quality of the response.
Question 8
Which two statements about prompting and fine-tuning are correct? (Choose two.)
- APrompting changes the model's input without changing the model's weights
- BFine-tuning changes the model's weights using additional training examples for a specific task or domain
- CPrompting requires training the model on new data for each user question that is asked of the system
- DFine-tuning is needed for every question a user asks the model in production, since the answers are otherwise unreliable
- EPrompting permanently alters the model's knowledge for all future users of the system in the organisation
Show answer and explanationHide answer
Correct answer: A, BPrompting shapes the input without changing weights, and fine-tuning updates weights with examples. Retraining per question, mandatory fine-tuning and permanent prompt changes are all incorrect.
AI and Machine Learning Fundamentals (8 questions)
Question 9
Which type of machine learning learns from labelled examples in order to predict a known output?
- ASupervised learning, which learns a mapping from labelled inputs to known outputs
- BUnsupervised learning, which finds structure in unlabelled data without any known output that the model must predict
- CReinforcement learning, which learns from rewards and penalties received after taking actions within an environment
- DClustering alone, which groups similar items together but never predicts a labelled outcome from the examples it is given
Show answer and explanationHide answer
Correct answer: ASupervised learning uses labelled examples to learn how inputs map to known outputs. Unsupervised learning and clustering work without labelled outputs, and reinforcement learning learns from rewards rather than labels.
Question 10
What is overfitting?
- AA model that fits the training data too closely and therefore performs poorly on new, unseen data
- BA model that is too simple to capture the patterns present in either the training data or in new data that it sees later
- CA model that has been trained on too little data, so that it has not yet had the chance to learn the training patterns
- DA model whose predictions are always correct on the data it sees, which is taken as a sign of excellent performance in use
Show answer and explanationHide answer
Correct answer: AOverfitting means memorising the training data so that generalisation to new data suffers. Underfitting, too little training and perfect training results are different situations.
Question 11
Which metric is most suitable for evaluating a regression model that predicts house prices?
- AMean absolute error or root mean squared error, which measure the size of the differences between predicted and actual values
- BAccuracy, which measures the proportion of correct class labels and suits classification tasks rather than numeric prediction tasks
- CPrecision, which measures the share of positive predictions that were correct in a binary classification task over the period
- DThe confusion matrix count of true positives, which is designed for clustering problems rather than for numeric prediction tasks
Show answer and explanationHide answer
Correct answer: ARegression is evaluated with error measures on numeric predictions such as mean absolute error or RMSE. Accuracy, precision and true-positive counts are classification measures.
Question 12
What is the purpose of splitting data into training and test sets?
- ATo evaluate the model on data it did not learn from, which gives an honest estimate of its performance
- BTo make the training run faster by removing half of the records from the dataset before the model learns from any of them
- CTo store the model's predictions in a separate table for the reporting team to review each week during the reporting cycle
- DTo remove the labels from the data so that the model cannot see the answers during its training run on the data
Show answer and explanationHide answer
Correct answer: AA held-out test set measures performance on data the model has not learned from. Removing records to speed training, storing predictions and removing labels do not give that honest estimate.
Question 13
Which neural network type is most commonly used for image data?
- ALinear regression with one input variable, which is used to classify the pixels of photographs directly in the system
- BRecurrent networks with no memory of earlier inputs, which are used mainly for storing static tables of values
- CDecision trees with a single split per node, which are used to draw diagrams of images for documents in the office
- DConvolutional neural networks, which apply learned filters across spatial data such as images
Show answer and explanationHide answer
Correct answer: DConvolutional networks learn spatial filters that suit images. Recurrent networks, single-split trees and single-variable regression are not the usual choice for images.
Question 14
What is a feature in a machine learning dataset?
- AThe label or target value that the model is trained to predict for each record in the dataset as a whole
- BAn input variable used by the model to make a prediction
- CThe name of the algorithm chosen for training the model in the project each time that the training job is run
- DThe file format in which the training data is stored on the disk of the storage service used by the team
Show answer and explanationHide answer
Correct answer: BA feature is an input variable the model uses to predict. The label is the target, while algorithm names and file formats are other things.
Question 15
Which two statements about machine learning are correct? (Choose two.)
- AModel performance should be checked on held-out data before a model is used in production
- BA model that is accurate on its training data is always ready for production without any testing
- CMore relevant, good-quality training data generally helps a model generalise to new cases
- DDeep learning is required for every machine learning task, including simple predictions made from tabular data
- EBias in the training data cannot affect a model's predictions once the model has been trained on that data
Show answer and explanationHide answer
Correct answer: A, CChecking performance on held-out data before production, and using relevant good-quality data to aid generalisation, are sound practice. Training accuracy alone, mandatory deep learning and immunity to bias are incorrect.
Question 16
Which two activities are part of a typical machine learning workflow? (Choose two.)
- APreparing and cleaning the data before training the model on it
- BDeploying the model to production before any evaluation has been carried out on its results at all
- CEvaluating the model's performance and tuning its parameters or features based on what the results show
- DDeleting the training data immediately after the first training run is completed, to reduce the storage costs
- EWriting the model's predictions on paper before the data is loaded into any computing system at all for the project
Show answer and explanationHide answer
Correct answer: A, CData preparation and evaluation with tuning are core steps in the workflow. Deploying before evaluation, deleting data immediately and paper predictions are not part of the normal process.
OCI AI Services (7 questions)
Question 17
Which OCI AI service extracts text from images and scanned documents?
- AOCI Compute, which provides virtual machines but has no built-in document text extraction capability of its own
- BOCI Object Storage, which keeps the files that customers upload but does not read or interpret their content in any way
- COCI Network Firewall, which filters network traffic but does not read the content of documents passing through it at all
- DOCI Vision with text recognition, or Document Understanding for structured extraction from documents
Show answer and explanationHide answer
Correct answer: DOCI Vision provides text recognition and Document Understanding extracts structured data from documents. Storage, firewalls and compute do not interpret document content.
Question 18
Which OCI AI service converts spoken audio into text?
- AOCI Vision, which analyses images and video frames rather than audio recordings captured from the user's device or call
- BOCI Language, which analyses written text for sentiment and entities but does not process audio input directly from users
- COCI Speech, which transcribes audio into text for applications that need speech as an input to their processing
- DOCI Data Science, which provides notebooks for building models but is not a speech transcription service in its own right
Show answer and explanationHide answer
Correct answer: COCI Speech performs transcription of audio. Language analyses text, Vision analyses images, and Data Science is a model-building environment.
Question 19
Which service detects sentiment and named entities in text?
- AOCI Vision, which analyses the visual content of images and does not process written text for sentiment in any way
- BOCI Speech, which converts speech to text and cannot analyse the sentiment of written documents directly in the workflow
- COCI Language, which provides text analysis such as sentiment, key phrases and named entity recognition
- DOCI Block Volumes, which provide storage for databases and do not analyse the content of text in any form at all
Show answer and explanationHide answer
Correct answer: COCI Language performs sentiment analysis and entity recognition on text. The other services work on speech, images or storage rather than text analysis.
Question 20
Which OCI service is designed for building, training and deploying machine learning models?
- AOCI Load Balancer, which distributes incoming traffic across backend servers in order to maintain the availability of a service
- BOCI Data Science, which provides notebooks, managed compute and model deployment for machine learning work
- COCI DNS, which resolves domain names to IP addresses for clients that make requests to the cloud services from their devices
- DOCI Email Delivery, which sends transactional email from applications to the people who use those applications each day
Show answer and explanationHide answer
Correct answer: BOCI Data Science supports the full model workflow, from notebooks to deployment. Load balancing, DNS and email delivery are important cloud services but are not model-building platforms.
Question 21
Which concept describes adapting a model trained on a large dataset to a new but related task with less data?
- AOverfitting, which makes a model perform well only on its training data and poorly on new data that it has not seen before
- BTransfer learning, which adapts a model trained on a large dataset to a new but related task
- CFeature deletion, which removes inputs from the dataset to make the training faster on smaller hardware in the environment
- DData labelling, which adds the correct answers to records so that a supervised model can learn from them during training
Show answer and explanationHide answer
Correct answer: BTransfer learning reuses a pre-trained model for a related task, which reduces the data needed. Overfitting, feature deletion and labelling describe other concepts.
Question 22
Which two statements about OCI AI services are correct? (Choose two.)
- APre-built AI services can be called through APIs without the customer building a model from scratch
- BPre-built AI services require the customer to design its own neural network architecture before any call can be made
- CAI services can be used together with other OCI services, such as Object Storage, in a single processing workflow
- DAI services are available only on-premises and cannot be used from the cloud at any point in the workflow or in practice
- EAI services never process personal data, so no data protection controls are needed when they are used by the business
Show answer and explanationHide answer
Correct answer: A, CPre-built services are called through APIs and combine with other OCI services in workflows. Architecture design, on-premises-only availability and exemption from data protection are incorrect.
Question 23
Which OCI AI service identifies objects in images, such as detecting products on a shelf?
- AOCI Language, which analyses written text for sentiment, key phrases and entities but does not process images at all
- BOCI Speech, which converts spoken audio into text for applications that accept voice commands from their users each day
- COCI Vision, which provides image analysis such as object detection and image classification
- DOCI File Storage, which provides shared file systems for applications but does not analyse the images stored on them
Show answer and explanationHide answer
Correct answer: COCI Vision provides object detection and image classification. Speech, Language and File Storage do not analyse images.
Oracle Database 23ai and Vector Search (7 questions)
Question 24
What is a vector embedding?
- AA security token used to sign requests to the database from the application each time that it connects to the database
- BA vector drawing file format used for logos and icons that the design team stores in the team's shared repository for use
- CA list of the database tables that are linked together by foreign keys in the schema of the application database used
- DA numeric representation of data such as text, which captures its meaning so that similar items sit close together
Show answer and explanationHide answer
Correct answer: DEmbeddings are numeric vectors that represent meaning, so that similarity can be measured. Drawing formats, table lists and security tokens are unrelated.
Question 25
What does vector search find?
- AFiles whose names begin with a particular prefix, which lists the files that the user has created recently in the folder
- BRows that contain an exact match on a text string, which is the same thing as a standard keyword search on the table
- CStored items whose embeddings are most similar to the embedding of the query, ranked by a similarity measure
- DTables that are empty, so that the database administrator can remove them from the schema during the cleanup work
Show answer and explanationHide answer
Correct answer: CVector search ranks stored items by the similarity of their embeddings to the query. Exact keyword matches, filename prefixes and empty tables are different searches.
Question 26
Which Oracle Database release adds a native vector data type and vector search capabilities?
- AOracle Database 11g, which introduced the partitioning feature for large tables that are used in the reporting workloads
- BOracle Database 9i, which introduced the first version of the web interface that was used for database administration
- COracle Database 10g, which introduced grid computing for high availability across multiple servers in the data centre
- DOracle Database 23ai, which adds the vector data type and the vector search features to the database
Show answer and explanationHide answer
Correct answer: DOracle Database 23ai introduced the native vector data type and AI vector search. The earlier releases named here predate those features.
Question 27
Why is vector search used alongside an LLM in a RAG solution?
- ATo encrypt the prompt before it is sent to the model, which protects the question from being read by anyone in transit
- BTo replace the LLM entirely, since vector search can generate fluent natural language answers on its own without a model
- CTo find the most relevant passages from enterprise data, which are then supplied to the LLM as context for its answer
- DTo store the model's weights, which are too large to keep on the file system of the application server in the environment
Show answer and explanationHide answer
Correct answer: CIn RAG, vector search finds relevant enterprise passages that the LLM uses as context. Vector search does not generate language, encrypt prompts or store model weights.
Question 28
Which practice keeps enterprise data secure when vector search is used with an LLM?
- AStoring embeddings in a public bucket so that other applications can reuse them without asking for permission from the owner
- BSending all enterprise documents to a public model endpoint so that the model can search them more widely on the internet
- CApplying the same access controls to retrieved passages as to the source data, so users see only what they are allowed to see
- DDisabling authentication on the database so that the vector search can run faster for the application users during the day
Show answer and explanationHide answer
Correct answer: CRetrieved passages must respect the same permissions as the source data, otherwise retrieval becomes a leak. Public endpoints, public buckets and disabled authentication each expose data.
Question 29
What does a vector database index primarily optimise?
- AThe number of users who can sign in to the database at the same time during the peak period of business activity each day
- BThe speed of writing a single row to a table of business records during the batch process that runs each night in the database
- CThe compression of text documents before they are stored in the file system of the database server in the data centre
- DThe speed of similarity search over large collections of vectors
Show answer and explanationHide answer
Correct answer: DA vector index speeds up similarity search over large vector collections. Batch writes, document compression and concurrent sign-ins are different database concerns.
Question 30
Which SQL feature lets a query compute the similarity between a stored vector and a query vector?
- AA vector distance function, such as cosine or Euclidean distance, used in the SELECT or ORDER BY clause of the query
- BA string function that trims spaces from the ends of text values stored in the business tables, for the report output
- CA date function that returns the current time in the database session, for the audit record that is written each time
- DA sequence object that generates unique numbers for new rows inserted into the table by the application each day of use
Show answer and explanationHide answer
Correct answer: AA vector distance function computes similarity between vectors in SQL. String, date and sequence functions do not compare vectors.