OCI AI Foundations practice questions
Free Oracle Cloud Infrastructure AI Foundations Associate practice, with shuffled choices and an explanation behind every answer. A little practice, a clearer next step.
Loading your practice…
From the videos
These questions come from the course videos. Information as of November 2026.
OCI AI Foundations sample questions
10 of the 152 questions, as plain text. Start a session above for shuffled choices, a score and the reason behind every choice.
Willowmere’s text model needs every customer message as a sequence of the same length. Which step makes the sequences match?
- Sampling
- Pooling
- Diarization
- Padding
Show the answer
Padding
Padding fills the shorter sequences, so that every sequence has the same length. “Sampling” is a step for audio, which measures the sound wave. “Pooling” is a layer of a convolutional network, which shrinks feature maps. And “Diarization” is a speech feature, which tells the speakers apart.
Willowmere’s clustering of its dealerships has no correct answer to compare with. How is the result judged?
- By its accuracy on a labeled test set
- People interpret it, in iterations
- By the reward that each cluster earns
- By the threshold of a sigmoid
Show the answer
People interpret it, in iterations
Unsupervised learning has no ground truth, so people interpret the clusters, and refine the approach in iterations. “By its accuracy on a labeled test set” would need labels, which clustering does not have. “By the reward that each cluster earns” is an idea from reinforcement learning. And “By the threshold of a sigmoid” is an idea from supervised classification.
Which is a known limitation of convolutional networks?
- They cannot find edges or textures
- They only work on text sequences
- They are hard to interpret, like a black box
- They need no data to be trained
Show the answer
They are hard to interpret, like a black box
It is hard to explain how a convolutional network reached a decision, and small changes in an image can fool it. “They cannot find edges or textures” is wrong, since finding edges and textures is what they do best. “They only work on text sequences” is wrong, since they are built for grid data, like images. And “They need no data to be trained” is wrong, since they need a lot of data and computation.
How does Willowmere’s language model know when to stop writing an answer?
- It generates an end of sequence token
- It stops after exactly one hundred tokens
- It stops when the temperature reaches zero
- It stops when the GPU is out of memory
Show the answer
It generates an end of sequence token
The model predicts a special end of sequence token, which ends the answer. “It stops after exactly one hundred tokens” is wrong, since answers have no fixed length. “It stops when the temperature reaches zero” is wrong, since temperature is a fixed setting of the request. And “It stops when the GPU is out of memory” is not how generation ends.
A hospital model trained only on data from one group of patients makes worse predictions for other groups. What is the main issue?
- Too few hidden layers
- Bias in the training data
- A slow cluster network
- A temperature set too low
Show the answer
Bias in the training data
Training data from one group can carry bias, and the model then treats other groups unfairly. “Too few hidden layers” would not explain why only some groups get worse results. “A slow cluster network” would only slow training, not change who gets worse predictions. And “A temperature set too low” is a setting of text generation, unrelated to this model.
Willowmere’s assistant must remember what a customer said two turns ago, in the same conversation. What provides this?
- A rerank model
- A private endpoint
- Short-term memory
- Content moderation
Show the answer
Short-term memory
Short-term memory carries the conversation, for example by passing the previous response ID. “A rerank model” would only reorder documents by relevance. “A private endpoint” is about network traffic, not memory. And “Content moderation” is a guardrail for harmful content.
Willowmere wants to pull the dates, places, and amounts out of each customer email. Which feature fits?
- Sentiment analysis
- Key phrase extraction
- Text classification
- Named entity recognition
Show the answer
Named entity recognition
Named entity recognition finds entities like dates, places, amounts of money, and people. “Sentiment analysis” would tell whether each email is positive or negative. “Key phrase extraction” would pull out the main ideas, not typed entities. And “Text classification” would sort each whole email into a category.
Before a model can learn from Willowmere’s recorded calls, the audio must become numbers. What does sampling do?
- It splits each spoken sentence into word tokens
- It turns each pixel into color values
- It measures the wave many times a second
- It removes the silence between the spoken words
Show the answer
It measures the wave many times a second
Sampling measures the sound wave at regular moments, many thousands of times per second, so the audio becomes a series of numbers. “It splits each spoken sentence into word tokens” is a step for text, which turns words into numbers. “It turns each pixel into color values” would describe images, not sound. And “It removes the silence between the spoken words” is not what sampling does, since it keeps the whole sound.
Two Willowmere customers get a similarity of 0.95, on a scale from zero to one. What does this mean?
- They are very different
- They belong to no cluster
- They are very similar
- One of them has a missing label
Show the answer
They are very similar
A similarity close to one means that the two customers are very alike. “They are very different” would match a similarity close to zero. “They belong to no cluster” would describe outliers, far from every cluster. And “One of them has a missing label” is unrelated, since clustering uses no labels.
Which layers must every one of Willowmere’s neural networks have?
- At least two hidden layers
- A convolution layer
- A softmax layer and a pooling layer
- An input layer and an output layer
Show the answer
An input layer and an output layer
Every network needs an input layer and an output layer, while hidden layers are optional. “At least two hidden layers” is wrong, since hidden layers are optional. “A convolution layer” would only be found in convolutional networks. And “A softmax layer and a pooling layer” would only appear in some networks, like image classifiers.
Original practice questions written for Cert Espresso, not real exam questions.