1Z0-1122-26

Free 1Z0-1122-26 practice questions

10 questions from our 1Z0-1122-26 practice tests, each with the correct answer and a written explanation. Read them with the answers shown, or switch to quiz mode and answer first.

Back to the 1Z0-1122-26 practice exams

Question 1 of 10, AI Foundations

A retail manager asks how artificial intelligence, machine learning, and deep learning relate to each other. Which statement describes the relationship correctly?

  1. ADeep learning and machine learning are independent fields that only overlap in computer vision
  2. BMachine learning is a subset of deep learning, and both sit alongside AI as separate disciplines
  3. CDeep learning is a subset of machine learning, which is itself a subset of artificial intelligence Correct answer
  4. DArtificial intelligence is a subset of machine learning that adds rule-based logic on top of models

Answer and explanation: AI is the broad goal of machines performing tasks that need human-like intelligence, ML is the subset that learns from data, and DL is the subset of ML that uses multi-layer neural networks. Machine learning is not inside deep learning; the nesting runs the other way. AI is the umbrella, not a subset of ML, and deep learning is a form of machine learning rather than an independent field limited to vision.

Question 2 of 10, Machine Learning Foundations

What is the main idea behind ensemble methods such as random forests?

  1. ATraining one very deep tree until it fits every example
  2. BLabeling unlabeled data with a single pretrained model
  3. CCombining many models so errors cancel out Correct answer
  4. DRemoving features until only the strongest one remains

Answer and explanation: Ensembles combine predictions from many models, such as many trees in a random forest, which reduces variance and usually improves accuracy. One fully grown tree tends to overfit, keeping one feature discards useful signal, and pseudo-labeling with a single model is a semi-supervised trick rather than an ensemble.

Question 3 of 10, Machine Learning Foundations

During training, a model's training loss keeps falling while its validation loss starts rising after epoch 12. What is the BEST response?

  1. ARemove the validation set and rely on training loss as the main signal
  2. BUse early stopping around the epoch where validation loss was lowest Correct answer
  3. CKeep training for more epochs until the validation loss also falls
  4. DIncrease the learning rate so the model escapes the rising validation loss

Answer and explanation: Diverging training and validation loss means the model has started to overfit, so stopping near the validation minimum keeps the best-generalizing model. More epochs deepen overfitting, a higher learning rate does not address overfitting, and dropping validation removes the only signal that revealed the problem.

Question 4 of 10, Deep Learning Foundations

In a very deep network that uses sigmoid activations, the early layers barely learn because their gradients become tiny. What is this problem called?

  1. AThe exploding learning rate problem
  2. BThe class imbalance problem
  3. CThe cold start problem
  4. DThe vanishing gradient problem Correct answer

Answer and explanation: Repeated multiplication of small sigmoid derivatives shrinks gradients toward zero in early layers, which is the vanishing gradient problem; ReLU, residual connections, and normalization help. The learning rate is a set value rather than something that explodes, cold start concerns recommenders with new users, and class imbalance concerns label distribution.

Question 5 of 10, Deep Learning Foundations

Which loss function is commonly used when training a neural network for multiclass classification?

  1. AHinge loss on regression
  2. BCross-entropy loss Correct answer
  3. CMean absolute error
  4. DMean squared error

Answer and explanation: Cross-entropy compares predicted class probabilities with the true class and is standard for classification with softmax outputs. Mean squared and mean absolute error are typical for regression, and hinge loss is associated with margin classifiers such as SVMs rather than regression.

Question 6 of 10, Generative AI and Large Language Models

A team wants an LLM to always reply in a specific brand voice and output format across thousands of requests, and prompt instructions alone give inconsistent results. Which approach is MOST appropriate?

  1. AUse RAG to retrieve brand guidelines and append them to every prompt
  2. BSwitch to zero-shot prompts without any examples to reduce prompt length
  3. CIncrease the top-p value so the model samples from more candidate tokens
  4. DFine-tune the model on curated examples of the desired style and format Correct answer

Answer and explanation: When behavior such as tone and structure must be consistent and prompting falls short, fine-tuning on curated examples teaches the style directly. RAG is best for injecting knowledge rather than reliably changing style, higher top-p adds variety rather than consistency, and removing examples usually makes formatting less consistent.

Question 7 of 10, Generative AI and Large Language Models. Choose 2.

A legal firm's LLM summaries sometimes cite clauses that do not appear in the contract being summarized. Which TWO changes are MOST likely to reduce these invented clauses? (Choose two.)

  1. ALower the temperature so the model favors its most probable, conservative wording Correct answer
  2. BShorten the contract excerpt to its first page so the prompt uses fewer tokens
  3. CRaise top-p toward 1.0 so the model samples from a wider range of tokens
  4. DSupply the contract text in the prompt and instruct the model to use only that text Correct answer
  5. ERemove the system prompt so the model writes without any formatting rules

Answer and explanation: Grounding the model in the actual contract with an instruction to stay within it, and lowering temperature to reduce creative sampling, both cut down invented content. A wider top-p increases variety, removing the system prompt drops useful constraints, and truncating the contract removes the very clauses the summary needs.

Question 8 of 10, OCI AI Portfolio and Infrastructure

A business analyst using Oracle Analytics Cloud wants to apply ML predictions to a data set without writing code. Which approach fits BEST?

  1. AUse OCI Speech to transcribe the data set into spoken audio
  2. BAsk a DBA to create HNSW vector indexes on the source tables
  3. CUse the built-in ML features in Oracle Analytics Cloud Correct answer
  4. DDeploy an LLM on a bare metal GPU and write a Python client

Answer and explanation: Oracle Analytics includes built-in ML features, such as training and applying models in data flows, aimed at analysts. Vector indexes support similarity search rather than predictions, a self-hosted LLM requires coding and infrastructure, and Speech converts audio and text rather than predicting from data sets.

Question 9 of 10, OCI Generative AI Service and Oracle AI Vector Search

Which statement about customer data in OCI Generative AI is accurate?

  1. AEvery prompt is added to the public base model's training data to improve it for all customers
  2. BPrompts and fine-tuning data are not shared with model providers to train base models Correct answer
  3. CCustomer data must be uploaded to the model provider's own cloud before fine-tuning
  4. DFine-tuned custom models are shared with other tenancies in the same region by default

Answer and explanation: OCI Generative AI is designed so customer prompts, responses, and training data stay within the customer's control and are not used by model providers to train base models; custom models stay private to the tenancy. Sharing prompts publicly, sharing custom models across tenancies, or uploading to the provider's cloud would contradict that design.

Question 10 of 10, OCI AI Services

Which OCI service converts written text into natural-sounding audio, for example to read announcements aloud in an app?

  1. AOCI Vision text detection
  2. BOCI Speech text-to-speech Correct answer
  3. COCI Digital Assistant skills
  4. DOCI Language translation

Answer and explanation: OCI Speech offers text-to-speech in addition to speech-to-text transcription. Language translation converts between languages in text, Vision text detection reads text from images, and Digital Assistant skills handle conversations rather than synthesizing audio.