Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 (1Z0-1127) — Questions 376450

500 questions total · 7pages · All types, answers revealed

Page 5

Page 6 of 7

Page 7
376
MCQeasy

A developer is using the OCI Generative AI API to generate text. The responses are often too short and incomplete. Which parameter adjustment is most likely to produce longer, more complete responses?

A.Decrease the max_tokens parameter.
B.Increase the max_tokens parameter.
C.Increase the top_p parameter.
D.Decrease the frequency_penalty parameter.
AnswerB

Increasing max_tokens gives the model more room to generate a complete response, directly addressing the issue of short outputs.

Why this answer

The max_tokens parameter controls the maximum number of tokens (words or subwords) the model can generate in a single response. By increasing max_tokens, the model is allowed to produce longer sequences, which directly addresses the issue of responses being too short and incomplete. In the OCI Generative AI API, this is the primary parameter for capping output length.

Exam trap

Oracle often tests the distinction between parameters that control output length (max_tokens) versus those that control output diversity or repetition (top_p, frequency_penalty), leading candidates to confuse 'more complete' with 'more creative' or 'less repetitive'.

How to eliminate wrong answers

Option A is wrong because decreasing max_tokens would further restrict the output length, making responses even shorter and more incomplete. Option C is wrong because increasing top_p adjusts nucleus sampling (the cumulative probability threshold for token selection) to control randomness and diversity, not the length of the output. Option D is wrong because decreasing frequency_penalty reduces the penalty for repeating tokens, which may increase repetition but does not directly extend the overall length or completeness of the response.

377
MCQmedium

Refer to the exhibit. A user in group GenAIGroup cannot see models in the Production compartment using OCI Generative AI. What is the most likely issue?

A.Statement should be 'use' instead of 'read'
B.Missing 'inspect' permission
C.Policy syntax incorrect (missing quotes)
D.Resource type should be 'generative-ai-model'
AnswerD

The correct resource type is 'generative-ai-model' for OCI Generative AI models.

Why this answer

The resource type in the policy is specified as 'oci-generativeai:model' but the correct resource type for OCI Generative AI models is 'generative-ai-model'. The policy syntax is invalid, so access is denied. Option B is correct.

378
Multi-Selectmedium

Which THREE are valid considerations when designing a RAG pipeline that uses OCI Generative AI and OCI OpenSearch? (Choose three.)

Select 3 answers
A.OCI OpenSearch only supports Euclidean distance for vector similarity.
B.Each document must be converted to a single vector for efficient retrieval.
C.The quality of the text extraction from OCI Document Understanding directly impacts retrieval accuracy.
D.The generation model's context window size limits the number of chunks that can be included in the prompt.
E.The chunk size and overlap must be tuned based on the document type and query patterns.
AnswersC, D, E

Poor extraction leads to noisy embeddings and irrelevant results.

Why this answer

Option C is correct because OCI Document Understanding performs text extraction from documents (e.g., PDFs, images). If the extraction is poor (e.g., missing text, OCR errors), the resulting chunks will be inaccurate, directly degrading the quality of vector embeddings and thus retrieval accuracy in the RAG pipeline.

Exam trap

Oracle often tests the misconception that vector databases only support one similarity metric (like Euclidean) or that documents must be stored as single vectors, when in practice they support multiple metrics and chunking is essential for effective retrieval.

379
MCQhard

A RAG system returns irrelevant chunks even though the embedding model and vector index are correctly configured. After reviewing, the chunks are too large and contain extraneous information. Which combination of adjustments should be made to improve relevance?

A.Increase chunk overlap only.
B.Decrease chunk size and increase chunk overlap.
C.Use semantic chunking and adjust topK.
D.Reduce chunk size, increase overlap, and adjust topK.
AnswerD

All three adjustments can help refine the retrieved context.

Why this answer

Adjusting chunk size, chunk overlap, and topK all influence retrieval quality. A holistic tuning is often needed to address irrelevant chunks.

380
MCQhard

A financial company deploys a generative AI model for document analysis. They need to ensure that the model does not expose sensitive information in its responses. Which OCI service should they use to implement content filtering?

A.OCI Data Safe
B.OCI Vault
C.OCI WAF
D.OCI AI Content Moderation
AnswerD

This service can filter sensitive content in model inputs and outputs.

Why this answer

OCI AI Content Moderation is the correct service because it provides pre-trained models and APIs specifically designed to detect and filter sensitive content such as personally identifiable information (PII), profanity, and other unsafe text in generative AI outputs. This allows the financial company to enforce content safety policies on document analysis responses, preventing exposure of sensitive information.

Exam trap

The trap here is that candidates often confuse security services like Data Safe or Vault with content moderation, assuming any 'security' service can filter AI outputs, but OCI AI Content Moderation is the only service purpose-built for analyzing and filtering the semantic content of text generated by AI models.

How to eliminate wrong answers

Option A is wrong because OCI Data Safe is a database security service focused on data masking, auditing, and user risk assessment for Oracle databases, not for filtering content generated by AI models. Option B is wrong because OCI Vault is a key management service for storing and managing encryption keys and secrets, not for content moderation or filtering of AI responses. Option C is wrong because OCI WAF (Web Application Firewall) protects web applications from common attacks like SQL injection and cross-site scripting at the HTTP/HTTPS layer, but it does not inspect or filter the semantic content of generative AI outputs.

381
MCQmedium

An application using OCI Generative AI produces inconsistent responses to the same user query. The developer suspects the model's output variability is too high. Which parameter adjustment would most directly reduce output randomness?

A.Increase the max tokens parameter.
B.Increase the top_p parameter.
C.Change the model to a smaller variant.
D.Decrease the temperature parameter.
AnswerD

Lower temperature reduces randomness, making responses more consistent.

Why this answer

Temperature directly controls the randomness of token sampling in the model's output distribution. Lowering temperature (e.g., from 0.7 to 0.2) makes the model more deterministic by concentrating probability mass on the most likely next tokens, thus reducing output variability for the same query.

Exam trap

The trap here is that candidates often confuse top_p and temperature, assuming both control randomness similarly, but top_p controls the diversity of the candidate pool while temperature directly sharpens or flattens the probability distribution.

How to eliminate wrong answers

Option A is wrong because increasing max tokens only extends the length limit of the response, not the randomness of token selection; it can even introduce more variability by allowing longer, less constrained sequences. Option B is wrong because increasing top_p (nucleus sampling) expands the cumulative probability threshold for token selection, which actually increases randomness by allowing more low-probability tokens to be considered. Option C is wrong because changing to a smaller variant may reduce model capacity and coherence, but it does not directly control the sampling randomness; variability can persist or even increase due to less confident probability distributions.

382
MCQhard

A company is using OCI Generative AI service to power a customer support chatbot. They observe that the chatbot sometimes provides outdated information because the model was trained on data up to 2022. They want to incorporate real-time knowledge without retraining the model. Which approach should they use?

A.Increase the max-tokens parameter to allow longer responses.
B.Use prompt engineering to instruct the model to ignore old information.
C.Implement a Retrieval-Augmented Generation (RAG) pattern using OCI OpenSearch.
D.Fine-tune the model with recent data from 2023 onwards.
AnswerC

RAG retrieves relevant up-to-date documents and feeds them to the model, enabling current responses without retraining.

Why this answer

Option C is correct because Retrieval-Augmented Generation (RAG) allows the model to access real-time information from an external knowledge base, such as OCI OpenSearch, without retraining. This pattern retrieves relevant documents or data at inference time and injects them into the prompt, enabling the model to answer with up-to-date context. It directly addresses the need for real-time knowledge while keeping the base model static.

Exam trap

The trap here is that candidates often confuse prompt engineering (Option B) as a way to 'override' training data, but in reality, prompt instructions cannot erase the model's learned parameters, making RAG the only viable solution for real-time knowledge without retraining.

How to eliminate wrong answers

Option A is wrong because increasing max-tokens only extends the length of the response, not the recency or accuracy of the information; it does not provide any mechanism to incorporate new data. Option B is wrong because prompt engineering cannot force the model to 'ignore' outdated training data; the model's parametric knowledge is fixed and cannot be selectively suppressed by instructions alone, leading to hallucinations or contradictions. Option D is wrong because fine-tuning requires retraining the model on new data, which contradicts the requirement to avoid retraining and is also resource-intensive and time-consuming.

383
Multi-Selecthard

Which THREE of the following are known limitations of large language models that practitioners must consider?

Select 3 answers
A.Hallucination of facts not present in the input.
B.Generation of toxic or harmful language.
C.Limited to processing only one language at a time.
D.Bias amplification from training data.
E.Inability to process inputs longer than a few hundred tokens.
AnswersA, B, D

LLMs often generate plausible but false information.

Why this answer

Option A is correct because large language models (LLMs) are prone to hallucination, where they generate plausible-sounding but factually incorrect information that was not present in the input. This occurs because LLMs are next-token predictors without a built-in fact-checking mechanism, and they can invent details, citations, or events to maintain coherence. Practitioners must implement retrieval-augmented generation (RAG) or external verification to mitigate this risk.

Exam trap

Oracle often tests the misconception that LLMs have a hard token limit of a few hundred tokens, but the trap is that modern models have large context windows (e.g., 128K tokens) and the real limitation is the quadratic computational cost of attention, not a strict inability to process longer inputs.

384
MCQhard

An architect needs to ensure that an LLM deployed in OCI does not reveal sensitive information in its outputs. Which technique should be used?

A.Limiting max tokens
B.OCI Data Safe masking
C.Output filtering via custom inference wrapper
D.Input sanitization
AnswerC

A custom wrapper can filter outputs to remove sensitive information.

Why this answer

Option C is correct because output filtering via a custom inference wrapper allows the architect to inspect and sanitize the model's generated text before it reaches the user, preventing the leakage of sensitive information such as PII, credentials, or internal data. This technique operates at the application layer, intercepting the LLM's response and applying rules or regex patterns to redact or block prohibited content, which is essential for compliance and data security in production deployments.

Exam trap

Oracle often tests the distinction between input-side controls (like sanitization) and output-side controls (like filtering), and the trap here is that candidates confuse input sanitization with output filtering, assuming that cleaning the input is sufficient to prevent data leakage from the model's training or internal knowledge.

How to eliminate wrong answers

Option A is wrong because limiting max tokens only restricts the length of the output, not its content, and does nothing to prevent sensitive information from appearing within the allowed token count. Option B is wrong because OCI Data Safe masking is designed for structured databases and relational data, not for unstructured text generated by an LLM; it cannot be applied to model outputs in real-time. Option D is wrong because input sanitization focuses on cleaning user prompts before they reach the model, which is important for prompt injection prevention but does not control what the model generates in its response.

385
MCQeasy

An organization wants to fine-tune a large language model on OCI using their proprietary data. They are concerned about data privacy and want to ensure that fine-tuning data does not leave the OCI region. Which OCI service should they use to securely store and manage their training data?

A.OCI Block Volume
B.OCI File Storage
C.OCI Object Storage
D.Oracle Autonomous Database
AnswerC

Object Storage provides secure, regional storage ideal for large datasets.

Why this answer

C is correct because OCI Object Storage is a regional service that stores data within a specific OCI region, ensuring that fine-tuning data does not leave that region. It provides secure, durable, and scalable storage for large datasets, such as training data for LLMs, with encryption at rest and in transit, and supports direct integration with OCI Data Science and Generative AI services for fine-tuning workflows.

Exam trap

Oracle often tests the misconception that any storage service can be used for data residency, but the trap here is that Block Volume and File Storage are compute-attached services that do not inherently enforce regional data boundaries for data at rest across multiple services, while Object Storage is the only regional service designed for secure, scalable, and region-bound storage of unstructured data like LLM training datasets.

How to eliminate wrong answers

Option A is wrong because OCI Block Volume is a block-level storage service attached to compute instances, designed for low-latency, persistent storage for databases or applications, but it is not a regional service for storing and managing large training datasets; it is tied to a specific compute instance and does not inherently enforce regional data residency for data at rest across multiple services. Option B is wrong because OCI File Storage is a network file system (NFS) service for shared file access across compute instances, but it is not optimized for large-scale object storage of training data and does not provide the same regional data residency guarantees as Object Storage; it is typically used for shared file systems, not as a primary store for fine-tuning datasets. Option D is wrong because Oracle Autonomous Database is a managed database service for transactional and analytical workloads, not designed for storing large unstructured datasets like LLM training data; it is optimized for structured data and SQL queries, and using it for fine-tuning data would be inefficient and misaligned with the data storage requirements for generative AI training.

386
MCQhard

An enterprise with strict data residency requirements wants to use OCI Generative AI. They must ensure that no training data or inference data leaves a specific OCI region. Which configuration option should they choose?

A.Use a dedicated AI cluster in the desired region and disable cross-region access.
B.Configure a service gateway with a private endpoint.
C.Implement a policy restricting data transfer via OCI Identity and Access Management.
D.Use OCI Data Transfer Service to keep data within the region.
AnswerA

Dedicated clusters are region-specific and can be restricted to prevent cross-region data flow.

Why this answer

A dedicated AI cluster in the desired region, with cross-region access disabled, ensures that all compute, training data, and inference data remain physically within that OCI region. This satisfies strict data residency requirements because the cluster is isolated from other regions at the network and infrastructure level, preventing any data egress.

Exam trap

The trap here is that candidates confuse network-level controls (like service gateways or private endpoints) with data residency enforcement, but only a dedicated, region-locked compute cluster guarantees that no data leaves the specified region.

How to eliminate wrong answers

Option B is wrong because a service gateway with a private endpoint only provides private connectivity within a VCN and does not prevent data from being processed or stored in other regions; it does not enforce regional data residency. Option C is wrong because OCI IAM policies control user permissions and resource access, not the physical location or movement of data between regions. Option D is wrong because OCI Data Transfer Service is designed for offline bulk data migration and does not provide ongoing control over where inference or training data resides during active AI workloads.

387
Multi-Selectmedium

A DevOps engineer is setting up monitoring and logging for a generative AI inference endpoint. Which three resources should they enable? (Select THREE.)

Select 3 answers
A.OCI VCN flow logs for network traffic
B.OCI Logging for inference requests and responses
C.OCI Monitoring metrics for endpoint latency and error rates
D.OCI Application Performance Monitoring (APM) for tracing inference requests
E.OCI Audit logs for all API calls
AnswersB, C, D

Correct: Logging allows auditing and debugging of inference calls.

Why this answer

Option B is correct because OCI Logging captures detailed logs of inference requests and responses, which is essential for auditing, debugging, and analyzing the behavior of a generative AI endpoint. This service provides a centralized repository for log data, enabling DevOps engineers to track input prompts and model outputs for compliance and troubleshooting purposes.

Exam trap

The trap here is that candidates may confuse OCI Audit logs (which track administrative API calls) with OCI Logging (which captures data-plane request/response details), leading them to select Audit logs instead of Logging for monitoring inference payloads.

388
Multi-Selecteasy

Which TWO of the following are best practices for building a RAG pipeline in OCI?

Select 2 answers
A.Use overlapping chunks
B.Always use exact vector search for accuracy
C.Use a pre-trained embedding model from OCI Generative AI
D.Avoid storing metadata alongside vectors
E.Use a single large chunk for each document
AnswersA, C

Overlapping chunks preserve context across boundaries, improving retrieval.

Why this answer

Overlapping chunks improve context preservation, and using a pre-trained embedding model provides a strong baseline for retrieval.

389
MCQeasy

A company is building a RAG application for customer support. The knowledge base includes documents in English, Spanish, and French. Which embedding model should they use from OCI Generative AI to ensure accurate retrieval across all languages?

A.cohere.embed-multilingual-light-v3.0
B.cohere.generate-english-v2:0
C.cohere.embed-english-light-v3.0
D.cohere.command-r-plus-v1:0
AnswerA

This multilingual embedding model is designed to handle multiple languages, providing accurate retrieval for the company's needs.

Why this answer

Option B is correct because the cohere.embed-multilingual-light-v3.0 model supports multiple languages, making it suitable for multilingual retrieval. Option A is wrong because it is English-only. Option C is wrong because it is Cohere's command model, not an embedding model.

Option D is wrong because it is a text generation model, not an embedding model.

390
MCQmedium

A machine learning engineer is fine-tuning a model on OCI Data Science and notices that the training loss decreases but then suddenly increases. What is the most likely cause?

A.Reduce model size
B.Add dropout
C.Increase batch size
D.Increase learning rate
AnswerA

Reducing model size reduces capacity and helps prevent overfitting, making it the best solution among given options.

Why this answer

The sudden increase in training loss after a period of decrease is a classic sign of gradient explosion, often caused by an excessively large learning rate. When the learning rate is too high, the optimizer overshoots the minima, causing the loss to diverge. Reducing the learning rate stabilizes training by ensuring smaller, more controlled weight updates.

Exam trap

Oracle often tests the misconception that overfitting is the cause of loss divergence, leading candidates to choose regularization techniques like dropout, when the actual issue is an unstable learning rate causing gradient explosion.

How to eliminate wrong answers

Option A is correct because reducing the model size does not directly address the loss divergence caused by an overly large learning rate; it may even reduce capacity. Option B is wrong because adding dropout is a regularization technique to prevent overfitting, not to fix gradient explosion or learning rate issues. Option C is wrong because increasing batch size can improve gradient stability but does not prevent the loss from spiking due to a high learning rate.

Option D is wrong because increasing the learning rate would exacerbate the problem, making the loss diverge further.

391
MCQhard

A research institution uses OCI Data Flow to process large-scale document corpora for a RAG system. They want to minimize latency for end-user queries. Which architecture decision would most effectively reduce query latency?

A.Embed documents on-the-fly during query time to ensure freshness.
B.Use a larger, more accurate embedding model.
C.Increase the number of Spark workers for parallel processing of queries.
D.Precompute embeddings offline using OCI Data Flow and store them in an OCI OpenSearch index.
AnswerD

Precomputation removes runtime embedding cost.

Why this answer

Precomputing embeddings offline with OCI Data Flow and storing them in an OCI OpenSearch index eliminates the need to generate embeddings at query time, which is the primary source of latency. This approach shifts the computationally expensive embedding generation to a batch process, allowing queries to perform only a fast vector similarity search against the precomputed index, drastically reducing end-user response time.

Exam trap

The trap here is that candidates often confuse batch processing with real-time processing, assuming that more parallelism (Option C) or a better model (Option B) can solve latency issues, when in fact the fundamental latency reduction comes from moving the expensive embedding computation out of the query path entirely.

How to eliminate wrong answers

Option A is wrong because embedding documents on-the-fly during query time introduces significant latency, as the embedding model must process each document in real time, which is impractical for large-scale corpora and defeats the purpose of minimizing query latency. Option B is wrong because using a larger, more accurate embedding model increases the computational cost and time for each embedding generation, which would actually increase latency rather than reduce it, especially if done at query time. Option C is wrong because increasing the number of Spark workers for parallel processing of queries does not address the bottleneck of embedding generation; Spark workers are used for batch processing in OCI Data Flow, not for real-time query serving, and adding more workers would not reduce the latency of the embedding step itself.

392
MCQhard

An OCI GenAI model generates English to French translation. Which metric is most appropriate to evaluate its quality?

A.Perplexity
B.ROUGE
C.F1 score
D.BLEU
AnswerD

BLEU is the standard metric for translation tasks.

Why this answer

BLEU (Bilingual Evaluation Understudy) is the standard metric for machine translation tasks because it measures the n-gram overlap between the generated translation and one or more reference translations, directly assessing fluency and adequacy. For English-to-French translation, BLEU correlates well with human judgment of translation quality, making it the most appropriate choice.

Exam trap

Oracle often tests the distinction between metrics for generation tasks (BLEU for translation, ROUGE for summarization, perplexity for language modeling) and classification metrics (F1 score), leading candidates to confuse their appropriate domains.

How to eliminate wrong answers

Option A is wrong because perplexity measures how well a language model predicts a sequence of tokens, not the quality of a translation against a reference. Option B is wrong because ROUGE is designed for summarization tasks, focusing on recall of n-grams and longest common subsequences, not translation accuracy. Option C is wrong because F1 score is a classification metric (precision and recall) that does not capture the sequential and lexical alignment required for evaluating translation output.

393
MCQmedium

A company wants to use OCI Generative AI to analyze legal documents and extract key clauses. Which model type is best suited for this task?

A.Cohere Command (generate)
B.Cohere Chat
C.Cohere Embed
D.Cohere Summarize
AnswerD

Summarize models are optimized for condensing content, suitable for extracting key clauses.

Why this answer

Cohere Summarize is specifically designed to condense long documents into concise summaries, making it ideal for extracting key clauses from legal documents. Unlike other Cohere models, Summarize focuses on distilling the most important information from text, which aligns with the task of identifying and extracting critical clauses.

Exam trap

Oracle often tests the misconception that any generative model can perform extraction tasks, but the key distinction is that Cohere Summarize is purpose-built for condensation and extraction, whereas other models are designed for generation, conversation, or embedding.

How to eliminate wrong answers

Option A is wrong because Cohere Command (generate) is a text generation model for creating new content, not for extracting or summarizing existing information. Option B is wrong because Cohere Chat is optimized for conversational interactions and multi-turn dialogue, not for document analysis or clause extraction. Option C is wrong because Cohere Embed generates vector embeddings for semantic search or clustering, but does not perform text extraction or summarization.

394
MCQeasy

Your organization uses OCI Data Science to train a generative AI model for code generation. After training, you want to deploy it as a REST API. You create a model deployment using the OCI console, but after 30 minutes the deployment status is still 'Creating'. You check the logs and see the message: 'Insufficient capacity for shape VM.GPU.A10.1 in availability domain AD-1'. The deployment is configured with a single replica. You have verified your tenancy has sufficient service limits for GPU instances. What should you do to resolve this issue quickly?

A.Change the deployment to use a different GPU shape, such as VM.GPU.A10.2
B.Delete the deployment and create it in a different region with more GPU capacity
C.Request a service limit increase for GPU shapes
D.Wait for 1 hour and check again; capacity may become available
AnswerA

A different GPU shape may have available capacity in the same availability domain.

Why this answer

Option A is correct because the error indicates that the specific GPU shape VM.GPU.A10.1 lacks capacity in the current availability domain. Switching to a different GPU shape, such as VM.GPU.A10.2, which uses a different instance configuration, can bypass the capacity constraint without requiring a region change or service limit increase. This is the fastest resolution because it directly addresses the availability domain capacity issue while keeping the deployment in the same region and AD.

Exam trap

The trap here is that candidates confuse service limits with capacity availability, assuming a limit increase will fix the issue, when in fact the error explicitly states 'Insufficient capacity' for the shape, not a limit breach.

How to eliminate wrong answers

Option B is wrong because deleting and recreating in a different region is an overreaction; the capacity issue is specific to the shape and AD, not the region, and moving regions introduces latency and complexity. Option C is wrong because the error is about capacity, not service limits; the user already verified sufficient service limits, so a limit increase would not resolve the immediate capacity shortage. Option D is wrong because waiting does not guarantee capacity will become available; the error indicates a persistent lack of capacity for that specific shape in that AD, and waiting could waste time without resolution.

395
MCQeasy

A researcher wants to compare the performance of two LLMs on OCI Generative AI: a base model and an instruct model. They notice the instruct model often refuses to generate certain types of content. Which factor most likely explains this behavior?

A.The base model was programmed to follow stricter rules.
B.The instruct model has been fine-tuned with reinforcement learning from human feedback (RLHF) to align with safety guidelines.
C.The instruct model was trained on a smaller dataset.
D.The base model rejects content more often.
AnswerB

RLHF makes instruct models more likely to reject unsafe requests.

Why this answer

Option B is correct because instruct models are typically fine-tuned using reinforcement learning from human feedback (RLHF) to align with safety guidelines and ethical constraints. This fine-tuning process teaches the model to refuse generating harmful, biased, or unsafe content, which explains why the instruct model refuses certain types of content while the base model does not.

Exam trap

Oracle often tests the misconception that refusal behavior is due to dataset size or rule-based programming, when in fact it is a direct result of RLHF-based safety alignment in instruct models.

How to eliminate wrong answers

Option A is wrong because base models are not programmed with explicit rule-based filters; they are trained on large text corpora without specific refusal mechanisms. Option C is wrong because the training dataset size does not directly cause refusal behavior; instruct models are often fine-tuned on smaller, curated datasets but the refusal stems from RLHF alignment, not dataset size. Option D is wrong because base models typically do not reject content more often; they generate outputs freely without the safety alignment that instruct models undergo.

396
MCQmedium

An AI engineer is testing a large language model on OCI Generative AI and receives this error: 'Token limit exceeded. Maximum context length is 4096 tokens.' The prompt is 4000 tokens long. What is the most effective way to resolve the issue without losing important context?

A.Reduce the prompt length by summarizing or trimming less relevant information.
B.Switch to a model with a larger context window, if available.
C.Increase the max_tokens parameter in the API call.
D.Split the prompt into multiple requests and combine outputs.
AnswerA

Reducing prompt length ensures it fits within the token limit while preserving key context.

Why this answer

Option A is correct because the error indicates that the combined prompt and generated output exceed the model's maximum context length of 4096 tokens. Since the prompt alone is 4000 tokens, there is very little room for the model to generate a response. Trimming or summarizing less relevant parts of the prompt directly reduces the token count, allowing the model to produce a complete output without exceeding the limit.

This approach preserves the most critical context while staying within the model's constraints.

Exam trap

Oracle often tests the misconception that increasing max_tokens or switching models can bypass the token limit, but the core issue is the total context length, which is a fixed architectural constraint of the model.

How to eliminate wrong answers

Option B is wrong because switching to a model with a larger context window may not be available in the current environment or may introduce additional costs and latency; the question asks for the most effective way to resolve the issue without losing important context, and reducing the prompt is a more direct and universally applicable solution. Option C is wrong because increasing the max_tokens parameter does not change the total context length limit; it only controls the maximum number of tokens the model can generate, and if the prompt already consumes 4000 tokens, increasing max_tokens would still cause the total to exceed 4096. Option D is wrong because splitting the prompt into multiple requests and combining outputs can lead to loss of coherence and context across the separate calls, and the model does not maintain state between requests, so important relationships between parts of the prompt would be lost.

397
MCQmedium

An administrator notices that a dedicated AI cluster is not scaling down after a period of low traffic. What could be the cause?

A.The cluster has a minimum size set to the current number of nodes
B.There are pending inference requests
C.The cluster is in a compartment without permissions
D.The autoscaling policy uses a cooldown period that is too short
AnswerA

A minimum size setting prevents scaling down below that threshold.

Why this answer

A dedicated AI cluster in OCI has a minimum size configuration that prevents the autoscaler from reducing the node count below that threshold. If the current number of nodes equals the configured minimum, the cluster will not scale down even during low traffic, as the autoscaler respects this lower bound. This ensures baseline capacity is always available for inference workloads.

Exam trap

Oracle often tests the misconception that autoscaling always scales down when traffic is low, without considering the minimum size constraint that overrides scaling policies.

How to eliminate wrong answers

Option B is wrong because pending inference requests would actually prevent scaling down, but the question states the cluster is not scaling down after a period of low traffic, implying no pending requests are present. Option C is wrong because compartment permissions affect resource access and management operations, not the autoscaling behavior of a cluster. Option D is wrong because a cooldown period that is too short would cause the cluster to scale down too aggressively or oscillate, not prevent scaling down entirely.

398
MCQeasy

A data scientist needs to generate vector embeddings for a large corpus of text documents to use in a semantic search application. Which OCI service is best suited for this task?

A.OCI Vision
B.OCI Speech
C.OCI Generative AI
D.OCI Language
AnswerC

OCI Generative AI offers embedding models (e.g., Cohere embed) specifically for text.

Why this answer

OCI Generative AI is the correct choice because it provides a managed service for generating vector embeddings from text using large language models (LLMs) like Cohere. This service is specifically designed for tasks such as semantic search, where embeddings capture the meaning of text to enable similarity comparisons. OCI Vision, Speech, and Language focus on other modalities (images, audio, and NLP tasks like sentiment analysis) and do not offer embedding generation for semantic search.

Exam trap

Oracle often tests the misconception that OCI Language can generate embeddings because it handles text, but OCI Language lacks an embedding API, while OCI Generative AI is the only service that provides this capability for semantic search.

How to eliminate wrong answers

Option A is wrong because OCI Vision is designed for image and video analysis (e.g., object detection, OCR), not for generating text embeddings. Option B is wrong because OCI Speech handles audio-to-text transcription and speaker diarization, not text embedding generation. Option D is wrong because OCI Language provides NLP features like sentiment analysis, entity extraction, and text classification, but it does not offer a dedicated embedding API for semantic search; that capability is exclusive to OCI Generative AI.

399
MCQhard

A data scientist is designing a prompt to extract structured information (e.g., JSON) from text using an instruct model on OCI Generative AI. The model sometimes outputs additional text beyond the JSON, breaking parsing. Which prompt engineering technique is most effective to enforce structured output?

A.Use a base model instead of an instruct model.
B.Set the temperature to 0.0 to reduce randomness.
C.Include a few-shot example of the expected JSON output in the prompt.
D.Increase max_tokens to allow for additional output.
AnswerC

Few-shot examples teach the model to output precisely in the desired format.

Why this answer

Option C is correct because few-shot prompting provides explicit examples of the desired output format, which instructs the model to follow the exact JSON structure and reduces the likelihood of extraneous text. This technique leverages the model's in-context learning ability to adhere to formatting constraints, making it the most effective for enforcing structured output in OCI Generative AI instruct models.

Exam trap

Oracle often tests the misconception that lowering temperature or increasing tokens can enforce output format, when in reality only explicit formatting examples (few-shot) reliably constrain the model's output structure.

How to eliminate wrong answers

Option A is wrong because base models lack instruction-following capabilities and are more prone to generating unstructured or irrelevant text, making them less suitable for structured output tasks. Option B is wrong because setting temperature to 0.0 reduces randomness but does not prevent the model from outputting additional explanatory text beyond the JSON; it only makes outputs more deterministic, not format-compliant. Option D is wrong because increasing max_tokens allows more room for additional output, which would exacerbate the problem of extra text beyond the JSON, not solve it.

400
MCQeasy

An OCI AI Language text classification request returns the output shown. Which conclusion is most accurate?

A.The model is uncertain about the sentiment.
B.The text is classified as Positive with high confidence.
C.The API endpoint is misconfigured.
D.The --endpoint parameter is optional.
AnswerB

The label 'Positive' with score 0.98 confirms high-confidence classification.

Why this answer

The output shows a sentiment label of 'Positive' with a confidence score of 0.98, indicating the model is highly confident in its classification. Option B correctly identifies this as a positive sentiment with high confidence, which is the most accurate conclusion based on the provided data.

Exam trap

The trap here is that candidates may misinterpret a high confidence score as uncertainty (Option A) due to a common misconception that AI models always express doubt, but in OCI AI Language, a score near 1.0 explicitly indicates high certainty.

How to eliminate wrong answers

Option A is wrong because a confidence score of 0.98 indicates the model is very certain, not uncertain, about the sentiment. Option C is wrong because the API endpoint is not misconfigured; the request returned a valid response with a sentiment label and confidence score, which would not happen if the endpoint were misconfigured. Option D is wrong because the --endpoint parameter is not optional; it is required to specify the OCI AI Language endpoint for the API call, and its absence would cause a request failure.

401
MCQmedium

A model generates code with security issues. Which approach is best to mitigate this?

A.Reduce max_tokens
B.Increase temperature
C.Use a different model
D.Add a system prompt with security guidelines
AnswerD

System prompts can guide the model to produce secure code.

Why this answer

Adding a system prompt with security guidelines (option C) instructs the model to follow best practices, directly addressing security concerns without changing model training.

402
MCQhard

Refer to the exhibit. A developer runs the OCI CLI command and receives the output. However, the text "Hello, how are you?" is actually a mix of English and French words. Why does the model assign only 0.03 to French?

A.The text is overwhelmingly English, so the model assigns a low probability to French.
B.The model is limited to identifying a single language per query.
C.The model cannot detect multiple languages in a single text.
D.The model's scores are normalized to sum to 1, so a high English score forces low others.
AnswerA

The phrase is mostly English, so the model is confident it is English.

Why this answer

Option A is correct because the model's output shows a probability distribution over languages, and the text is predominantly English with only a few French words. The model assigns a low probability (0.03) to French because the overwhelming majority of tokens are English, making the text far more likely to be classified as English. This reflects how language identification models evaluate the overall composition of the input.

Exam trap

Oracle often tests the misconception that normalized probabilities force a single language to dominate, but the trap here is that candidates may think the low French score is an artifact of normalization rather than a reflection of the actual token distribution in the text.

How to eliminate wrong answers

Option B is wrong because the model can output probabilities for multiple languages simultaneously, as shown in the exhibit where both English and French scores are present. Option C is wrong because the model can detect multiple languages in a single text, as evidenced by the non-zero probability assigned to French; it does not have a hard limit of one language per query. Option D is wrong because while scores are normalized to sum to 1, the low French score is due to the actual token composition, not merely a forced consequence of normalization; normalization reflects the relative likelihoods, but the model could assign high scores to multiple languages if the text were genuinely multilingual.

403
MCQhard

A company runs batch inference jobs daily using the OCI Generative AI service. The current cost is higher than expected. Which change would most effectively reduce cost while maintaining throughput?

A.Switch from on-demand to dedicated AI cluster with batch endpoint.
B.Reduce the max token limit for all requests.
C.Use a larger model to reduce retries.
D.Increase the number of parallel requests to improve efficiency.
AnswerA

Dedicated clusters provide lower cost per token for batch workloads and avoid contention.

Why this answer

Switching from on-demand to a dedicated AI cluster with a batch endpoint reduces cost because dedicated clusters provide reserved capacity at a lower per-token rate compared to on-demand pay-per-token pricing, and batch endpoints allow you to process multiple inference requests in a single job, amortizing overhead and reducing idle time. This combination directly addresses the high cost of per-request on-demand pricing while maintaining the same throughput for daily batch jobs.

Exam trap

Oracle often tests the misconception that reducing token limits or increasing parallelism is the most effective cost-saving measure, when in fact the pricing model change from on-demand to dedicated infrastructure yields the greatest savings for predictable batch workloads.

How to eliminate wrong answers

Option B is wrong because reducing the max token limit may lower per-request cost but can degrade output quality or truncate results, and it does not address the underlying pricing model inefficiency for batch workloads. Option C is wrong because using a larger model typically increases cost per token and latency, and retries are not a significant cost driver in batch inference; larger models would worsen, not reduce, cost. Option D is wrong because increasing parallel requests on an on-demand endpoint can actually increase cost due to higher concurrency charges or rate-limiting penalties, and it does not change the per-token pricing structure.

404
MCQhard

A RAG application is hallucinating because the LLM receives irrelevant context from the retrieval step, even when topK is set to 3. Which strategy would best reduce hallucination by improving the relevance of retrieved documents?

A.Reduce the chunk size to one sentence per chunk
B.Add a reranking step after retrieval to select the most relevant chunks
C.Implement a query rewriting mechanism
D.Increase topK to 10 to provide more context
AnswerB

Reranking improves the relevance of the final context set.

Why this answer

Adding a reranking step after initial retrieval can filter out irrelevant documents, improving the quality of context fed to the LLM. Increasing topK would add more noise. Using a smaller chunk size might help but not as targeted.

Changing the query rewriting may not address the core issue of ranking.

405
MCQeasy

A user wants to invoke an OCI Generative AI endpoint from a cloud function. What is the required authentication method?

A.API signing key
B.User name and password
C.Session token
D.OCI certificate
AnswerA

API signing key is required for OCI API authentication.

Why this answer

OCI Generative AI endpoints require API signing keys for authentication because they are REST APIs that use the Signature Version 1 algorithm (based on HMAC-SHA256) to sign requests. Cloud Functions must include a signed HTTP header using a user's or service principal's OCI API signing key pair (private key for signing, public key uploaded to OCI) to prove identity and authorization. This is the standard method for programmatic access to OCI services, including Generative AI, and is enforced by the OCI Identity and Access Management (IAM) policy layer.

Exam trap

Oracle often tests the misconception that OCI always uses session tokens or OAuth2 for service-to-service calls, but for Generative AI and most OCI REST APIs, the required method is API signing key authentication, not token-based or certificate-based methods.

How to eliminate wrong answers

Option B is wrong because username and password are used for interactive console login (OCI IAM user password authentication) and are not supported for programmatic API calls from cloud functions; they would expose credentials in code and violate OCI security best practices. Option C is wrong because a session token is a temporary credential obtained via federation or token exchange (e.g., from an identity provider) and is typically used for CLI or SDK sessions, not for direct REST API signing from a cloud function without a token exchange flow. Option D is wrong because OCI certificate authentication (mTLS) is used for specific services like API Gateway or load balancer mutual TLS, not for standard OCI REST API endpoints like Generative AI, which rely on API signing keys.

406
Multi-Selectmedium

Which TWO deployment options are available for using fine-tuned models with OCI Generative AI service?

Select 2 answers
A.Bring Your Own Container (BYOC)
B.Serverless Endpoint
C.On-Demand Endpoint
D.Edge Deployment
E.Managed Dedicated Endpoint
AnswersC, E

On-demand endpoints are for base models but fine-tuned models can also be deployed via dedicated endpoints that use on-demand scaling.

Why this answer

Options A and B are correct. Managed dedicated endpoints allow you to deploy a fine-tuned model with reserved capacity. On-demand access is available for base models and can also be used for fine-tuned models via a dedicated endpoint.

Option C is incorrect because serverless is not a term used in OCI Gen AI. Option D is incorrect because Bring Your Own Container is not supported for model deployment. Option E is incorrect because edge deployment is not supported.

407
MCQeasy

What is the role of the softmax function in the output layer of an LLM?

A.Apply attention
B.Tokenize input
C.Compute gradients
D.Convert logits to probabilities
AnswerD

Softmax normalizes logits into a probability distribution.

Why this answer

The softmax function in the output layer of an LLM converts the raw, unnormalized scores (logits) produced by the final linear layer into a probability distribution over the vocabulary. This allows the model to output a valid probability for each token, where all probabilities sum to 1, enabling sampling or greedy decoding for next-token prediction.

Exam trap

The trap here is that candidates may confuse the role of softmax with other transformer components like attention or tokenization, especially since all are critical to LLM operation, but only softmax directly converts logits to probabilities in the output layer.

How to eliminate wrong answers

Option A is wrong because attention is a mechanism within the transformer architecture (e.g., self-attention in the encoder/decoder blocks) that computes weighted sums of values based on queries and keys, not a function applied in the output layer. Option B is wrong because tokenization is a preprocessing step that splits input text into tokens (e.g., using BPE or WordPiece) before the model processes them, not a function of the output layer. Option C is wrong because gradient computation is part of the backpropagation algorithm during training, not an inference-time operation of the output layer; softmax itself is differentiable but its role is to produce probabilities, not compute gradients.

408
MCQeasy

A user has a prompt that exceeds the model's token limit. What is the best practice to handle this?

A.Summarize the earlier parts of the prompt and include the summary.
B.Increase the max tokens parameter in the API call.
C.Truncate the prompt and hope the model understands.
D.Split the input into multiple calls and merge results.
AnswerA

Correct: Summarization preserves context while reducing token count.

Why this answer

Option A is correct because when a prompt exceeds the model's token limit, the best practice is to summarize the earlier parts of the prompt and include the summary. This preserves the essential context without exceeding the token limit, as the model's context window is fixed (e.g., 4,096 tokens for GPT-3.5 or 8,192 for GPT-4). Summarization reduces token count while retaining key information, enabling the model to process the entire input within its constraints.

Exam trap

Oracle often tests the misconception that increasing the max tokens parameter can extend the input capacity, when in reality it only affects output length, not the fixed context window.

How to eliminate wrong answers

Option B is wrong because increasing the max tokens parameter does not expand the model's context window; it only controls the length of the generated response, not the input prompt limit. Option C is wrong because truncating the prompt arbitrarily removes potentially critical context, leading to incomplete or incorrect model understanding, as the model cannot infer missing information. Option D is wrong because splitting the input into multiple calls and merging results breaks the conversational context; the model has no memory across separate API calls, so the merged output would lack coherence and continuity.

409
Multi-Selecteasy

Which TWO actions are required to enable a user to access OCI Generative AI service?

Select 2 answers
A.Create a dedicated AI cluster.
B.Enable the GenAI service in the region's service limits.
C.Subscribe to the GenAI service in the OCI Console.
D.Install the OCI SDK.
E.Ensure the user has the appropriate IAM policy.
AnswersC, E

The service must be enabled for the tenancy.

Why this answer

Options A and B are correct. The user must have an IAM policy granting access to the GenAI service, and the service must be subscribed (enabled) in the tenancy. The other options are not prerequisites.

410
MCQhard

A company is deploying a customer-facing chatbot using OCI Generative AI. They need to prevent the model from generating offensive or harmful content. Which feature should they implement?

A.Custom post-processing to scan each response.
B.Enable OCI Generative AI guardrails with content filtering.
C.Limit the user input length.
D.Use a smaller model that is less capable of generating harm.
AnswerB

Guardrails are designed to filter both input and output for safety.

Why this answer

OCI GenAI guardrails provide built-in content filtering to block harmful outputs.

411
Multi-Selectmedium

Which TWO of the following are common applications of large language models in enterprise settings?

Select 2 answers
A.Summarizing lengthy legal documents.
B.Performing real-time signal processing for audio streams.
C.Generating boilerplate code from natural language descriptions.
D.Replacing relational databases for data storage.
E.Enhancing low-resolution images through super-resolution.
AnswersA, C

LLMs are effective for text summarization.

Why this answer

Option A is correct because large language models (LLMs) excel at abstractive summarization, which involves condensing lengthy legal documents into concise summaries while preserving key facts and legal reasoning. This is a common enterprise application for legal departments, as LLMs can process large volumes of text and generate coherent, context-aware summaries without requiring manual reading.

Exam trap

Oracle often tests the distinction between LLMs' text-based capabilities and specialized AI tasks (e.g., signal processing, image enhancement), leading candidates to mistakenly assume LLMs can handle any AI task due to their broad 'general intelligence' appearance.

412
MCQhard

A financial services company deployed a fine-tuned model using OCI Generative AI Service to generate investment advice based on quarterly reports. The model was trained on 10,000 labeled examples and achieved high accuracy in testing. However, after three months in production, the model's outputs have become inconsistent and sometimes recommend investments based on outdated market conditions. The team has received multiple complaints from users about inaccurate advice. The model is deployed on a dedicated AI cluster with auto-scaling disabled. The OCI audit logs show no configuration changes. The team suspects data drift and wants to mitigate it without incurring high costs. They have a pipeline that can collect new labeled data monthly, but it takes two weeks to process. What should the team do?

A.Set up a monthly retraining schedule using the new labeled data as soon as it is available, and use a champion/challenger deployment to validate the new model before full rollout.
B.Decrease the temperature parameter to 0.1 to make outputs more deterministic.
C.Revert to the base model (Cohere Command) and use few-shot prompting with recent reports.
D.Enable auto-scaling on the dedicated AI cluster to handle increased load.
AnswerA

Monthly retraining with fresh data mitigates drift, and champion/challenger ensures safe deployment.

Why this answer

Option A is correct because it directly addresses data drift by establishing a regular retraining cycle with the new labeled data, which is the standard mitigation strategy for model degradation over time. The champion/challenger deployment pattern allows the team to validate the updated model's performance against the current production model before full rollout, ensuring no regression in accuracy. This approach balances cost efficiency (monthly retraining) with the operational constraint of a two-week data processing pipeline.

Exam trap

Oracle often tests the misconception that hyperparameter tuning (like temperature) or infrastructure scaling can fix data drift, when in reality only retraining with fresh, representative data addresses the root cause.

How to eliminate wrong answers

Option B is wrong because decreasing the temperature parameter only affects the randomness of token generation, not the underlying model's knowledge of market conditions; it cannot fix data drift or outdated recommendations. Option C is wrong because reverting to the base model and using few-shot prompting would lose all the domain-specific fine-tuning and would not scale to handle the volume of quarterly reports, nor does it address the root cause of data drift. Option D is wrong because enabling auto-scaling addresses throughput and latency issues, not model accuracy or data drift; the problem is inconsistent outputs due to outdated training data, not insufficient compute resources.

413
MCQeasy

Which model family is NOT currently available in OCI Generative AI service?

A.OpenAI GPT-4
B.Meta Llama
C.Anthropic Claude
D.Cohere
AnswerA

GPT-4 is not part of OCI Generative AI service.

Why this answer

OpenAI GPT-4 is not available in OCI Generative AI service because OCI's native generative AI offerings are built on open-source and partner models like Meta Llama, Anthropic Claude, and Cohere, but not on OpenAI's proprietary models. OCI Generative AI service provides access to models hosted on OCI, and OpenAI GPT-4 is only accessible via Azure OpenAI Service or direct OpenAI API, not through OCI's managed service.

Exam trap

The trap here is that candidates may assume OCI Generative AI service includes all major commercial models like GPT-4, but OCI only supports models from partners that have signed direct agreements with Oracle, excluding OpenAI due to its exclusive partnership with Microsoft Azure.

How to eliminate wrong answers

Option B is wrong because Meta Llama is available in OCI Generative AI service as a supported open-source model family, including Llama 2 and Llama 3 variants, which can be deployed via OCI's managed endpoints. Option C is wrong because Anthropic Claude is available in OCI Generative AI service, specifically Claude 3 models, as part of OCI's partnership with Anthropic for enterprise AI workloads. Option D is wrong because Cohere models, including Command and Embed, are available in OCI Generative AI service as a native offering, with Cohere being a key partner for OCI's AI services.

414
MCQeasy

An organization needs to extract text from PDF documents and convert them into embeddings for a RAG pipeline using OCI. Which OCI service is best suited for extracting text from PDFs?

A.OCI Language
B.OCI Speech
C.OCI Vision
D.OCI Document Understanding
AnswerD

This service provides OCR and text extraction from documents.

Why this answer

OCI Document Understanding is specifically designed to extract text and structured data from documents like PDFs, making it the ideal choice for preprocessing.

415
Multi-Selectmedium

Which TWO statements about OCI Generative AI fine-tuning are true? (Choose two.)

Select 2 answers
A.Fine-tuning adjusts the model's weights based on custom data
B.Fine-tuning can only handle up to 10 examples
C.Fine-tuning permanently alters the base model in OCI
D.Fine-tuning is equivalent to providing few-shot examples in the prompt
E.Fine-tuning requires a dataset of input-output pairs
AnswersA, E

Supervised fine-tuning updates model parameters.

Why this answer

Options A and C are true. A: Fine-tuning updates model weights. C: It requires a training dataset.

B is false: base model is not changed permanently (fine-tuning creates a new model). D is false: fine-tuning is not just prompt engineering. E is false: fine-tuning can use more examples than few-shot.

416
MCQeasy

Based on the exhibit, what is the primary action the developer must take to successfully make the inference request?

A.Increase max_new_tokens to 5000 to get a longer response.
B.Ignore the error and retry the request.
C.Reduce max_new_tokens to 2000 to stay within the context length.
D.Switch to a model in a different region.
AnswerC

This reduces total tokens to 8000, within 8192 limit.

Why this answer

Option B is correct because the total (6000 + 4000 = 10000) exceeds 8192. Reducing max_new_tokens or prompt length lowers the total. Option A (increase max_new_tokens) worsens it.

Option C (change region) is irrelevant. Option D (ignore and retry) will fail again.

417
MCQhard

A company is deploying a RAG pipeline using OCI Data Science and OCI Generative AI. The pipeline uses a Cohere command model for generation and a Cohere embed model for retrieval. The team notices that the model occasionally produces hallucinated answers that are not supported by the retrieved context. Which strategy is MOST effective at reducing hallucinations?

A.Implement a faithfulness verification step that re-ranks retrieved passages based on alignment with the generated answer.
B.Increase the temperature parameter of the generation model.
C.Increase the number of retrieved chunks (k) to provide more context.
D.Use a larger generative model with more parameters.
AnswerA

A verification step can detect and mitigate unsupported claims.

Why this answer

Option D is correct because incorporating a faithfulness check that re-ranks retrieval results can directly filter out unsupported claims. Option A is wrong because increasing temperature may increase randomness and hallucinations. Option B is wrong because more retrieved chunks can introduce conflicting information.

Option C is wrong because a larger model does not guarantee faithfulness and increases cost.

418
MCQhard

An architect is designing a multi-tenant application using OCI Generative AI. Each tenant has custom instructions and data. To minimize cost while maintaining isolation, which deployment approach is recommended?

A.Dedicated fine-tuned endpoint per tenant.
B.Shared base model with per-tenant system prompts and retrieval.
C.On-premises deployment of open-source models.
D.Single large fine-tuned model with conditional logic.
AnswerB

This approach uses a shared model with tenant-specific prompts and RAG, balancing cost and isolation.

Why this answer

A shared base model with per-tenant customization via system prompts and retrieval (RAG) is cost-effective and provides isolation through prompt engineering and data segregation. Dedicated fine-tuned endpoints are expensive, a single large model with conditional logic risks prompt injection, and on-premises deployment may not be feasible or scalable.

419
MCQmedium

A healthcare startup is building an AI assistant to help doctors draft clinical notes from patient-physician conversations. They have a large language model that is fine-tuned on medical data. During testing, they notice the model occasionally generates plausible-sounding but incorrect medical recommendations. The startup wants to deploy the assistant to assist doctors, not replace them. They have the following options: (A) Deploy the model as-is and rely on doctors to catch errors, (B) Add a disclaimer that the model may make mistakes, (C) Implement a fact-checking pipeline that cross-references outputs with a trusted medical knowledge base before presenting to doctors, (D) Reduce the model's temperature to 0 to ensure deterministic outputs. Which option best balances safety and utility?

A.Implement a fact-checking pipeline that cross-references outputs with a trusted medical knowledge base.
B.Add a disclaimer that the model may make mistakes.
C.Deploy the model as-is and rely on doctors to catch errors.
D.Reduce the model's temperature to 0 to ensure deterministic outputs.
AnswerA

Fact-checking reduces hallucinations and ensures accuracy.

Why this answer

Option C is correct because it directly addresses the factual accuracy issue by validating outputs. Option A is wrong because relying on doctors to catch all errors is unsafe and burdensome. Option B is wrong because a disclaimer does not prevent harm.

Option D is wrong because deterministic outputs do not guarantee correctness; the model can still be confidently wrong.

420
MCQmedium

An administrator runs the above CLI command to check the status of a dedicated AI cluster. The cluster is ACTIVE with capacity 10. However, a user reports that inference requests to this cluster are failing with a '429 Too Many Requests' error. What is the most likely cause?

A.The cluster is hitting the maximum inference requests per minute limit
B.The cluster does not have enough nodes to handle the load
C.The user is not in the same compartment as the cluster
D.The cluster is not in ACTIVE state
AnswerA

429 indicates rate limit; the cluster has a requests-per-minute limit separate from node count.

Why this answer

The '429 Too Many Requests' error is an HTTP status code indicating rate limiting has been exceeded. In OCI Generative AI, dedicated AI clusters have a configurable 'maximum inference requests per minute' limit. Even if the cluster is ACTIVE and has capacity (e.g., 10 nodes), hitting this per-minute request cap will cause the API gateway to reject further requests with a 429 error.

The administrator must increase the rate limit or implement client-side throttling to resolve this.

Exam trap

The trap here is that candidates confuse capacity (number of nodes) with rate limits, assuming a cluster with available compute resources cannot produce a 429 error, when in fact the 429 is tied to a separate API-level throttling mechanism.

How to eliminate wrong answers

Option B is wrong because a cluster with insufficient nodes would typically result in higher latency, timeouts, or '503 Service Unavailable' errors, not a '429 Too Many Requests' which is specifically a rate-limiting response. Option C is wrong because compartment mismatches cause '404 Not Found' or '403 Forbidden' errors, not a 429 status code. Option D is wrong because the cluster is explicitly stated as ACTIVE; an inactive cluster would return a '503 Service Unavailable' or '400 Bad Request' error, not a 429.

421
Multi-Selecthard

Which THREE techniques are commonly used to improve the quality of text generation?

Select 3 answers
A.Temperature scaling
B.Top-k sampling
C.Greedy decoding
D.Random sampling
E.Beam search
AnswersA, B, E

Temperature scaling smooths token probabilities and can improve the quality-diversity trade-off.

Why this answer

Temperature scaling is correct because it controls the randomness of token probability distributions by dividing logits before softmax; lower temperatures (e.g., 0.1) make the model more deterministic, while higher temperatures (e.g., 1.5) increase diversity. This directly influences the quality of generated text by balancing coherence and creativity.

Exam trap

Oracle often tests the misconception that greedy decoding or random sampling are valid quality-improvement techniques, when in fact they either cause repetition (greedy) or incoherence (random) without the controlled stochasticity of temperature, top-k, or the global optimization of beam search.

422
MCQhard

A company uses OCI Generative AI to generate legal document summaries. They have a custom model deployed on a dedicated AI cluster. They want to ensure that the model is not used by unauthorized users. They also need to log all inference requests for auditing. Which combination of OCI services should they use?

A.OCI Vault for encryption and OCI Audit for logging.
B.OCI Identity and Access Management (IAM) policies and OCI Logging.
C.OCI Data Safe and OCI Monitoring.
D.OCI API Gateway with authentication and OCI Audit.
AnswerB

IAM controls access, Logging records inference requests for audit.

Why this answer

Option B is correct. OCI Identity and Access Management (IAM) policies control access to the model endpoint, and OCI Logging captures inference request logs for auditing. Option A is wrong because OCI Vault is for managing secrets, and OCI Audit logs administrative actions, not inference requests.

Option C is wrong because OCI Data Safe is for database security, and OCI Monitoring tracks metrics, not logs. Option D is wrong because API Gateway with authentication and OCI Audit may not capture detailed model inference logs.

423
MCQmedium

An organization wants to combine keyword search and vector search to improve retrieval accuracy in their RAG pipeline. Which OCI service provides built-in hybrid search capabilities?

A.OCI Search with AI
B.OCI OpenSearch
C.Autonomous Database with AI Vector Search
D.OCI Logging
AnswerB

OpenSearch integrates BM25 and vector search.

Why this answer

OCI OpenSearch supports both BM25 keyword search and k-NN vector search in a single query, enabling hybrid search. Autonomous Database with AI Vector Search focuses on vector search but lacks native keyword search. OCI Search is a different service.

OCI Logging is for logs.

424
Multi-Selectmedium

Which TWO are benefits of using OCI Generative AI service's dedicated AI cluster?

Select 2 answers
A.Automatic scaling to handle large workloads.
B.Built-in content filtering for all outputs.
C.Ability to fine-tune models on custom data.
D.No need to provide any training data.
E.Lower latency compared to serverless.
AnswersC, E

Dedicated clusters support fine-tuning with custom datasets.

Why this answer

Options A and B are correct. A dedicated AI cluster allows fine-tuning on custom data and offers lower latency compared to serverless inference. Option C is wrong because fine-tuning requires training data.

Option D is wrong because dedicated clusters have fixed capacity and do not auto-scale. Option E is wrong because content filtering is not a specific benefit of dedicated clusters.

425
MCQmedium

A developer is using OCI Generative AI Service to generate code snippets. They want to ensure the output is as deterministic as possible for testing. Which combination of parameters should they use?

A.Temperature = 0, Top-p = 1
B.Temperature = 0.5, Top-p = 0.5
C.Temperature = 0, Top-p = 0
D.Temperature = 1, Top-p = 1
AnswerA

Temperature=0 makes output deterministic; top-p=1 disables nucleus sampling.

Why this answer

Setting Temperature=0 makes the model deterministic by always selecting the highest-probability token, while Top-p=1 includes all tokens in the sampling pool, ensuring no additional randomness is introduced. This combination eliminates stochastic variation, making outputs repeatable for testing.

Exam trap

The trap here is that candidates mistakenly think Top-p=0 (like Temperature=0) would also enforce determinism, but Top-p=0 actually removes all tokens, leading to generation failure rather than deterministic output.

How to eliminate wrong answers

Option B is wrong because Temperature=0.5 introduces moderate randomness and Top-p=0.5 restricts the sampling pool, both of which reduce determinism. Option C is wrong because Top-p=0 would exclude all tokens, causing the model to fail to generate any output (or produce an error). Option D is wrong because Temperature=1 maximizes randomness and Top-p=1 includes all tokens, resulting in highly variable outputs.

426
MCQmedium

After fine-tuning a Cohere Command model on a dataset of customer emails, the model performs well on validation data but poorly on new, unseen emails. Which action is most likely to improve generalization?

A.Expand the training dataset with more diverse examples.
B.Increase the number of fine-tuning epochs.
C.Reduce the number of layers being fine-tuned.
D.Switch to a smaller model variant such as Cohere Light.
AnswerA

A larger, more varied dataset improves generalization.

Why this answer

Option B is correct because using a diverse and representative dataset helps the model generalize to unseen examples. Option A is incorrect because increasing epochs risks overfitting. Option C is incorrect because a smaller model may have lower capacity.

Option D is incorrect because reducing the number of fine-tuning layers may harm adaptation.

427
MCQmedium

A developer receives a 403 error when calling the OCI GenAI API from a function. They have set up policies for the function's dynamic group. What is the most likely cause?

A.The request body format is incorrect.
B.The model is not available in the region.
C.The API key is invalid.
D.Missing IAM policy for GenAI service.
AnswerD

A 403 error indicates the function's dynamic group lacks permission to call the GenAI API.

Why this answer

Option C is correct because a 403 Forbidden error typically indicates insufficient IAM permissions, such as a missing allow statement for the GenAI service in the policy. Options A, B, and D would cause different errors.

428
MCQmedium

An organization is concerned about the safety of generated content. Which OCI feature allows them to define custom policies to block inappropriate outputs?

A.OCI IAM policies
B.Content filtering and safety controls in Generative AI
C.OCI Audit logs
D.OCI Vault
AnswerB

The Generative AI service includes configurable safety filters that can block inappropriate content based on defined categories and thresholds.

Why this answer

Option B is correct because OCI Generative AI includes built-in content filtering and safety controls that allow organizations to define custom policies to block inappropriate or harmful outputs. These controls operate at the model inference layer, enabling fine-grained filtering based on categories such as toxicity, hate speech, or personally identifiable information (PII). This directly addresses the concern about generated content safety.

Exam trap

The trap here is that candidates often confuse IAM policies (access control) with content safety policies, or assume that logging (Audit) or encryption (Vault) can prevent inappropriate outputs, when in fact only the Generative AI service's built-in content filtering provides that capability.

How to eliminate wrong answers

Option A is wrong because OCI IAM policies govern access control and permissions for OCI resources, not the filtering or safety of generated content from AI models. Option C is wrong because OCI Audit logs capture API calls and operational events for compliance and monitoring, but they do not provide any mechanism to block or filter inappropriate outputs in real time. Option D is wrong because OCI Vault is a key management service for storing and managing secrets, encryption keys, and certificates; it has no role in content safety or output filtering for generative AI.

429
MCQhard

A financial institution uses an LLM for generating investment advice. They are concerned about hallucinations. Which method is most effective?

A.Fine-tune on general financial data.
B.Use RAG with a verified corpus of regulations and reports.
C.Increase the temperature to get more creative responses.
D.Use a larger model to improve accuracy.
AnswerB

Correct: Grounding in trusted data reduces hallucinations.

Why this answer

Option B is correct because Retrieval-Augmented Generation (RAG) grounds the LLM's output in a verified, external knowledge base (e.g., regulations and reports). By retrieving relevant documents at inference time, RAG reduces the model's reliance on its parametric memory, directly mitigating hallucinations in high-stakes domains like financial advice.

Exam trap

Oracle often tests the misconception that simply fine-tuning or scaling a model can fix hallucinations, when in fact grounding via retrieval (RAG) is the most effective technique for factual accuracy in domain-specific applications.

How to eliminate wrong answers

Option A is wrong because fine-tuning on general financial data does not provide a mechanism to verify or update the model's knowledge at inference time; it only adjusts weights on static data, leaving the model prone to hallucinating outdated or fabricated details. Option C is wrong because increasing temperature makes the output more random and creative, which amplifies the risk of hallucinations rather than reducing them. Option D is wrong because using a larger model does not inherently solve hallucination; larger models can still confidently generate false information, and without a retrieval or grounding mechanism, they remain susceptible to fabricating details.

430
MCQhard

In OCI OpenSearch, a k-NN search query returns results with low precision. The index uses HNSW algorithm. The search parameters are: `k=10`, `ef_search=100`. To improve recall without significantly increasing latency, which parameter should be adjusted?

A.Increase `ef_search`
B.Decrease `ef_search`
C.Decrease `k`
D.Increase `k`
AnswerA

Larger ef_search explores more candidates, increasing recall at a small latency cost.

Why this answer

Increasing `ef_search` expands the search dynamic list, improving recall but also increasing latency. The question asks for improving recall without significantly increasing latency, but among options, increasing `ef_search` is the only direct control for recall. Note: the correct answer is the one that improves recall; latency increase is expected but minimal if adjusted moderately.

431
MCQeasy

Refer to the exhibit. A RAG application logs this error when trying to search. What is the most likely cause?

A.The embedding model is incompatible
B.The OpenSearch cluster is not accessible
C.The index name is misspelled in the application configuration
D.The query syntax is incorrect
AnswerC

A mismatch between the configured index name and the actual index causes this exception.

Why this answer

The error clearly states that the index 'rag-index' does not exist. This typically occurs when the index name in the application configuration is misspelled or doesn't match the actual index.

432
MCQhard

A company has deployed a generative AI model on OCI to generate product descriptions. After a recent update, the model started producing outputs with repetitive phrases and poor coherence. The inference endpoint is configured with default parameters. Which single parameter adjustment is most likely to improve output quality?

A.Increase the max-tokens parameter to 512
B.Increase the frequency penalty parameter to 0.5
C.Increase the temperature parameter to 1.5
D.Decrease the top-p parameter to 0.8
AnswerB

Frequency penalty reduces repeated tokens, directly improving repetitive output.

Why this answer

The correct answer is B because increasing the frequency penalty reduces the likelihood of the model repeating the same phrases, directly addressing the repetitive outputs. The frequency penalty subtracts a proportional penalty from tokens that have already appeared, discouraging repetition and improving coherence. Default parameters often have no frequency penalty (0.0), so a small positive value like 0.5 can significantly enhance output diversity.

Exam trap

The trap here is that candidates often confuse frequency penalty with temperature or top-p, assuming that increasing randomness (temperature) or narrowing token selection (top-p) will fix repetition, when in fact those parameters address different aspects of output diversity and coherence.

How to eliminate wrong answers

Option A is wrong because increasing max-tokens only extends the maximum length of the output, not the quality or repetition; it could even worsen the problem by allowing more repetitive text. Option C is wrong because increasing temperature to 1.5 makes the model more random and less focused, which typically reduces coherence and can increase nonsensical outputs. Option D is wrong because decreasing top-p to 0.8 narrows the sampling pool to the top 80% of probability mass, which may reduce diversity and potentially increase repetition rather than fix it.

433
MCQmedium

A company notices that some inference requests to their deployed model on OCI Generative AI take longer than acceptable. They want to reduce per-request latency. What should they do?

A.Reduce the maximum number of tokens generated
B.Enable request batching
C.Use a larger model to improve accuracy
D.Increase the number of replicas in the deployment
AnswerA

Lowering max tokens reduces the amount of computation per request, directly decreasing latency.

Why this answer

Reducing the maximum number of tokens generated directly decreases the amount of computation required per inference request because the model stops generating output earlier. Since latency is proportional to the number of output tokens produced, this is the most effective single change to reduce per-request response time in OCI Generative AI deployments.

Exam trap

Oracle often tests the distinction between latency (per-request speed) and throughput (requests per second), causing candidates to confuse batching or scaling replicas (which improve throughput) with reducing individual request latency.

How to eliminate wrong answers

Option B is wrong because request batching aggregates multiple inference requests into a single batch, which improves throughput (requests per second) but does not reduce the latency of any individual request; in fact, it can increase per-request latency due to queuing and waiting for batch completion. Option C is wrong because using a larger model increases the number of parameters and computational steps per token, which typically increases latency, not reduces it. Option D is wrong because increasing the number of replicas improves scalability and concurrency (handling more requests in parallel) but does not reduce the latency of a single inference request; each request still processes through the same model with the same token generation steps.

434
MCQhard

A financial institution wants to use OCI Generative AI to analyze sensitive customer documents. They need to ensure no data leaves OCI and the model is fine-tuned on their proprietary data. Which deployment option should they choose?

A.Serverless inference with data isolation.
B.OCI Functions with GPU.
C.Dedicated AI cluster with private endpoint.
D.OCI Data Science notebook session.
AnswerC

This option ensures data remains in OCI and supports fine-tuning with custom data.

Why this answer

Option A is correct because a dedicated AI cluster with private endpoint keeps data within OCI and allows fine-tuning on proprietary data. Option B is wrong because serverless inference does not support fine-tuning. Option C is wrong because OCI Data Science notebook sessions are for development, not production.

Option D is wrong because OCI Functions are for event-driven compute, not fine-tuning.

435
MCQhard

Refer to the exhibit. A user runs the command shown and receives the error: 'ServiceError: NotAuthorizedOrNotFound'. What is the MOST likely cause?

A.The CLI is not configured with OCI credentials
B.The user does not have the 'inspect' permission on the model
C.The model ID is incorrectly formatted
D.The model is in a different region than iad
AnswerB

NotAuthorizedOrNotFound is common when permissions are insufficient.

Why this answer

The error 'NotAuthorizedOrNotFound' typically indicates either the model ID does not exist or the user lacks permission to view it. Option D is correct because the error message is generic to avoid information leakage. Option A would give a different error (e.g., invalid model ID), but the generic error suggests authorization or existence issues.

436
MCQmedium

A company is deploying a generative AI service on OCI using the OCI Data Science service with a large language model (LLM) in a VCN. The model inference endpoint must be accessible only from a private subnet within the same VCN. Which networking component should be configured to enable this?

A.NAT Gateway
B.Dynamic Routing Gateway (DRG)
C.Internet Gateway
D.Service Gateway
AnswerD

Service gateway enables private subnet access to OCI services like Data Science.

Why this answer

A Service Gateway enables private subnet resources to access OCI services (including the OCI Data Science model deployment endpoint) without traversing the internet. Since the inference endpoint must be accessible only from a private subnet within the same VCN, the Service Gateway provides the necessary private connectivity by routing traffic over the OCI network fabric, not through a NAT or internet gateway.

Exam trap

The trap here is that candidates often confuse a Service Gateway with a NAT Gateway, assuming both provide outbound-only access, but the Service Gateway is specifically designed for private access to OCI services, not general internet egress.

How to eliminate wrong answers

Option A is wrong because a NAT Gateway allows outbound internet access from a private subnet but does not provide private connectivity to OCI services; it would expose traffic to the internet. Option B is wrong because a Dynamic Routing Gateway (DRG) is used for connecting a VCN to on-premises networks or other VCNs via VPN or FastConnect, not for accessing OCI services privately within the same VCN. Option C is wrong because an Internet Gateway provides bidirectional internet access, which would make the endpoint publicly accessible, violating the requirement of private subnet-only access.

437
MCQhard

A data engineer wants to migrate a large corpus of PDFs to OCI for use with GenAI. Which storage and preprocessing approach is most efficient for RAG?

A.Store PDFs in OCI Object Storage, then use OCI AI Document Understanding to extract text and create embeddings.
B.Convert PDFs to text locally, upload to OCI Database, use SQL queries to retrieve.
C.Use OCI Data Flow to process in batch and store in NoSQL.
D.Store PDFs in OCI File Storage, mount to compute, run offline extraction.
AnswerA

This leverages cloud-native services for scalable extraction and embedding, ideal for RAG.

Why this answer

Option A is correct because OCI Object Storage is optimized for large-scale, unstructured data like PDFs, and OCI AI Document Understanding provides a managed service to extract text from PDFs, which can then be directly fed into embedding pipelines for RAG. This eliminates the need for manual preprocessing or local compute, ensuring scalability and integration with GenAI services.

Exam trap

Oracle often tests the misconception that any storage service (like File Storage or Database) can be used for RAG, but the key is that Object Storage combined with a managed AI extraction service is the most efficient for unstructured data at scale, avoiding local processing overhead.

How to eliminate wrong answers

Option B is wrong because converting PDFs to text locally introduces a bottleneck and inefficiency for large corpora, and storing text in OCI Database with SQL queries is not designed for vector search or RAG workflows, lacking native embedding support. Option C is wrong because OCI Data Flow (Apache Spark) is for batch processing but storing in NoSQL does not provide the vector indexing or retrieval capabilities required for RAG, and it adds unnecessary complexity. Option D is wrong because OCI File Storage is a shared file system for compute instances, not optimized for high-throughput object access, and running offline extraction on a mounted compute instance is manual, lacks scalability, and does not leverage managed AI services.

438
MCQmedium

A data scientist wants to improve the accuracy of a summarization model on medical texts. Which OCI service feature is most suitable?

A.OCI Data Flow
B.OCI Language service
C.OCI Generative AI fine-tuning
D.OCI Anomaly Detection
AnswerC

Fine-tuning adapts a model to domain-specific data, improving accuracy.

Why this answer

C is correct because OCI Generative AI fine-tuning allows a data scientist to adapt a pre-trained large language model (LLM) specifically for medical text summarization by training it on domain-specific data. This improves accuracy by aligning the model's outputs with the terminology, context, and nuances of medical literature, which generic models may not capture well.

Exam trap

The trap here is that candidates may confuse the OCI Language service's pre-built summarization capabilities with the ability to customize a model for a specialized domain, overlooking that fine-tuning is required for significant accuracy improvements on niche text like medical records.

How to eliminate wrong answers

Option A is wrong because OCI Data Flow is a serverless Apache Spark-based data processing service for ETL and big data analytics, not designed for fine-tuning or improving summarization model accuracy. Option B is wrong because OCI Language service provides pre-trained NLP capabilities like sentiment analysis and entity extraction but does not support custom fine-tuning of generative models for summarization tasks. Option D is wrong because OCI Anomaly Detection is used for identifying unusual patterns in time-series data, such as equipment failures or fraud, and has no relevance to improving text summarization accuracy.

439
MCQmedium

An organization needs to ensure that all inference requests to OCI Generative AI are logged for compliance. Which OCI feature should be enabled?

A.OCI Cloud Guard
B.OCI Logging for the AI service
C.OCI Vault
D.OCI Audit logs
AnswerB

OCI Logging enables detailed logging of inference requests and responses for compliance.

Why this answer

Option B is correct because OCI Logging for the AI service captures detailed request and response data for inference calls to OCI Generative AI, including payloads, timestamps, and user identities. This feature must be explicitly enabled per service endpoint to meet compliance requirements for logging all inference requests. Unlike Audit logs, which record control-plane operations, OCI Logging provides data-plane logging for the AI service itself.

Exam trap

Oracle often tests the distinction between control-plane logging (Audit logs) and data-plane logging (service-specific Logging), leading candidates to mistakenly choose Audit logs for operational request tracking.

How to eliminate wrong answers

Option A is wrong because OCI Cloud Guard is a security posture management service that detects misconfigurations and threats, but it does not log individual inference requests to Generative AI. Option C is wrong because OCI Vault manages encryption keys and secrets, not request logging for AI services. Option D is wrong because OCI Audit logs capture only control-plane API calls (e.g., creating or deleting resources), not data-plane inference requests to the Generative AI service.

440
MCQhard

A company uses OCI Generative AI service with a Cohere Command model for a real-time chat application and experiences high latency. They have already set max_tokens to 50 and temperature to 0.2. Which further change would be most effective in reducing latency?

A.Use asynchronous invocation.
B.Switch to a smaller model variant.
C.Disable context caching.
D.Increase the number of GPUs.
AnswerB

Smaller models have fewer parameters and are faster.

Why this answer

Switching to a smaller model variant (e.g., from Command to Command-Light) directly reduces the number of parameters and computational steps per token, which lowers inference latency. Since the company has already minimized max_tokens and temperature, the next most impactful change is to use a less resource-intensive model. This is a common optimization for real-time applications where response speed is critical.

Exam trap

The trap here is that candidates often confuse throughput optimization (asynchronous calls or more GPUs) with latency reduction, but for a single real-time request, model size is the dominant factor.

How to eliminate wrong answers

Option A is wrong because asynchronous invocation does not reduce the latency of a single request; it only decouples the client from waiting for the response, which is unsuitable for a real-time chat application that requires synchronous replies. Option C is wrong because disabling context caching would increase latency, as the model would have to reprocess the conversation history from scratch on every turn, negating the benefit of cached key-value states. Option D is wrong because increasing the number of GPUs does not reduce per-request latency for a single inference call; it improves throughput for concurrent requests but adds overhead for distributing the workload, which can actually increase latency for a single user.

441
MCQhard

A developer runs this CLI command but receives only one response instead of three. What is the most likely cause?

A.The model specified does not support multiple generations
B.The parameter --num-generations is misspelled; should be --num-generations-to-generate
C.The --max-tokens limit is too low to return multiple generations
D.The API version is outdated and does not support the num-generations parameter
AnswerA

Some models only support a single generation; check model capabilities.

Why this answer

Option C is correct: The command uses --num-generations 3 but by default the OCI CLI returns only one generation if not specified to return all? Actually the issue is that the CLI needs to parse the output. But the exhibit shows the command, and the expected behavior: num-generations is a parameter but the OCI Generative AI service returns an array of choices; the CLI might only display the first. However, the standard issue is that --num-generations is not a valid parameter for the OCI AI Language generate-text command; the correct parameter is --num-generations? Wait, in OCI Generative AI the parameter is "numGenerations"? The exhibit uses --num-generations, which is the CLI convention (kebab-case).

That should work. But the more realistic issue: the --model-id is for a model that does not support multiple generations? Or the parameter is not recognized? Given the exam context, a common mistake is that the parameter is --num-generations but the correct one is --num-generations? Actually in OCI CLI, for generative AI, the parameter is --num-generations. The exhibit is realistic.

The issue: the command likely has a typo (extra hyphens?) No. Let's think: The user might have used - instead of -- for some parameters? But all are correct. Another possibility: The model endpoint is not for text generation? But the command uses generate-text.

Perhaps the version of CLI doesn't support --num-generations. I'll create a plausible distractors: Option A: Parameter name incorrect (should be --number-of-generations). Option B: Model does not support multiple outputs.

Option C: Output truncated due to max tokens. Option D: API version not supporting that feature. The correct answer: The parameter is actually --num-generations (valid), but the CLI might not parse it correctly if it's an older version.

But for exam, I'll choose Option A: The parameter is incorrect because it should be --num-generations? No, it's correct. Let's instead create a different exhibit: a configuration block. Perhaps easier: use a JSON policy exhibit.

Let's change the exhibit to a policy syntax error. I'll replace the exhibit with a JSON policy that has an incorrect statement. That's more diagnostic.

442
MCQmedium

A developer calls the OCI GenAI embedding API as shown in the exhibit. What is the most likely cause of the error?

A.The API key does not have permission to call the endpoint
B.The endpoint ID is incorrect
C.The input string is too long for the embedding model
D.The model ID is not supported for embedding
AnswerC

The error confirms the input exceeds the token limit.

Why this answer

The error message explicitly states that the input text length exceeds the maximum allowed length of 8192 tokens. The model ID and endpoint are correctly specified. The API key issue would show a different error.

The endpoint name is valid.

443
MCQeasy

A developer wants to build a RAG application that processes highly sensitive medical records. The documents are already stored in OCI Object Storage. Which vector storage strategy best balances security and performance?

A.Store vectors in-memory within the application server
B.Use OCI OpenSearch with a public endpoint for low latency
C.Use OCI OpenSearch with a private subnet and VCN security lists
D.Use a third-party vector database outside OCI
AnswerC

Private subnet ensures network isolation, and security lists control access.

Why this answer

Using OCI OpenSearch with a private subnet and VCN security lists keeps data within a secure network while providing scalable search performance.

444
MCQhard

A team uses OCI Generative AI’s fine-tuning capability to adapt a base model. After fine-tuning, they evaluate the model but see degraded performance on certain edge cases. What is the most likely cause?

A.Overfitting on the training data
B.Validation data leakage
C.Learning rate too high
D.Insufficient training epochs
AnswerA

Overfitting leads to poor generalization, especially on edge cases not seen during training.

Why this answer

Fine-tuning adapts a base model to a specific dataset, but if the training data is too narrow or the model is trained for too many epochs, it can memorize the training examples rather than learning generalizable patterns. This overfitting causes the model to perform well on training-like inputs but poorly on edge cases that deviate from the training distribution. In OCI Generative AI, overfitting is a common pitfall when fine-tuning hyperparameters like the number of epochs or learning rate are not properly validated.

Exam trap

Oracle often tests the distinction between overfitting and underfitting by presenting a scenario where performance is good on training data but poor on unseen data, leading candidates to incorrectly blame a high learning rate or insufficient epochs.

How to eliminate wrong answers

Option B is wrong because validation data leakage would cause artificially high performance on validation metrics, not degraded performance on edge cases; leakage means the model has seen the test data during training, which would inflate scores rather than cause failures. Option C is wrong because a learning rate that is too high typically causes training instability, divergence, or failure to converge, not selective degradation on edge cases after successful fine-tuning. Option D is wrong because insufficient training epochs would result in underfitting, where the model fails to learn even the main training patterns, leading to poor performance across all cases, not just edge cases.

445
MCQhard

Refer to the exhibit. A user in GenAI-Users group tries to run a text generation inference but gets permission denied. What is the most likely issue?

A.The policy resource type is wrong.
B.The operation condition is too restrictive.
C.The group name mismatch.
D.The user is not in the compartment.
AnswerB

The condition likely does not match the actual operation, causing denial.

Why this answer

The policy attached to the GenAI-Users group includes a condition that restricts the operation to a specific compartment or resource, but the user is attempting to run inference in a different compartment or without meeting the condition. Since the condition is too restrictive, the IAM policy denies the action even though the user is in the correct group and the resource type is valid.

Exam trap

Oracle often tests the nuance that a policy with overly restrictive conditions (e.g., scoping to a specific compartment or resource) will deny access even when the group, resource type, and user compartment are all correct, leading candidates to incorrectly blame the group or resource type.

How to eliminate wrong answers

Option A is wrong because the policy resource type (e.g., 'ai-language-models' or 'genai-models') is correct for text generation inference in OCI Generative AI, so a mismatch would cause a different error. Option C is wrong because the group name mismatch would result in no policy being applied at all, not a permission denied error with a valid group. Option D is wrong because the user being in the compartment is not the issue; the condition in the policy is what restricts the operation, not the user's compartment membership.

446
MCQeasy

A developer is using the OCI Generative AI SDK in Python to call the cohere.command model. They are getting a 401 Unauthorized error. They have configured the SDK with their tenancy OCID and user OCID. What is the most likely missing piece?

A.Correct region endpoint.
B.Model OCID.
C.API key or token.
D.Compartment OCID.
AnswerC

Authentication requires a valid API key or token; omitting it causes 401 errors.

Why this answer

Option A is correct. A 401 error indicates authentication failure, typically due to a missing or invalid API key or token. Option B is wrong because an incorrect region endpoint would result in a different error (e.g., 404 or timeout).

Option C is wrong because the model OCID is not required for authentication. Option D is wrong because the compartment OCID is used for resource placement, not authentication.

447
MCQmedium

A data scientist is fine-tuning a Cohere model on OCI Generative AI service for a custom classification task. They have a dataset of 1000 labeled examples. What is the minimum recommended dataset size for fine-tuning?

A.500
B.1000
C.5000
D.100
AnswerB

Cohere's documentation states a minimum of 1000 examples.

Why this answer

Cohere models on OCI Generative AI require a minimum of 1000 labeled examples for fine-tuning to ensure sufficient signal for learning task-specific patterns without overfitting. This threshold is documented in OCI's fine-tuning requirements and applies to custom classification tasks.

Exam trap

The trap here is that candidates may assume a lower number like 500 is sufficient based on general machine learning heuristics, but OCI's specific fine-tuning documentation explicitly sets 1000 as the minimum, and Cisco tests this exact documented value.

How to eliminate wrong answers

Option A (500) is wrong because 500 examples are below the documented minimum threshold, risking poor generalization and overfitting. Option C (5000) is wrong because while larger datasets can improve performance, 5000 is not the minimum requirement; 1000 is the stated minimum. Option D (100) is wrong because 100 examples are far too few for fine-tuning a transformer-based model like Cohere, leading to severe overfitting and unreliable results.

448
Multi-Selectmedium

Which TWO actions can improve the retrieval accuracy of a RAG system? (Select two.)

Select 2 answers
A.Use a smaller chunk size for all documents
B.Remove stop words from documents before embedding
C.Increase the topK parameter significantly
D.Use a more accurate embedding model
E.Enrich chunk metadata and apply strict filters during retrieval
AnswersD, E

Better embeddings improve similarity search.

Why this answer

Using a more accurate embedding model (A) improves semantic matching. Enriching chunk metadata and applying filters (D) helps narrow down relevant documents. Increasing topK (B) may add noise.

Removing stop words (C) is standard but minor. Using a smaller chunk size (E) can help but may also lose context; not as direct as A and D.

449
MCQhard

An AI engineer observes that the RAG application fails to retrieve relevant documents for certain user queries, despite having a comprehensive knowledge base. The issue appears to be a semantic gap between query phrasing and document content. Which technique should the engineer implement first to address this?

A.Switch from dense to sparse vector embeddings
B.Apply query expansion techniques before embedding the user query
C.Implement a re-ranking model to reorder retrieved results
D.Increase the chunk overlap to ensure more context
AnswerB

Query expansion broadens the query to capture more relevant documents.

Why this answer

Query expansion generates multiple paraphrases or related terms for the original query, increasing the chance of matching relevant documents. Re-ranking helps after retrieval, not for missing documents. Changing chunk size may help but is less targeted.

Using a different vector store doesn't directly address semantic mismatch.

450
Multi-Selecthard

Which THREE factors should be considered when designing a vector search index for a RAG application that supports multiple languages?

Select 3 answers
A.Implement language identification as a preprocessing step.
B.Create separate vector indexes for each language.
C.Use a multilingual embedding model that supports all required languages.
D.Configure language-specific text analyzers for preprocessing documents.
E.Use larger chunk sizes for languages with complex morphology.
AnswersA, C, D

Allows proper analyzer selection.

Why this answer

Option A is correct because language identification as a preprocessing step ensures that documents are correctly tagged before indexing, which allows the system to apply appropriate language-specific tokenization, stop-word removal, and stemming. This prevents cross-language contamination in the vector index and improves retrieval accuracy for a multilingual RAG application.

Exam trap

Oracle often tests the misconception that separate indexes per language are required for multilingual support, but the correct approach is to use a single index with a multilingual embedding model and language-specific preprocessing.

Page 5

Page 6 of 7

Page 7

All pages