Courseiva

CCNA Using OCI Generative AI Service Questions

75 of 77 questions · Page 1/2 · Using OCI Generative AI Service · Answers revealed

1
MCQmedium

A developer is using the OCI Generative AI service API and receives a '400 Bad Request' with error 'Model not found'. What is the most likely cause?

A.The model ID is misspelled or does not exist.
B.The API request lacks authentication.
C.The input exceeds the maximum token limit.
D.The endpoint region is incorrect.
AnswerA

The error directly states 'Model not found'.

Why this answer

The '400 Bad Request' with 'Model not found' error indicates that the model ID provided in the API request does not match any available model in the OCI Generative AI service. This is most commonly caused by a typo, incorrect model name, or referencing a model that has been deprecated or removed from the service catalog.

Exam trap

The trap here is that candidates often confuse HTTP status codes and error messages, assuming any 4xx error is due to authentication or region issues, when in fact the specific 'Model not found' message directly points to an invalid model identifier.

How to eliminate wrong answers

Option B is wrong because a lack of authentication would result in a '401 Unauthorized' or '403 Forbidden' error, not a '400 Bad Request' with 'Model not found'. Option C is wrong because exceeding the maximum token limit would produce a '400 Bad Request' with a different error message, such as 'Input too long' or 'Token limit exceeded', not 'Model not found'. Option D is wrong because an incorrect endpoint region would typically cause a connection timeout, DNS resolution failure, or a '404 Not Found' error, not a '400 Bad Request' with a model-specific error.

2
MCQhard

A company wants to deploy a custom fine-tuned model for retrieval-augmented generation (RAG) using dedicated AI cluster. They need to ensure the model can handle concurrent requests from multiple applications with consistent latency. What should they configure?

A.Set a high temperature to keep responses concise.
B.Increase the number of replicas in the dedicated cluster.
C.Enable auto-scaling on the cluster.
D.Use the managed serving endpoint instead.
AnswerB

More replicas allow handling more requests concurrently without degradation.

Why this answer

Increasing the number of replicas in the dedicated cluster distributes the load across multiple model copies, improving concurrency and latency stability. This allows the model to handle concurrent requests from multiple applications with consistent latency.

3
Multi-Selecthard

A company is using dedicated AI cluster for fine-tuning. Which TWO best practices help optimize cost?

Select 2 answers
A.Use the largest replica count.
B.Manually scale down the cluster when not in use.
C.Use the managed serving endpoint instead.
D.Leave the cluster running continuously.
E.Use the smallest possible model for the task.
AnswersB, E

Reduces active compute hours.

Why this answer

Manually scaling down the dedicated AI cluster when not in use directly reduces compute costs by stopping idle GPU/CPU resources. In OCI Generative AI, dedicated AI clusters incur charges for provisioned capacity, so scaling down during inactivity avoids paying for unused infrastructure.

Exam trap

Oracle often tests the misconception that larger replica counts or continuous running improve performance, when in fact they only increase cost without accelerating fine-tuning convergence.

4
MCQeasy

A company deployed OCI Generative AI for a customer service chatbot. They are using the Cohere command model. The chatbot is generating responses that are too brief and often cut off mid-sentence. They have limited budget. What should they do?

A.Increase max tokens to 1024.
B.Decrease the temperature to 0.2.
C.Increase the temperature to 0.9.
D.Use a different base model like Llama.
AnswerA

Increasing max tokens gives the model more room to complete its response.

Why this answer

The chatbot's responses are too brief and cut off mid-sentence, which indicates the model is hitting the maximum token limit for generation. Increasing the max tokens to 1024 allows the Cohere command model to produce longer, complete responses without truncation. This is the most direct and cost-effective fix for the described symptom.

Exam trap

A common misconception is that temperature adjustments can fix response length issues, when in fact temperature only controls randomness and creativity, not the output token limit.

How to eliminate wrong answers

Option B is wrong because decreasing the temperature to 0.2 makes the model more deterministic and less creative, which does not address the issue of responses being cut off; it only reduces randomness. Option C is wrong because increasing the temperature to 0.9 increases randomness and may lead to more incoherent or off-topic responses, but it does not extend the length of the generated text. Option D is wrong because switching to a different base model like Llama would require additional integration effort and cost, and the core problem (insufficient max tokens) would persist unless the new model's token limit is also adjusted.

5
MCQmedium

Refer to the exhibit. A user receives this error when calling the OCI Gen AI inference endpoint. What is the most likely cause?

A.The region name is misspelled
B.The model is not deployed in the region
C.The API key is expired
D.The model name is incorrect
AnswerB

The error indicates the model is not supported in that region.

Why this answer

The error indicates that the model is not available in the specified region. OCI Gen AI models are deployed regionally, and each region supports only a specific subset of models. If the user calls an endpoint in a region where the requested model has not been deployed, the service returns an error because the model's inference endpoint does not exist in that region's routing table.

Exam trap

Oracle often tests the distinction between 'model not found' (invalid model name) and 'model not available in region' (valid model but not deployed there), leading candidates to incorrectly select the model name option when the error message explicitly mentions regional unavailability.

How to eliminate wrong answers

Option A is wrong because a misspelled region name would typically result in a DNS resolution failure or a 404 error, not a model-not-found error. Option C is wrong because an expired API key would cause an authentication failure (HTTP 401 Unauthorized), not a model availability error. Option D is wrong because an incorrect model name would produce a 'model not found' or 'invalid model' error, but the error message in the exhibit specifically states the model is not available in the region, not that the model name is invalid.

6
MCQhard

An organization deploys a fine-tuned model for legal document analysis using OCI Generative AI Service. They need to ensure that only authorized users in the 'LegalTeam' group can access the model endpoint. Which policy statement should be used?

A.Allow group LegalTeam to use generative-ai-model in compartment ABC
B.Allow group LegalTeam to manage generative-ai-family in compartment ABC
C.Allow group LegalTeam to read generative-ai-model in compartment ABC
D.Allow group LegalTeam to inspect generative-ai-model in compartment ABC
AnswerA

Use permission allows invoking the model for inference.

Why this answer

The 'use' verb on the 'generative-ai-model' resource type grants the LegalTeam group permission to invoke the model endpoint for inference, which is the minimum privilege required for accessing a deployed fine-tuned model in OCI Generative AI Service. The 'use' permission specifically allows calling the model for text generation or analysis without granting broader management or read capabilities.

Exam trap

Oracle often tests the distinction between 'use' and 'read' on resource types that support inference endpoints, where candidates mistakenly assume 'read' is sufficient for accessing the model's functionality, but only 'use' grants the actual invocation permission required for inference operations.

How to eliminate wrong answers

Option B is wrong because 'manage' on 'generative-ai-family' grants full administrative control over all Generative AI resources (including creating, updating, deleting models and endpoints), which exceeds the requirement of only accessing the model endpoint and violates the principle of least privilege. Option C is wrong because 'read' on 'generative-ai-model' allows viewing model metadata and configuration but does not include the permission to invoke the model endpoint for inference, which requires the 'use' verb. Option D is wrong because 'inspect' on 'generative-ai-model' only permits listing and viewing basic resource information (like tags and identifiers) and provides no ability to call the model endpoint for legal document analysis.

7
MCQeasy

A data scientist wants to quickly test a prompt with different parameters like temperature and max tokens without writing code. Which OCI GenAI feature should they use?

A.OCI CLI.
B.OCI Generative AI Playground.
C.OCI SDK.
D.OCI Data Science Notebooks.
AnswerB

Playground allows visual prompt testing with adjustable parameters.

Why this answer

The OCI Generative AI Playground is a web-based, no-code interface that allows data scientists to interactively test prompts and adjust parameters like temperature and max tokens without writing any code. This directly matches the user's requirement for quick, code-free experimentation.

Exam trap

The trap here is that candidates may confuse the OCI CLI or SDK as 'quick' tools, but the question explicitly requires 'without writing code,' which only the Playground satisfies.

How to eliminate wrong answers

Option A is wrong because the OCI CLI is a command-line tool that requires writing and executing commands, not a no-code interface for interactive prompt testing. Option C is wrong because the OCI SDK is a software development kit used for programmatic access via code in languages like Python or Java, which contradicts the 'without writing code' requirement. Option D is wrong because OCI Data Science Notebooks are Jupyter-based environments that require writing Python code to invoke the Generative AI service, not a no-code playground.

8
MCQmedium

A data scientist is using OCI Generative AI Service to generate product descriptions. They notice that the output often repeats phrases. Which parameter adjustment would MOST directly address this issue?

A.Increase the temperature
B.Increase the max tokens
C.Increase the frequency penalty
D.Decrease the top-p value
AnswerC

Frequency penalty penalizes tokens that have already appeared, reducing repetition.

Why this answer

The frequency penalty directly reduces the likelihood of the model repeating the same phrases by penalizing tokens that have already appeared in the generated text. In OCI Generative AI Service, this parameter subtracts a fixed value from the log-probability of each token each time it is generated, making repeated tokens less likely to be chosen again. This is the most direct mechanism to address repetitive output.

Exam trap

Oracle often tests the distinction between frequency penalty and temperature, where candidates mistakenly think increasing randomness (temperature) will reduce repetition, but temperature actually increases variability without targeting repetition directly.

How to eliminate wrong answers

Option A is wrong because increasing temperature adds randomness to the token selection process by scaling the logits before applying softmax, which can lead to more diverse but also more chaotic output, not specifically reducing repetition. Option B is wrong because increasing max tokens only extends the maximum length of the generated text, which may actually allow more repetition to occur rather than preventing it. Option D is wrong because decreasing top-p (nucleus sampling) restricts the sampling pool to the smallest set of tokens whose cumulative probability exceeds the threshold, which can reduce diversity and potentially increase repetition by focusing on high-probability tokens.

9
Multi-Selectmedium

Which TWO of the following are valid ways to reduce latency when using OCI Generative AI Service?

Select 2 answers
A.Use a dedicated AI cluster
B.Reduce the max tokens parameter
C.Deploy the model in a different region
D.Use a larger model
E.Batch multiple requests
AnswersA, B

Dedicated cluster provides consistent performance and lower latency.

Why this answer

A dedicated AI cluster provides isolated compute resources (GPU nodes) for inference, eliminating resource contention from other tenants or workloads. This ensures consistent low-latency responses because the model is always warm and available without queueing delays, which is critical for real-time applications.

Exam trap

Oracle often tests the misconception that deploying in a different region or using a larger model improves performance, when in fact these actions increase latency due to network distance and computational overhead.

10
MCQmedium

An organization wants to use OCI Generative AI for real-time document translation. They need high availability across regions. Which deployment option meets this requirement?

A.Single dedicated AI cluster in one region
B.Multiple dedicated AI clusters in different regions with a load balancer
C.Single serverless endpoint
D.Multiple serverless endpoints in different regions
AnswerB

Multi-region with load balancing ensures continuity even if one region is down.

Why this answer

Deploying multiple dedicated AI clusters across different regions with a load balancer ensures high availability by distributing traffic and providing failover if one region becomes unavailable. OCI Generative AI dedicated AI clusters are provisioned per region, and a load balancer can route requests to healthy clusters, meeting the requirement for real-time document translation with cross-region redundancy.

Exam trap

The trap here is that candidates often assume serverless endpoints inherently provide multi-region high availability, but in OCI Generative AI, serverless endpoints are region-scoped and do not include built-in cross-region failover or load balancing.

How to eliminate wrong answers

Option A is wrong because a single dedicated AI cluster in one region creates a single point of failure, failing the high-availability requirement. Option C is wrong because a single serverless endpoint is also region-specific and lacks cross-region redundancy, so it cannot provide high availability across regions. Option D is wrong because multiple serverless endpoints in different regions without a load balancer cannot automatically distribute traffic or handle failover; they require external routing logic to achieve high availability, which is not inherent in the serverless endpoint model.

11
Multi-Selecthard

Which THREE models are available as part of the OCI Generative AI service?

Select 3 answers
A.Llama 3
B.GPT-4
C.Cohere Command
D.Stable Diffusion
E.Cohere Embed
AnswersA, C, E

Meta's Llama 3 is available in OCI GenAI.

Why this answer

Llama 3 is one of the open-source large language models (LLMs) available through the OCI Generative AI service, alongside Cohere models. OCI Generative AI provides managed access to Llama 3 for text generation tasks, allowing users to deploy and fine-tune it within Oracle Cloud Infrastructure.

Exam trap

Oracle often tests the distinction between models available natively in OCI Generative AI versus those accessible only through external integrations, leading candidates to mistakenly include popular models like GPT-4 that are not part of the managed service.

12
MCQmedium

A healthcare company must use OCI Generative AI for medical report generation. They need to ensure PHI is not sent to third-party models. Which approach best ensures data stays within OCI?

A.Use OCI Gen AI service with fine-tuned model on a dedicated AI cluster
B.Use OCI Gen AI service with base model in a multi-tenant environment
C.Use OCI Gen AI service with base model in a dedicated AI cluster
D.Use a third-party LLM via API Gateway
AnswerA

Correct. A fine-tuned model on a dedicated AI cluster keeps all data within OCI and provides domain-specific accuracy.

Why this answer

Using OCI Gen AI service with a fine-tuned model on a dedicated AI cluster ensures that all data (including PHI) remains within OCI's infrastructure, as the dedicated cluster is isolated and no data is sent to third-party models. Fine-tuning also provides the accuracy needed for medical report generation. Option B uses a multi-tenant environment, which may have data isolation concerns but still within OCI; however, it does not involve fine-tuning, so it is less optimal for the medical domain.

Option C uses a dedicated cluster but with a base model, which means no fine-tuning on medical data, so it may not provide the required accuracy, though data stays within OCI. Option D sends data to a third-party LLM, violating PHI requirements.

13
MCQhard

A company is using OCI Generative AI to generate code snippets and notices that the model sometimes produces code with security vulnerabilities. They have a small dataset of secure code examples. Which approach would be most effective to reduce vulnerabilities?

A.Use a different base model.
B.Fine-tune the model on the small secure code dataset.
C.Use prompt engineering with security constraints in the instruction.
D.Deploy a custom model hosted elsewhere.
AnswerC

Prompt engineering can enforce security rules without needing large datasets.

Why this answer

Prompt engineering allows the company to inject security constraints directly into the instruction without requiring additional training data or infrastructure. By crafting a prompt that explicitly requests secure code (e.g., 'Generate code that follows OWASP Top 10 best practices and avoids SQL injection, XSS, and buffer overflows'), the model can leverage its existing knowledge to produce safer outputs. This approach is immediate, cost-effective, and does not depend on the size or quality of the small secure code dataset.

Exam trap

The trap here is that candidates often assume fine-tuning (Option B) is always the best solution for domain-specific improvements, but they overlook the practical limitations of small datasets and the immediate effectiveness of prompt engineering for security constraints.

How to eliminate wrong answers

Option A is wrong because switching to a different base model does not guarantee reduced vulnerabilities; all general-purpose models can produce insecure code without explicit guidance, and the issue lies in the lack of security-focused constraints, not the model architecture. Option B is wrong because fine-tuning on a small dataset of secure code examples is unlikely to generalize well; the model may overfit to the limited examples and fail to address the wide variety of vulnerabilities that can appear in different contexts, and fine-tuning requires significant computational resources and expertise. Option D is wrong because deploying a custom model hosted elsewhere introduces additional complexity, cost, and latency without addressing the root cause; the problem is not about hosting location but about how the model is instructed to prioritize security.

14
MCQeasy

A company wants to use OCI Generative AI to summarize customer feedback. They need low latency and high throughput. Which configuration should they choose?

A.Serverless endpoint with fine-tuned model
B.Dedicated AI cluster with base model
C.Dedicated AI cluster with fine-tuned model
D.Serverless endpoint with base model
AnswerB

Correct: Dedicated resources ensure low latency and high throughput.

Why this answer

Dedicated AI clusters provide guaranteed compute resources (GPUs) with no multi-tenant contention, ensuring low latency and high throughput for inference workloads. Using a base model avoids the additional overhead of fine-tuning inference, which can introduce latency due to custom weight loading and optimization steps. This combination is optimal for real-time summarization of customer feedback where response time and volume are critical.

Exam trap

Oracle often tests the misconception that fine-tuned models always outperform base models for latency, when in fact fine-tuning adds inference overhead that can degrade performance for high-throughput, low-latency use cases.

How to eliminate wrong answers

Option A is wrong because serverless endpoints share resources across tenants, leading to variable latency and potential throttling under high throughput demands, which contradicts the low-latency requirement. Option C is wrong because a fine-tuned model on a dedicated cluster adds inference overhead from custom weights and may require additional pre/post-processing, increasing latency compared to a base model. Option D is wrong because serverless endpoints with a base model still suffer from multi-tenant resource contention, making them unsuitable for guaranteed low latency and high throughput.

15
MCQhard

A company is deploying OCI Generative AI for a chatbot that must answer customer queries within 500ms. They choose a dedicated AI cluster but observe 2-second latency. What is the most likely cause?

A.The endpoint is not cached
B.The cluster is configured for batch inference
C.The request includes too many tokens
D.The model is too large for the cluster
AnswerB

Batch inference mode processes requests in batches, increasing latency significantly.

Why this answer

A dedicated AI cluster in OCI Generative AI is designed for real-time inference with low latency. When the cluster is configured for batch inference, it processes requests in batches rather than individually, which introduces queuing and processing delays that can easily exceed the 500ms target. This explains the observed 2-second latency, as batch mode prioritizes throughput over per-request response time.

Exam trap

The trap here is that candidates may assume any latency issue is due to model size or token limits, but Oracle often tests the distinction between real-time and batch inference configurations in dedicated clusters.

How to eliminate wrong answers

Option A is wrong because caching is not a feature of OCI Generative AI endpoints; the latency issue stems from inference processing, not from cache misses. Option C is wrong because while excessive tokens can increase latency, the 2-second delay is more consistent with batch processing overhead than with token count alone, and the cluster should handle typical token limits within the 500ms target. Option D is wrong because the model size is fixed when the dedicated cluster is provisioned; if the model were too large, the cluster would fail to deploy or would show errors, not simply exhibit high latency.

16
MCQmedium

Which authentication method should be used to securely call the OCI Generative AI API from a microservice running on OCI Compute?

A.OAuth 2.0 client credentials
B.SAML 2.0 assertion
C.Instance principal
D.OCI API signing key
AnswerD

OCI API signing key (a key pair) is the standard method for authenticating API requests.

Why this answer

The OCI API signing key method uses a pre-generated RSA key pair to sign each HTTP request cryptographically, which is the standard and most secure way to authenticate calls to OCI services, including the Generative AI API, from a microservice running on OCI Compute. This method does not rely on external identity providers or token exchanges, making it ideal for server-to-server communication within OCI.

Exam trap

A common misconception is that instance principal authentication is the default or only secure method for OCI Compute instances, but the exam trap here is that instance principal requires dynamic group configuration and is not the direct authentication method for the OCI API; the API signing key is the explicit, universally supported method for programmatic API calls from any client, including a Compute instance.

How to eliminate wrong answers

Option A is wrong because OAuth 2.0 client credentials are typically used for third-party application access to OCI resources via identity federation, not for direct API calls from an OCI Compute instance; OCI does not natively support OAuth 2.0 client credentials for its core APIs. Option B is wrong because SAML 2.0 assertions are used for federated single sign-on (SSO) with identity providers, not for programmatic API authentication from a compute instance; they require a browser-based flow and are not designed for server-to-server API calls. Option C is wrong because instance principal authentication uses a dynamic resource principal token obtained from the OCI metadata service, which is designed for services like Functions or OKE, not for direct API signing from a standard Compute instance; it requires the instance to be in a dynamic group with proper policies, but the question asks for the method to 'securely call' the API, and the API signing key is the explicit, direct method for such calls.

17
MCQmedium

Refer to the exhibit. A developer runs the command and receives the error. What is the issue?

A.The max-tokens value exceeds the allowed range.
B.The message is too short.
C.The chat-id is invalid.
D.The endpoint is incorrect.
AnswerA

The error explicitly states the valid range.

Why this answer

The max-tokens parameter is set to 600, which exceeds the allowed range of 1 to 500.

18
Multi-Selectmedium

Which TWO factors are most important when deciding between on-demand and dedicated AI clusters for OCI GenAI?

Select 2 answers
A.Fine-tuning capability
B.Model size
C.Data residency
D.Number of concurrent requests
E.Latency requirements
AnswersD, E

Dedicated clusters are better for high concurrency due to reserved capacity.

Why this answer

The number of concurrent requests (D) is critical because dedicated AI clusters provide guaranteed throughput and predictable performance for high-volume workloads, while on-demand clusters may throttle or queue requests under heavy load. Latency requirements (E) are equally important because dedicated clusters offer consistent low-latency inference by avoiding resource contention, whereas on-demand clusters can introduce variable latency due to shared infrastructure. Together, these factors directly determine whether a workload needs the isolation and guaranteed resources of a dedicated cluster or can tolerate the elasticity and potential variability of on-demand provisioning.

Exam trap

Oracle often tests the misconception that fine-tuning capability or model size are primary differentiators between on-demand and dedicated clusters, when in fact both cluster types support these features, and the real decision hinges on concurrency and latency guarantees.

19
MCQeasy

A company requires a generative AI service to automatically summarize customer support transcripts. Which OCI Generative AI model is most suitable for this task?

A.Llama 3 70B
B.Cohere Embed
C.Cohere Command
D.Fine-tuned Llama 2
AnswerC

Cohere Command is designed for text generation, including summarization, and is a direct choice for this scenario.

Why this answer

Cohere Command is a large language model specifically designed for text generation tasks such as summarization, making it the most suitable choice for automatically summarizing customer support transcripts. Unlike embedding models or base Llama variants, Command is optimized for instruction-following and generating coherent, concise summaries from conversational data.

Exam trap

Oracle often tests the distinction between embedding models (Cohere Embed) and generative models (Cohere Command), leading candidates to mistakenly choose an embedding model for a text generation task like summarization.

How to eliminate wrong answers

Option A is wrong because Llama 3 70B is a general-purpose generative model that, while capable of summarization, is not specifically optimized for the summarization task in OCI Generative AI service; Cohere Command is the designated model for text generation and summarization within OCI. Option B is wrong because Cohere Embed is a text embedding model designed for semantic search and similarity tasks, not for generating summaries or any text output. Option D is wrong because Fine-tuned Llama 2, though customizable, is not a pre-built model offered by OCI Generative AI for summarization; OCI provides Cohere Command as the primary ready-to-use model for such generative tasks.

20
MCQeasy

A startup wants to quickly prototype a chatbot using OCI Generative AI service. They have no prior experience with OCI. They want to test different models and parameters without writing any code and within a few minutes. They also want to save prompts and compare results. Which approach should they use?

A.Create a dedicated AI cluster and use the OCI SDK.
B.Use the OCI Generative AI Playground.
C.Use OCI Data Science Notebooks with the GenAI SDK.
D.Use OCI Functions to invoke the GenAI API.
AnswerB

Playground offers immediate testing with no code and built-in history.

Why this answer

The OCI Generative AI Playground is a no-code, web-based interface that allows users to quickly test different models and parameters, save prompts, and compare results without writing any code or having prior OCI experience. It directly meets the startup's requirement for rapid prototyping within minutes.

Exam trap

The exam often tests the distinction between no-code tools (Playground) versus code-based or infrastructure-heavy approaches (SDK, Notebooks, Functions), and the trap here is assuming that any OCI service requires coding or prior cloud experience, leading candidates to overlook the Playground's purpose-built simplicity.

How to eliminate wrong answers

Option A is wrong because creating a dedicated AI cluster and using the OCI SDK requires significant infrastructure setup, coding, and OCI experience, which contradicts the 'no code' and 'few minutes' requirements. Option C is wrong because OCI Data Science Notebooks with the GenAI SDK still require writing Python code and managing a notebook environment, not a no-code solution. Option D is wrong because OCI Functions requires writing and deploying serverless functions with code to invoke the GenAI API, which is not a no-code approach and takes more time than using the Playground.

21
MCQeasy

A developer wants to integrate OCI GenAI into a Java application. Which SDK should they use?

A.OCI JavaScript SDK.
B.OCI Python SDK.
C.OCI Java SDK.
D.OCI CLI.
AnswerC

The Java SDK is designed for Java applications.

Why this answer

The OCI Java SDK provides native Java support for calling OCI services, including OCI Generative AI, making it the appropriate choice for a Java application. Options A and B are SDKs for other languages, and option D is a CLI tool, not an SDK.

22
Multi-Selectmedium

Which THREE are valid ways to interact with OCI Generative AI?

Select 3 answers
A.OCI Mobile App.
B.OCI Data Science Notebooks.
C.OCI REST API.
D.OCI CLI.
E.OCI Console Playground.
AnswersC, D, E

REST API is the underlying interface for all interactions.

Why this answer

OCI Generative AI exposes a comprehensive REST API that allows developers to programmatically interact with the service for tasks such as text generation, summarization, and chat. The REST API uses standard HTTP methods and JSON payloads, making it accessible from any language or tool that can send HTTP requests.

Exam trap

Candidates often confuse management tools (like OCI Mobile App or Data Science Notebooks) with direct inference interfaces. Only the REST API, CLI, and Console Playground allow direct interaction with OCI Generative AI models.

23
MCQmedium

A financial firm wants to use OCI Generative AI for contract analysis. They need to reduce costs by using a smaller, specialized model. Which approach should they take?

A.Use a large base model (e.g., Cohere Command) on a serverless endpoint
B.Use a large base model on a dedicated AI cluster
C.Use a third-party LLM
D.Fine-tune a smaller base model on a dedicated AI cluster
AnswerD

Smaller fine-tuned model reduces cost while meeting specialization needs.

Why this answer

Fine-tuning a smaller base model on a dedicated AI cluster allows the financial firm to tailor the model specifically for contract analysis tasks, reducing computational overhead and cost compared to using a large general-purpose model. OCI Generative AI supports fine-tuning of smaller models like Cohere Command Light on dedicated AI clusters, enabling domain-specific optimization without the expense of running a large model for every inference.

Exam trap

Oracle often tests the misconception that larger models are always better for specialized tasks, but the trap here is that fine-tuning a smaller model on a dedicated AI cluster provides both cost efficiency and domain accuracy, which candidates overlook in favor of familiar large-model options.

How to eliminate wrong answers

Option A is wrong because using a large base model (e.g., Cohere Command) on a serverless endpoint incurs higher per-token costs and lacks the specialization needed for contract analysis, contradicting the requirement to reduce costs with a smaller model. Option B is wrong because deploying a large base model on a dedicated AI cluster increases infrastructure costs and still does not provide the targeted performance of a fine-tuned smaller model for contract-specific tasks. Option C is wrong because using a third-party LLM introduces data sovereignty, latency, and integration concerns, and does not leverage OCI's native fine-tuning capabilities for cost-effective specialization.

24
MCQmedium

A retail company uses OCI Generative AI Agents to power a product recommendation chatbot on their e-commerce website. The chatbot is integrated with a knowledge base containing product descriptions, customer reviews, and inventory data. Recently, the chatbot has started recommending out-of-stock products frequently, leading to customer frustration. The development team verified that the knowledge base is updated in real-time with inventory data. The chatbot's configuration uses a chunking strategy with a chunk size of 500 tokens and an overlap of 50 tokens. The team suspects the issue is related to how the agent retrieves information. They have access to OCI Logging and Monitoring. Which course of action should the team take first?

A.Decrease the chunk size to 250 tokens to make chunks more specific.
B.Reduce the temperature parameter of the model to 0.2 to reduce hallucinations.
C.Enable auto-scaling on the AI cluster to improve response speed.
D.Increase the chunk overlap from 50 to 150 tokens to ensure inventory status is captured in multiple chunks.
AnswerD

Greater overlap ensures that inventory updates are not missed, improving the relevance of retrieved context.

Why this answer

The core issue is that the chatbot retrieves chunks that contain product descriptions but may miss the inventory status because the chunking strategy does not reliably include both pieces of information together. Increasing the chunk overlap from 50 to 150 tokens ensures that inventory data, which may be at the boundary of a chunk, is captured in multiple overlapping chunks, thereby increasing the likelihood that the retrieval step returns a chunk containing both the product and its current stock level. This directly addresses the retrieval gap without altering model behavior or infrastructure.

Exam trap

Oracle often tests the misconception that retrieval issues are always solved by adjusting model parameters (like temperature) or infrastructure scaling, when the real fix lies in tuning the chunking strategy to ensure critical metadata is not lost at chunk boundaries.

How to eliminate wrong answers

Option A is wrong because decreasing chunk size to 250 tokens would make chunks more specific but would also increase the number of chunks and the risk that inventory status is split across even more chunks, potentially worsening the problem. Option B is wrong because reducing the temperature parameter reduces randomness in generation but does not affect how the agent retrieves information from the knowledge base; the issue is retrieval, not hallucination. Option C is wrong because enabling auto-scaling improves response speed and throughput but does not change the content or structure of the chunks being retrieved, so it cannot fix the missing inventory data.

25
MCQmedium

A company uses OCI Generative AI Service to build a chatbot for customer support. They notice that the model sometimes generates inappropriate responses. What is the MOST effective way to mitigate this without retraining the model?

A.Fine-tune the model with curated safe examples
B.Configure system instructions to define acceptable behavior
C.Reduce the temperature parameter to 0
D.Use the moderation API to filter responses
AnswerB

System instructions constrain the model's output at inference time without retraining.

Why this answer

Configuring system instructions is the most effective approach because it allows you to define the model's behavior and constraints at inference time without modifying the underlying model weights. In OCI Generative AI Service, system instructions act as a persistent prompt that guides the model's responses, enabling you to explicitly prohibit inappropriate content and enforce safety guidelines. This is a non-invasive, immediate mitigation that does not require the time, cost, or data preparation associated with retraining or fine-tuning.

Exam trap

Oracle often tests the distinction between inference-time controls (like system instructions) and training-time modifications (like fine-tuning), trapping candidates who assume that only retraining can fix behavioral issues, when in fact prompt-level constraints are the fastest and most practical solution for immediate mitigation.

How to eliminate wrong answers

Option A is wrong because fine-tuning requires retraining the model with curated datasets, which is time-consuming, resource-intensive, and contradicts the question's constraint of 'without retraining the model.' Option C is wrong because reducing the temperature to 0 makes the model deterministic and less creative, but it does not prevent inappropriate responses—it only reduces randomness, not the likelihood of generating harmful content based on learned patterns. Option D is wrong because OCI Generative AI Service does not have a built-in 'moderation API' like some other cloud providers; while you could implement a separate content filter, this would be an external post-processing step rather than a direct configuration of the model's behavior, and the question asks for the most effective method within the service itself.

26
MCQmedium

A data scientist receives an error when calling the embed_text API: "InvalidRequest: input too long". What is the most likely cause and solution?

A.The model specified is not supported for embeddings; use a different model.
B.The input text exceeds the maximum token limit for the model; truncate the input.
C.The API request rate exceeds the tenancy limit; reduce the request rate.
D.The API key is invalid or expired; regenerate the key.
AnswerB

Embedding models have a fixed maximum input length.

Why this answer

The error 'InvalidRequest: input too long' indicates that the input text exceeds the maximum token limit for the embedding model. OCI Generative AI embedding models, like all transformer-based models, have a fixed context window (e.g., 512 or 1024 tokens). The solution is to truncate the input to fit within that limit, as the API will reject overly long inputs.

Exam trap

Oracle OCI GenAI exams often test the distinction between different error types (input length vs. rate limits vs. authentication) to see if candidates can map specific error messages to their root causes.

How to eliminate wrong answers

Option A is wrong because the error message specifically mentions 'input too long', not an unsupported model; unsupported models would return a different error like 'Model not found' or 'Invalid model'. Option C is wrong because rate limit errors typically return '429 Too Many Requests' or 'RateLimitExceeded', not 'InvalidRequest: input too long'. Option D is wrong because invalid or expired API keys return '401 Unauthorized' or 'Invalid API Key', not an input length error.

27
Multi-Selecthard

Which THREE factors should be considered when choosing between fine-tuning a model and using a pre-trained model with prompt engineering? (Select three.)

Select 3 answers
A.Required response time
B.Size of available dataset
C.Internet connectivity
D.Available budget for compute resources
E.Need for domain-specific terminology
AnswersB, D, E

Fine-tuning requires a sufficiently large dataset; prompt engineering can work with few examples.

Why this answer

The size of the available dataset is a critical factor: fine-tuning requires a sufficiently large, labeled dataset (typically thousands of examples) to adjust model weights effectively, while prompt engineering can work with zero or few examples. If the dataset is too small, fine-tuning risks overfitting and poor generalization, making prompt engineering the safer choice.

Exam trap

Oracle often tests the misconception that response time or internet connectivity are decisive factors, when in reality the core trade-off is between data availability and the need for deep domain adaptation versus lightweight, zero-shot customization.

28
Multi-Selecthard

Which THREE factors are important when designing a multi-turn conversational agent using OCI Generative AI Agents?

Select 3 answers
A.Always generate the longest possible response to be thorough.
B.Manage the context window size to avoid truncating important earlier messages.
C.Implement guardrails to detect and filter sensitive topics or harmful intents.
D.Disable logging to reduce latency and cost.
E.Enable session management to maintain conversation history across turns.
AnswersB, C, E

If the context window is too small, the agent may lose track of earlier parts of the conversation.

Why this answer

Managing the context window size is critical because OCI Generative AI Agents have a fixed token limit for the conversation history. If the context window is exceeded, the agent truncates the oldest messages, which can remove essential context from earlier turns, leading to incoherent or incorrect responses. Proper management ensures that the most relevant history is retained without exceeding the model's maximum input length.

Exam trap

Oracle often tests the misconception that longer responses are better for thoroughness, when in fact they degrade performance and user experience, and that disabling logging is a harmless optimization, whereas it removes critical observability and debugging capabilities.

29
MCQeasy

A startup is building a chatbot for customer support using OCI Generative AI Service. The chatbot needs to answer queries about product features based on a knowledge base of product documentation. Which configuration is most appropriate for this use case?

A.Use the Summarization task type to generate concise answers from the documentation.
B.Use a Cohere Command model with the knowledge base as context in a prompt, and enable retrieval-augmented generation (RAG) via OCI Generative AI Agents.
C.Fine-tune a Llama 2 70B model on the product documentation to create a custom model.
D.Use the Code Generation model to produce SQL queries that retrieve answers from a database.
AnswerB

This approach uses a foundation model with RAG to ground responses in the knowledge base, which is ideal for question answering.

Why this answer

OCI Generative AI Agents with retrieval-augmented generation (RAG) allows the chatbot to dynamically retrieve relevant chunks from the product documentation knowledge base and inject them as context into a Cohere Command model prompt. This approach ensures answers are grounded in the latest documentation without requiring fine-tuning, and it scales efficiently as the knowledge base grows.

Exam trap

Oracle often tests the distinction between task-specific models (summarization, code generation) and the RAG architecture, leading candidates to mistakenly choose a simpler task type like summarization instead of recognizing the need for retrieval-augmented generation.

How to eliminate wrong answers

Option A is wrong because the Summarization task type is designed to condense a given text into a shorter summary, not to answer specific queries by retrieving and reasoning over a knowledge base; it lacks the retrieval component needed for question answering. Option C is wrong because fine-tuning a Llama 2 70B model on product documentation would be computationally expensive, requires significant labeled data, and does not easily accommodate updates to the documentation without retraining, making it impractical for a dynamic knowledge base. Option D is wrong because Code Generation models are specialized for generating code (e.g., SQL, Python), not for answering natural language questions from a knowledge base; using SQL queries would require a structured database schema, which is not the case for unstructured product documentation.

30
MCQeasy

A retail company wants to generate product descriptions from attribute data. They have no prior AI experience. Which approach is most appropriate?

A.Use the Cohere Command model with carefully crafted prompts.
B.Train a custom model from scratch.
C.Fine-tune a model on a synthetic dataset.
D.Use the Cohere Embed model to generate embeddings and then decode.
AnswerA

Cohere Command can generate descriptions directly with simple prompts, requiring no additional training.

Why this answer

The Cohere Command model is specifically designed for text generation tasks like creating product descriptions from attribute data. With no prior AI experience, using a pre-trained model with carefully crafted prompts is the most efficient and accessible approach, requiring no custom training or complex infrastructure.

Exam trap

OCI GenAI often tests the distinction between generative models (like Cohere Command) and embedding models (like Cohere Embed), leading candidates to mistakenly choose the Embed model for text generation tasks when it is only designed for semantic similarity and retrieval.

How to eliminate wrong answers

Option B is wrong because training a custom model from scratch requires extensive AI expertise, large labeled datasets, and significant computational resources, which is impractical for a company with no prior AI experience. Option C is wrong because fine-tuning a model on a synthetic dataset still requires AI knowledge to generate realistic synthetic data and manage the fine-tuning process, and synthetic data may not capture real-world nuances, leading to poor generalization. Option D is wrong because the Cohere Embed model generates embeddings (vector representations) for semantic similarity or search, not text generation; decoding embeddings back into coherent product descriptions is not a standard or supported capability of the Embed model.

31
MCQmedium

A developer is using OCI Generative AI Service to generate product descriptions. The outputs are often too generic and lack brand-specific tone. The developer has a small set of 20 high-quality example descriptions. What is the most efficient approach to improve output quality?

A.Fine-tune a base model on the 20 examples.
B.Use few-shot prompting by including the 20 examples in the prompt.
C.Use a more detailed system prompt describing the brand tone.
D.Use chain-of-thought prompting to guide the model step by step.
AnswerB

Few-shot prompting leverages examples without retraining, ideal for small datasets.

Why this answer

Few-shot prompting is the most efficient approach when you have a small set of high-quality examples (20 in this case). It allows the model to infer the desired tone and style directly from the provided examples without requiring any training or fine-tuning, which would be inefficient and potentially ineffective with such a small dataset. In OCI Generative AI Service, few-shot prompting leverages the model's in-context learning capability to adapt its output to the brand-specific tone.

Exam trap

Oracle often tests the misconception that fine-tuning is always the best approach for customization, but candidates overlook the fact that with very small datasets (like 20 examples), few-shot prompting is more practical and efficient than fine-tuning.

How to eliminate wrong answers

Option A is wrong because fine-tuning a base model on only 20 examples is inefficient and unlikely to produce reliable results; fine-tuning typically requires hundreds to thousands of high-quality examples to avoid overfitting and to meaningfully adjust model weights. Option C is wrong because a more detailed system prompt describing the brand tone, while helpful, is less effective than providing concrete examples; the model may still produce generic outputs without specific stylistic references. Option D is wrong because chain-of-thought prompting is designed to improve reasoning and step-by-step logic, not to adapt tone or style; it does not address the core issue of generating brand-specific product descriptions.

32
Multi-Selecthard

Which THREE parameters can be adjusted to reduce repetition in generated text? (Choose three.)

Select 3 answers
A.presence_penalty
B.top_k
C.max_tokens
D.frequency_penalty
E.temperature
AnswersA, B, D

Penalizes tokens that have appeared at all.

Why this answer

A is correct because presence_penalty directly penalizes tokens that have already appeared in the generated text, reducing the likelihood of repeating the same concepts or phrases. This parameter works by subtracting a fixed penalty from the logits of tokens that are already present in the sequence, making the model less likely to reuse them.

Exam trap

Oracle OCI often tests the distinction between parameters that control output length (max_tokens) versus those that control repetition (presence_penalty, frequency_penalty), and candidates mistakenly think temperature reduces repetition when it actually controls randomness.

33
Multi-Selectmedium

Which TWO measures can help reduce the risk of generating toxic or unsafe content when using OCI Generative AI Service?

Select 2 answers
A.Use few-shot prompting with examples that demonstrate safe and appropriate responses.
B.Disable model monitoring and logging to reduce overhead.
C.Increase the temperature parameter to make output more deterministic.
D.Fine-tune the model on a large dataset without any safety filtering.
E.Enable the built-in content filtering features provided by OCI Generative AI Service.
AnswersA, E

Safe examples help steer the model toward desired behavior.

Why this answer

Few-shot prompting provides the model with explicit examples of safe, appropriate responses, which helps steer the model's behavior toward desired outputs and reduces the likelihood of generating toxic or unsafe content. This technique leverages in-context learning to align the model's responses with the provided examples, making it a practical measure for content safety.

Exam trap

Oracle often tests the misconception that increasing temperature or disabling monitoring improves safety, when in fact these actions increase randomness and reduce oversight, respectively.

34
MCQhard

A financial services company has deployed a custom fine-tuned model using OCI Generative AI service on a dedicated AI cluster for automated report generation. They use a Python application that sends prompts via the OCI SDK. Recently, they started seeing 429 Too Many Requests errors intermittently. The dedicated cluster has 2 replicas and the application is making about 100 requests per second. The cluster's documented throughput is 50 requests per second per replica. The company has not set up any throttling limits. What is the most likely cause of the 429 errors?

A.The application is exceeding the cluster's replica capacity.
B.The OCI SDK version is outdated.
C.The API calls are not authenticated.
D.The model's context window is too small for the prompts.
AnswerA

The cluster is at maximum throughput; bursts push over the limit.

Why this answer

The dedicated AI cluster has 2 replicas, each supporting 50 requests per second, for a total capacity of 100 requests per second. The application is sending exactly 100 requests per second, which matches the cluster's maximum throughput. However, without any throttling limits configured, the service will still enforce its built-in rate limits at the replica level, and any transient burst or uneven distribution across replicas can trigger 429 Too Many Requests errors.

The most likely cause is that the application is operating at the cluster's replica capacity boundary, leading to intermittent throttling.

Exam trap

The trap here is that candidates may assume the total cluster capacity (100 req/s) is the limiting factor, but the 429 errors occur because each replica enforces its own 50 req/s limit, and uneven request distribution or bursts can cause individual replicas to be overwhelmed.

How to eliminate wrong answers

Option B is wrong because an outdated OCI SDK version would typically cause compatibility issues or missing features, not 429 errors, which are specifically about rate limiting. Option C is wrong because unauthenticated API calls would result in 401 Unauthorized or 403 Forbidden errors, not 429 Too Many Requests. Option D is wrong because a model's context window size affects the length of prompts or responses, not the rate at which requests are processed; 429 errors are unrelated to context window constraints.

35
MCQeasy

Which OCI Generative AI parameter controls the diversity of generated text by increasing the probability of less likely tokens?

A.frequency_penalty
B.top_k
C.temperature
D.top_p
AnswerC

Higher temperature increases randomness by scaling logits before softmax.

Why this answer

The temperature parameter in OCI Generative AI controls the randomness of token selection by scaling the logits before applying the softmax function. A higher temperature (e.g., > 1.0) increases the probability of less likely tokens, making the output more diverse and creative, while a lower temperature (e.g., < 1.0) sharpens the distribution toward the most likely tokens, producing more deterministic and conservative text.

Exam trap

The OCI Generative AI exam often tests the distinction between temperature and top_p/top_k by asking which parameter directly scales probabilities to favor less likely tokens, leading candidates to confuse sampling strategies (top_p/top_k) with the logit scaling mechanism (temperature).

How to eliminate wrong answers

Option A is wrong because frequency_penalty reduces the likelihood of tokens that have already appeared in the generated text, thereby discouraging repetition but not directly increasing the probability of less likely tokens. Option B is wrong because top_k limits the sampling pool to the k most likely next tokens, which can reduce diversity by excluding less likely tokens entirely. Option D is wrong because top_p (nucleus sampling) selects from the smallest set of tokens whose cumulative probability exceeds a threshold p, which also restricts diversity by cutting off the long tail of low-probability tokens.

36
MCQmedium

A company is fine-tuning a Llama model on OCI with dedicated AI cluster. They want to use their own training data stored in Oracle Object Storage. What must they do to ensure the fine-tuning job can access the data?

A.Upload the data to the dedicated cluster's local storage.
B.Use OCI Data Flow to transfer data.
C.Configure a resource principal for the cluster to read the bucket.
D.Create a pre-authenticated request for the bucket.
AnswerC

A service principal grants the cluster permissions to access resources like Object Storage.

Why this answer

OCI Generative AI dedicated AI clusters require a resource principal (an IAM principal) to authenticate and authorize access to data stored in Oracle Object Storage. By configuring the cluster with a resource principal that has read permissions on the bucket, the fine-tuning job can securely read the training data without exposing credentials or using public URLs.

Exam trap

The trap here is that candidates confuse OCI pre-authenticated requests (PARs) with secure IAM-based access, not realizing that PARs are designed for temporary, user-facing sharing and lack the auditability and policy control required for automated ML workloads on OCI.

How to eliminate wrong answers

Option A is wrong because dedicated AI clusters do not provide local storage for user data; training data must remain in Object Storage and be accessed remotely. Option B is wrong because OCI Data Flow is a separate Spark-based service for data processing, not a mechanism for granting access to Object Storage from a Generative AI cluster. Option D is wrong because a pre-authenticated request (PAR) provides temporary public access to a bucket or object, which is insecure and not intended for automated, long-running fine-tuning jobs that require IAM-based access control.

37
Multi-Selectmedium

Which THREE of the following are supported capabilities of OCI Generative AI Service?

Select 3 answers
A.Text summarization
B.Sentiment analysis
C.Image generation
D.Question answering
E.Code generation
AnswersA, D, E

Summarization is a core capability.

Why this answer

OCI Generative AI Service includes a dedicated text summarization capability that uses large language models (LLMs) to generate concise summaries from longer documents. This feature is part of the service's core generative AI offerings, supporting use cases like meeting notes summarization and document abstraction.

Exam trap

Oracle often tests the distinction between OCI Generative AI Service (text generation only) and other OCI AI services (e.g., AI Language for sentiment analysis, Vision for image tasks), causing candidates to mistakenly attribute all AI capabilities to the generative service.

38
MCQmedium

A company wants to use OCI Generative AI service to automatically generate product descriptions for an e-commerce catalog. They have 10,000 products. What is the best approach to ensure high-quality, consistent descriptions?

A.Use a pre-trained summarization model.
B.Use a template-based generation with keyword insertion.
C.Use the built-in chat model with few-shot examples in the prompt.
D.Fine-tune a base model on a dataset of existing product descriptions.
AnswerD

Fine-tuning adapts the model to the specific domain and produces consistent outputs across many products.

Why this answer

Fine-tuning a base model on a dataset of existing product descriptions is the best approach because it adapts the model to the specific domain, style, and vocabulary of the e-commerce catalog. This ensures high-quality, consistent outputs across 10,000 products by learning the patterns and terminology from the company's own data, rather than relying on generic or template-based methods.

Exam trap

The exam often tests the misconception that few-shot prompting (Option C) is sufficient for large-scale, consistent generation, when in reality it suffers from context window limits and lack of domain-specific adaptation, making fine-tuning the only viable option for production workloads with thousands of items.

How to eliminate wrong answers

Option A is wrong because a pre-trained summarization model is designed to condense existing text, not generate new product descriptions from scratch, and would produce inconsistent or irrelevant outputs for this task. Option B is wrong because template-based generation with keyword insertion lacks the flexibility and natural language understanding needed for 10,000 unique products, resulting in repetitive, low-quality descriptions that do not capture nuanced product features. Option C is wrong because using the built-in chat model with few-shot examples in the prompt can work for small-scale tasks but is not scalable or reliable for 10,000 products; the model may drift, exceed token limits, or fail to maintain consistent style and accuracy across such a large volume.

39
MCQmedium

A data scientist is fine-tuning a model on OCI Generative AI to generate code comments. They use a dataset of 10,000 examples. After fine-tuning, the model generates comments that are too similar to the training data and lack generalization. What is the most likely cause?

A.Incorrect tokenizer.
B.Insufficient training data.
C.Too many training epochs.
D.Too high learning rate.
AnswerC

Excessive epochs cause the model to memorize training data, reducing generalization.

Why this answer

When a fine-tuned model generates outputs that are too similar to the training data and lack generalization, it is a classic sign of overfitting. Overfitting occurs when the model is trained for too many epochs, causing it to memorize the training examples rather than learning the underlying patterns. In OCI Generative AI, the fine-tuning process adjusts model weights iteratively, and excessive epochs lead to poor performance on unseen data.

Exam trap

The trap here is that candidates often confuse overfitting (caused by too many epochs) with underfitting (caused by insufficient data or low learning rate), leading them to incorrectly select option B or D.

How to eliminate wrong answers

Option A is wrong because an incorrect tokenizer would cause tokenization errors or mismatched vocabulary, not overfitting or memorization of training data. Option B is wrong because insufficient training data typically leads to underfitting, not overfitting; with 10,000 examples, the dataset size is reasonable for fine-tuning. Option D is wrong because a too high learning rate usually causes training instability or divergence, not memorization; it would prevent the model from converging properly.

40
MCQmedium

A healthcare company is deploying an OCI Generative AI service to summarize patient notes. They have recently moved from a managed serving endpoint to a dedicated AI cluster to ensure data privacy. The fine-tuned model is deployed on a dedicated cluster in the US West region. Users report that the summarization responses are now slower and occasionally timeout. The IT team checks the metrics: the cluster has 1 replica and CPU utilization is at 90%. The Object Storage bucket containing the model artifacts is in the same region. They have increased the timeout in their client configuration to 120 seconds, but still get timeouts. What should they do first to address the issue?

A.Move the Object Storage bucket to a local NVMe cache in the cluster.
B.Move the model back to a managed serving endpoint in a different region.
C.Increase the number of replicas in the dedicated cluster.
D.Increase the max tokens parameter in the API call.
AnswerC

Adding replicas provides more compute capacity to handle the load.

Why this answer

The dedicated AI cluster has only 1 replica and CPU utilization is at 90%, indicating that the single replica is overloaded and cannot handle the inference request volume. Increasing the number of replicas distributes the load, reduces latency, and prevents timeouts. This is the most direct and scalable fix for performance bottlenecks in a dedicated OCI Generative AI cluster.

Exam trap

The trap here is that candidates may focus on storage or client-side tuning (like timeout or token limits) instead of recognizing that a single overloaded replica is the root cause of performance degradation.

How to eliminate wrong answers

Option A is wrong because moving the Object Storage bucket to a local NVMe cache does not address the compute bottleneck; model artifacts are loaded into memory at deployment time, and runtime inference latency is driven by CPU/GPU load, not storage I/O. Option B is wrong because moving back to a managed serving endpoint would compromise the data privacy requirement that prompted the move to a dedicated cluster, and a different region could introduce additional latency. Option D is wrong because increasing the max tokens parameter would increase the output length, making the inference slower and worsening timeouts, not solving the underlying resource contention.

41
MCQeasy

A team is using OCI Generative AI Agents to build a customer support bot. The bot sometimes generates answers that contradict the knowledge base. What is the most likely cause?

A.The chunking strategy for the knowledge base does not capture enough context overlap.
B.The max tokens value is too low, truncating the response.
C.The temperature parameter is set too high, causing the model to hallucinate.
D.The model's repetition penalty is too high.
AnswerA

If chunks are too small or lack overlap, the model may not retrieve all relevant information, leading to inconsistencies.

Why this answer

When the chunking strategy lacks sufficient context overlap, the retrieved chunks may omit critical surrounding information, causing the generative AI model to infer missing details incorrectly and produce answers that contradict the knowledge base. In OCI Generative AI Agents, the chunking strategy determines how documents are split into smaller pieces for retrieval; without adequate overlap, the model loses the semantic continuity needed to stay faithful to the source material.

Exam trap

Oracle often tests the misconception that hallucinations are always caused by temperature settings, when in fact retrieval quality issues like poor chunking are a more common root cause in RAG-based systems.

How to eliminate wrong answers

Option B is wrong because a low max tokens value truncates the response length but does not cause the model to generate contradictory content; it simply cuts off the output prematurely. Option C is wrong because while a high temperature parameter increases randomness and can lead to hallucinations, the question specifically states the bot contradicts the knowledge base, which is more directly tied to retrieval failures (chunking) than to generation randomness. Option D is wrong because a high repetition penalty discourages the model from repeating phrases, which might reduce fluency but does not cause contradictions with the knowledge base.

42
MCQhard

A team is building a Retrieval-Augmented Generation (RAG) pipeline using OCI Generative AI. They need to store and retrieve document embeddings for semantic search. Which OCI service is most appropriate as the vector store?

A.OCI Search with OpenSearch
B.OCI Streaming
C.OCI Object Storage
D.OCI Autonomous Database with AI Vector Search
AnswerA

OpenSearch supports vector storage and k-NN search, making it ideal for RAG pipelines.

Why this answer

OCI Search with OpenSearch is the most appropriate vector store for a RAG pipeline because it natively supports storing and querying high-dimensional vector embeddings using the k-nearest neighbor (k-NN) algorithm. It integrates directly with OCI Generative AI to enable semantic search over ingested documents, providing the required similarity search capabilities for retrieval-augmented generation.

Exam trap

Candidates often assume that OCI Autonomous Database with AI Vector Search is the best choice since it supports vectors, but for a dedicated vector store in a RAG pipeline, OCI Search with OpenSearch provides a specialized vector search engine with native k-NN support and direct integration with OCI Generative AI, making it the most appropriate option.

How to eliminate wrong answers

Option B is wrong because OCI Streaming is a real-time data ingestion and messaging service designed for event streams, not for storing or querying vector embeddings. Option C is wrong because OCI Object Storage is a durable, scalable blob storage service for unstructured data, but it lacks native vector indexing and similarity search functionality. Option D is wrong because while OCI Autonomous Database with AI Vector Search does support vector operations, it is not the most appropriate choice for a dedicated vector store in a RAG pipeline; OCI Search with OpenSearch is purpose-built for vector search and offers better performance and simpler integration with OCI Generative AI.

43
MCQhard

A company is deploying a multi-language chatbot using OCI Generative AI Service. The chatbot must support English, Spanish, and French. The team finds that responses in Spanish are less accurate than in English. They have a small bilingual dataset. What is the best approach?

A.Use a multilingual base model (e.g., mT5) and fine-tune on the bilingual dataset (English and Spanish) using cross-lingual transfer learning.
B.Use prompt engineering with language-specific instructions in the system prompt.
C.Translate all user queries to English, process them, then translate responses back.
D.Train separate fine-tuned models for each language.
AnswerA

Cross-lingual transfer leverages English data to improve Spanish performance, and fine-tuning on bilingual data further boosts accuracy.

Why this answer

Fine-tuning a multilingual base model like mT5 on a small bilingual dataset leverages cross-lingual transfer learning, where knowledge from high-resource languages (English) improves performance on low-resource languages (Spanish). This approach is specifically designed for scenarios with limited data and directly addresses the accuracy gap without requiring separate models or translation pipelines.

Exam trap

The trap here is that candidates often overestimate the power of prompt engineering (Option B) for language-specific accuracy, underestimating that systematic linguistic errors require model adaptation through fine-tuning or transfer learning, not just instruction tuning.

How to eliminate wrong answers

Option B is wrong because prompt engineering with language-specific instructions does not adapt the model's internal representations; it merely provides contextual cues, which is insufficient to correct systematic inaccuracies in a specific language. Option C is wrong because translating queries to English and back introduces translation errors, latency, and loss of nuance, and does not improve the model's native understanding of Spanish. Option D is wrong because training separate fine-tuned models for each language is inefficient with a small bilingual dataset and fails to exploit cross-lingual transfer, leading to poor performance on the low-resource language.

44
MCQmedium

A company uses OCI Generative AI Service to generate personalized email content. They need to ensure that personally identifiable information (PII) is not included in the model's training data. What should they do?

A.Encrypt the training data with OCI Vault
B.Use the moderation API to scan outputs
C.Use a dedicated model endpoint
D.Enable data redaction in the service
AnswerD

Data redaction removes PII before processing.

Why this answer

OCI Generative AI Service provides a built-in data redaction feature that automatically detects and removes personally identifiable information (PII) from training data before it is used for model training. This ensures compliance with data privacy regulations without requiring manual preprocessing or external tools.

Exam trap

The trap here is confusing data redaction (pre-training data sanitization) with output moderation (post-generation filtering), leading candidates to incorrectly select the moderation API option.

How to eliminate wrong answers

Option A is wrong because encrypting training data with OCI Vault protects data at rest and in transit but does not remove or redact PII from the content itself; encryption does not prevent PII from being included in model training. Option B is wrong because the moderation API is designed to scan and filter model outputs (inference results) for inappropriate content, not to sanitize training data before training occurs. Option C is wrong because using a dedicated model endpoint isolates the model instance but does not alter or filter the training data; it addresses data residency or performance concerns, not PII removal.

45
Multi-Selecteasy

A developer needs to authenticate API calls to OCI Generative AI from a compute instance. Which TWO methods can be used?

Select 2 answers
A.Configure an API key in OCI IAM for the user
B.Configure a customer-managed key (CMK) for encryption
C.Set up a service connector to forward requests
D.Use resource principal with instance principals
E.Use an auth token from OCI Identity
AnswersA, D

API keys are a standard way to authenticate SDK/CLI requests to OCI services, including Generative AI.

Why this answer

An API key configured in OCI IAM for a user provides a standard way to authenticate API calls. The developer can generate a key pair (public/private) in IAM, then use the private key to sign requests to the OCI Generative AI service. This method is widely used for programmatic access from compute instances when the instance is acting on behalf of a specific user.

Exam trap

The trap here is that candidates may confuse authentication methods (API key, resource principal) with unrelated security features (CMK, auth token, service connector), or assume that any token-based method (like auth token) works for all OCI API calls, when auth tokens are specifically for non-OCI-native APIs.

46
MCQmedium

An enterprise deployed a custom fine-tuned model for generating financial reports. After the first month, the model's outputs began to include outdated information and occasional factual errors. The team suspects data drift. What is the best course of action?

A.Switch to a newer base model like Llama 3.1 without retraining.
B.Decrease the temperature parameter to 0.1 to reduce model creativity.
C.Retrain the model on the latest financial data and monitor for drift.
D.Increase the max tokens value to allow longer responses.
AnswerC

Retraining with current data mitigates data drift and improves output accuracy.

Why this answer

Data drift occurs when the input data distribution changes over time, causing the model's outputs to become outdated or inaccurate. Retraining the model on the latest financial data realigns it with the current data distribution, and ongoing monitoring helps detect future drift. Option A is incorrect because switching to a newer base model like Llama 3.1 without retraining does not incorporate the latest financial data and may not address domain-specific drift.

Option B is incorrect because decreasing the temperature parameter reduces randomness in outputs but does not correct factual errors stemming from data drift. Option D is incorrect because increasing the max tokens value only allows longer responses and does not improve accuracy or address drift.

47
MCQhard

A healthcare company is deploying OCI Generative AI Service for clinical decision support. They must ensure that model outputs are auditable, explainable, and free from patient data exposure. Which combination of OCI features should they use?

A.Fine-tune a model on de-identified patient notes and use default inference settings.
B.Use Retrieval-Augmented Generation with an internet search index for up-to-date medical knowledge.
C.Use OCI Data Masking to de-identify inputs, and enable model monitoring with explainability outputs via OCI Monitoring and OCI Logging.
D.Deploy the model in a private endpoint and disable all logging to prevent data leaks.
AnswerC

Data masking ensures compliance, and monitoring with logging provides auditability and explainability.

Why this answer

OCI Data Masking can de-identify patient data in inputs before they reach the generative AI model, ensuring no protected health information (PHI) is exposed. Enabling model monitoring with explainability outputs via OCI Monitoring and OCI Logging provides an auditable trail of model decisions and explanations, meeting the requirements for auditability and explainability in clinical decision support.

Exam trap

The trap here is that candidates often assume that simply de-identifying data (Option A) or using a private endpoint (Option D) is sufficient for auditability and explainability, overlooking the need for explicit monitoring and logging mechanisms to capture and review model behavior.

How to eliminate wrong answers

Option A is wrong because fine-tuning on de-identified patient notes does not guarantee that model outputs will be free from patient data exposure—fine-tuned models can memorize and regurgitate training data, and default inference settings lack the monitoring and explainability needed for auditability. Option B is wrong because using Retrieval-Augmented Generation with an internet search index introduces uncontrolled, non-auditable external data sources, which cannot ensure explainability or prevent patient data exposure, and internet search results may not comply with healthcare data privacy regulations. Option D is wrong because disabling all logging to prevent data leaks eliminates the ability to audit model outputs or provide explainability, which directly contradicts the requirements for auditability and explainability.

48
MCQeasy

Which OCI Generative AI service model family supports fine-tuning with custom datasets?

A.Cohere Command
B.Cohere Embed
C.Cohere Summarize
D.GPT-3
AnswerA

Cohere Command models are designed for text generation and support fine-tuning.

Why this answer

Cohere Command is the model family within OCI Generative AI that supports fine-tuning with custom datasets, allowing users to adapt the model for domain-specific tasks like summarization or classification. In contrast, Cohere Embed is designed for generating text embeddings, Cohere Summarize is a specialized endpoint for summarization without fine-tuning support, and GPT-3 is not natively available in OCI Generative AI for fine-tuning.

Exam trap

Oracle often tests the misconception that all Cohere model families (Embed, Summarize, Command) support fine-tuning, but only Command is designed for customization with custom datasets.

How to eliminate wrong answers

Option B (Cohere Embed) is wrong because it is optimized for creating vector embeddings of text, not for generative tasks, and does not support fine-tuning with custom datasets. Option C (Cohere Summarize) is wrong because it is a pre-configured summarization endpoint that does not allow model customization or fine-tuning. Option D (GPT-3) is wrong because it is an OpenAI model not offered within the OCI Generative AI service; OCI uses Cohere and Meta Llama models, and GPT-3 cannot be fine-tuned through OCI.

49
MCQeasy

A developer wants to use OCI Generative AI Service to summarize long documents. Which endpoint should they use to send the document content?

A./generate
B./classify
C./embed
D./chat
AnswerD

The /chat endpoint accepts a conversation history, suitable for summarization tasks.

Why this answer

The /chat endpoint in OCI Generative AI Service is designed for conversational interactions and can handle long document summarization by accepting the document content as part of the chat context. This endpoint supports multi-turn dialogues and large input payloads, making it suitable for processing and summarizing lengthy documents.

Exam trap

Oracle often tests the misconception that /generate is the correct endpoint for all text generation tasks, including summarization, but the /chat endpoint is specifically optimized for interactive and context-aware tasks like document summarization.

How to eliminate wrong answers

Option A is wrong because /generate is used for text generation tasks like content creation or completion, not specifically for summarization of long documents. Option B is wrong because /classify is intended for text classification tasks such as sentiment analysis or topic labeling, not summarization. Option C is wrong because /embed is used to generate vector embeddings for text, which are useful for semantic search or similarity comparisons, not for producing summaries.

50
MCQeasy

A startup is using OCI Generative AI serverless inference for a text generation application. They notice that the latency is high during peak hours. They have a budget to increase costs moderately. Which action would most effectively reduce latency?

A.Switch to dedicated AI cluster.
B.Enable content filtering.
C.Increase the number of concurrent requests.
D.Use a smaller model.
AnswerA

Dedicated clusters offer predictable, low-latency inference.

Why this answer

Switching to a dedicated AI cluster provides consistent low latency compared to serverless inference. Option B is wrong because enabling content filtering does not affect latency; it is used to filter harmful content. Option C is wrong because increasing the number of concurrent requests may increase the load on the serverless infrastructure and could actually worsen latency.

Option D is wrong because although using a smaller model might reduce latency, it can degrade the quality of generated text, and the dedicated cluster is a more effective solution given the budget to increase costs moderately.

51
MCQhard

Refer to the exhibit. A developer sends this JSON payload to the /chat endpoint. The response includes an error that 'maxTokens' must be an integer. What is the issue?

A.The compartmentId is missing
B.The temperature value is too low
C.The parameter should be 'max_tokens' instead of 'maxTokens'
D.The model name 'cohere.command-light' is incorrect
AnswerC

The API expects snake_case parameters.

Why this answer

The OCI Generative AI service expects the parameter name 'max_tokens' (snake_case) for specifying the maximum number of tokens in the response, not 'maxTokens' (camelCase). The error message indicates that the value is not being recognized as an integer because the JSON key itself is incorrect, causing the service to fail validation.

Exam trap

Oracle often tests the difference between snake_case and camelCase parameter names in OCI services, and the trap here is that candidates familiar with OpenAI's API conventions might assume 'maxTokens' is correct, overlooking OCI's strict snake_case requirement.

How to eliminate wrong answers

Option A is wrong because the compartmentId is not required for the /chat endpoint when using a model that is accessible via the service's default compartment or when the request is authenticated via API keys that have the necessary permissions. Option B is wrong because a temperature value of 0.5 is within the valid range (typically 0.0 to 1.0) and does not cause an error about 'maxTokens' needing to be an integer. Option D is wrong because 'cohere.command-light' is a valid model name in OCI Generative AI, and the error message specifically points to the 'maxTokens' parameter, not the model name.

52
Multi-Selectmedium

Which TWO actions are required to use a custom fine-tuned model via OCI Generative AI? (Choose two.)

Select 2 answers
A.Deploy the model to an endpoint
B.Provision a private endpoint for the model
C.Enable cross-region replication
D.Grant access to other tenancies
E.Complete the fine-tuning job successfully
AnswersA, E

A deployed endpoint is needed to invoke the model.

Why this answer

To use a custom fine-tuned model via OCI Generative AI, you must first successfully complete the fine-tuning job (E) to create the model, and then deploy it to an endpoint (A) to enable inference. Options B (private endpoint) is optional for networking control, not required. C (cross-region replication) is not needed.

D (granting access to other tenancies) is only required if you want to share the model across tenancies, not for your own usage.

53
MCQhard

A company is building a customer support chatbot that uses Retrieval-Augmented Generation (RAG) with OCI Generative AI. They need low-latency responses and the ability to update the knowledge base daily. Which architecture best meets these requirements?

A.Store embeddings in OCI Object Storage and use OCI Functions to perform similarity search.
B.Use OCI Data Science Notebook Sessions to run the RAG pipeline with a managed Cohere model.
C.Use OCI Streaming to ingest documents and OCI Data Flow to update a knowledge base in OCI Object Storage.
D.Use OCI Search with OpenSearch for the vector database, OCI Generative AI for inference, and Oracle Database for metadata.
AnswerD

OpenSearch provides low-latency vector search and supports daily indexing updates.

Why this answer

It combines OCI Search with OpenSearch as a vector database for efficient similarity search, OCI Generative AI for inference, and Oracle Database for metadata management. This architecture provides low-latency responses by leveraging OpenSearch's optimized vector indexing and allows daily knowledge base updates through Oracle Database's robust data management capabilities.

Exam trap

Oracle exams often test the misconception that any storage service (like Object Storage) can serve as a vector database, but candidates must recognize that low-latency similarity search requires a purpose-built vector database like OpenSearch.

How to eliminate wrong answers

Option A is wrong because OCI Object Storage is a blob store, not a vector database; using OCI Functions for similarity search would be slow and unscalable due to lack of optimized indexing. Option B is wrong because OCI Data Science Notebook Sessions are designed for development and experimentation, not production-grade low-latency inference, and they lack a vector database for efficient retrieval. Option C is wrong because OCI Streaming is for real-time data ingestion, not for updating a knowledge base, and OCI Data Flow is a batch processing service that does not provide the low-latency query capability required for RAG.

54
MCQhard

A data scientist is fine-tuning a model on OCI Generative AI with a custom dataset. They receive a "QuotaExceeded" error during training. What is the most likely cause?

A.Exceeded the training compute unit quota
B.Exceeded the API call rate limit
C.Exceeded the model storage limit
D.Exceeded the data transfer out limit
AnswerA

Fine-tuning uses training compute units; quota may be exceeded.

Why this answer

The 'QuotaExceeded' error during fine-tuning on OCI Generative AI specifically indicates that the training job has consumed more compute units than allocated in the service limit. Fine-tuning requires dedicated training compute units (TCUs) which are a separate quota from inference or API calls. When this quota is exhausted, the service rejects new training jobs with this error.

Exam trap

OCI Gen AI exams often test the distinction between different types of quotas (compute vs. API rate vs. storage vs. egress) to see if candidates understand that 'QuotaExceeded' in the context of training specifically refers to compute resource limits, not API throttling or storage caps.

How to eliminate wrong answers

Option B is wrong because API call rate limits apply to inference requests (e.g., generating text), not to training compute resources; exceeding them would return a '429 Too Many Requests' error, not 'QuotaExceeded'. Option C is wrong because model storage limits apply to the number or size of models you can store in the OCI Generative AI model catalog, not to the compute resources used during training. Option D is wrong because data transfer out limits are related to egress traffic from OCI to the internet, not to internal training operations within the service.

55
MCQhard

A security team requires that all OCI GenAI API calls be logged and audited. Despite enabling Audit logs in OCI, they do not see GenAI API calls. What is the most likely reason?

A.The audit log retention policy is too short and logs were overwritten.
B.The user is not a tenancy administrator.
C.OCI Audit currently only records control-plane operations; data-plane operations like inference are not logged.
D.The API calls are made by an OCI function, which is not logged.
AnswerC

Data-plane calls (e.g., model inference) are not captured by Audit; use Service Connector Hub for logging.

Why this answer

C is correct because OCI Audit service is designed to log control-plane operations (e.g., creating, updating, or deleting resources) but does not log data-plane operations such as inference API calls to the Generative AI service. The GenAI inference calls (e.g., generating text) are data-plane operations that occur on the service endpoint, not on the OCI control-plane API, so they are not captured by Audit logs. To log data-plane operations, you would need to use a different mechanism, such as OCI Vault for key usage or custom logging via API Gateway.

Exam trap

The trap here is that candidates assume enabling Audit logs captures all API activity, but OCI Audit explicitly excludes data-plane operations, which is a common misconception tested in the 1Z0-1127 exam.

How to eliminate wrong answers

Option A is wrong because audit log retention policies affect how long logs are kept, not whether specific API calls are recorded in the first place; if the calls were never logged, retention is irrelevant. Option B is wrong because tenancy administrator privileges are not required to view Audit logs; any user with the appropriate IAM policies (e.g., Audit Log Readers) can access them, and the issue is about logging scope, not permissions. Option D is wrong because OCI Functions calls are logged if they are control-plane operations; the fact that an API call originates from a function does not exclude it from Audit logging—the exclusion is based on whether the call is control-plane or data-plane.

56
Multi-Selectmedium

Which TWO of the following are required to fine-tune a model using OCI Generative AI Service?

Select 2 answers
A.A training dataset in the required format
B.The base model identifier
C.A compartment with sufficient quota
D.An OCI API key
E.A dedicated AI cluster
AnswersA, B

Training data is essential for fine-tuning.

Why this answer

A is correct because fine-tuning a model in OCI Generative AI Service requires a training dataset in the required format (JSONL with prompt-completion pairs) to provide the task-specific examples that adjust the model's weights. B is correct because you must specify the base model identifier (e.g., 'cohere.command-light-14-07-2024') to indicate which pre-trained model to fine-tune, as the service uses this to load the correct architecture and initial parameters.

Exam trap

Oracle often tests the misconception that you need a dedicated AI cluster or an API key for every operation, but OCI Generative AI Service abstracts infrastructure management and supports multiple authentication methods, making those options distractors.

57
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.

58
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.

59
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.

60
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

The OCI Generative AI service provides two deployment options for fine-tuned models: On-Demand Endpoint and Managed Dedicated Endpoint. The On-Demand Endpoint (Option C) is a serverless, pay-per-token option that automatically scales, suitable for variable workloads. The Managed Dedicated Endpoint (Option E) provides a dedicated, single-tenant endpoint with guaranteed throughput and lower latency for production workloads.

Exam trap

Oracle OCI GenAI exams often test the distinction between 'serverless' as a general concept versus the specific named deployment options in OCI Generative AI, leading candidates to incorrectly select 'Serverless Endpoint' as a separate option when it is actually the underlying model for the On-Demand Endpoint.

61
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

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.

62
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.

63
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

OCI IAM policies are the primary mechanism for controlling access to OCI resources, including custom models on dedicated AI clusters, by defining which users or groups can invoke the model. OCI Logging captures detailed logs of all inference requests, including metadata such as timestamps, source IPs, and request payloads, which satisfies the auditing requirement. Together, they provide both authorization enforcement and audit trail without additional services.

Exam trap

The trap here is that candidates often confuse OCI Audit (which logs only management-plane operations) with OCI Logging (which logs data-plane operations like inference requests), leading them to pick Option A or D, while also overlooking that IAM policies are the native access control mechanism for Generative AI models on dedicated clusters.

How to eliminate wrong answers

Option A is wrong because OCI Vault manages encryption keys and secrets, not access control or logging; it does not prevent unauthorized model usage. OCI Audit records only management-plane API calls (e.g., creating or deleting resources), not data-plane inference requests, so it cannot log individual inference calls. Option C is wrong because OCI Data Safe is a database security service for protecting sensitive data in databases, not for controlling access to or logging inference requests for a Generative AI model.

OCI Monitoring collects metrics and alarms, not detailed request logs for auditing. Option D is wrong because OCI API Gateway can provide authentication and request logging, but it is an unnecessary intermediary for a model deployed on a dedicated AI cluster; the question specifies the model is already deployed on a dedicated cluster, and IAM policies directly control access to the model endpoint without requiring an API Gateway. OCI Audit, as noted, does not log data-plane inference requests.

64
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.

65
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' in OCI is a generic error that can occur either when the resource does not exist or the user lacks the necessary permission to access it. Given that the model ID and region are likely correct (otherwise a different error like 'InvalidParameter' would appear), the most probable cause is that the user does not have the 'inspect' permission on the model. This permission is required to view model details.

Option A would result in a credential configuration error, not this generic error. Option C would produce an invalid model ID error. Option D is less likely because if the model were in a different region, the error would typically indicate a region mismatch rather than a generic authorization error.

Therefore, option B is correct.

Exam trap

The 'NotAuthorizedOrNotFound' error is deliberately ambiguous; do not assume it always means unauthorized. However, in this context, permission issues are the most probable cause.

66
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.

67
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

The 401 Unauthorized error indicates that the request lacks valid authentication credentials. In the OCI Generative AI SDK, even when tenancy and user OCIDs are provided, the SDK requires an API signing key or a token (such as an OCI API key pair or a session token from an instance principal) to sign requests. Without this key or token, the SDK cannot authenticate the request to the OCI API, resulting in a 401 error.

Exam trap

The trap here is that candidates assume providing tenancy and user OCIDs is sufficient for authentication, overlooking that OCI requires a cryptographic signing key or token to prove identity.

How to eliminate wrong answers

Option A is wrong because a correct region endpoint affects routing and service availability, not authentication; a 401 error is unrelated to endpoint configuration. Option B is wrong because the model OCID is a parameter for specifying which model to invoke, not for authentication; omitting it would cause a different error (e.g., 400 Bad Request). Option D is wrong because the compartment OCID is used for resource scoping and billing, not for signing requests; missing it would not cause a 401 error.

68
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 Oracle 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.

69
Multi-Selecthard

Which THREE steps are necessary to secure access to the OCI Generative AI inference API in a production environment?

Select 3 answers
A.Enable encryption with OCI Vault keys for all inference data.
B.Configure network security groups to allow only trusted source IPs to the inference endpoint.
C.Create IAM policies that grant the 'use' verb on generative-ai-family resources.
D.Use private endpoints to access the Generative AI service from a VCN.
E.Apply data masking policies to obfuscate sensitive information in prompts.
AnswersB, C, D

NSGs provide network-level security.

Why this answer

Network security groups (NSGs) allow you to restrict inbound traffic to the Generative AI inference endpoint to only trusted source IP addresses, reducing the attack surface. In a production environment, this is a fundamental network-layer security control to prevent unauthorized access to the API.

Exam trap

Oracle often tests the distinction between network-layer controls (NSGs, private endpoints) and data-layer controls (encryption, masking), expecting candidates to recognize that securing API access requires network and IAM controls, not data protection features.

70
MCQmedium

An e-commerce company uses OCI Generative AI to generate product descriptions. They have fine-tuned the model on their product catalog. They notice that the descriptions are accurate but lack creativity and are repetitive. They want to maintain accuracy while adding variety. What change should they make?

A.Increase the top_p sampling from 0.9 to 1.0.
B.Increase the temperature from 0.2 to 0.5.
C.Use a different base model.
D.Add more training examples with diverse descriptions.
AnswerB

A moderate temperature increase adds variety while preserving factual accuracy.

Why this answer

Slightly increasing temperature (e.g., from 0.2 to 0.5) introduces controlled variability without significantly compromising accuracy. Option A is wrong because top_p=1.0 samples from the full distribution, which can add noise. Option C is wrong because adding more training data requires effort and time, and may not immediately add variety.

Option D is wrong because changing the base model could hurt accuracy and requires retraining.

71
MCQeasy

A developer needs to integrate OCI Generative AI into a Python application. Which SDK should they use?

A.Boto3
B.OCI Python SDK
C.Google Cloud client
D.OpenAI library
AnswerB

Correct: OCI Python SDK is the standard integration method.

Why this answer

The OCI Python SDK (Option B) is the correct choice because it provides the official set of libraries and tools for interacting with Oracle Cloud Infrastructure services, including the Generative AI service. This SDK handles authentication, request signing, and API calls specific to OCI, enabling seamless integration of OCI Generative AI into Python applications.

Exam trap

A common mistake is to assume that any popular AI library (e.g., OpenAI's) can be used with OCI Generative AI, but Oracle Cloud requires its own OCI Python SDK for proper authentication and API compatibility.

How to eliminate wrong answers

Option A is wrong because Boto3 is the Amazon Web Services (AWS) SDK for Python, designed to interact with AWS services such as Amazon Bedrock or SageMaker, not with OCI Generative AI. Option C is wrong because the Google Cloud client library is for accessing Google Cloud Platform services like Vertex AI, not OCI. Option D is wrong because the OpenAI library is specifically for calling OpenAI's own API endpoints (e.g., GPT models) and does not support OCI's authentication or API structure.

72
MCQhard

A developer makes an API call to generate text with top_p=1.5. What is the correct way to fix this error?

A.Remove the top_p parameter from the request
B.Increase the temperature parameter to compensate
C.Set top_p to a value between 0 and 1, e.g., 0.9
D.Use the top_k parameter instead
AnswerC

Correcting the value to within the allowed range fixes the error.

Why this answer

The `top_p` parameter, also known as nucleus sampling, must be a probability value between 0 and 1. Setting it to 1.5 is invalid because it exceeds the allowed range, which would cause the API to reject the request. The correct fix is to set `top_p` to a valid value such as 0.9, which restricts token selection to the smallest set whose cumulative probability exceeds that threshold.

Exam trap

OCI often tests the misconception that `top_p` can be any positive number, similar to `temperature`, when in fact it is a probability threshold strictly bounded between 0 and 1.

How to eliminate wrong answers

Option A is wrong because removing `top_p` entirely changes the sampling behavior to default settings, which may not achieve the desired output diversity and does not fix the invalid parameter error—the correct approach is to provide a valid value. Option B is wrong because increasing the `temperature` parameter does not compensate for an invalid `top_p` value; `temperature` controls randomness in token probability distribution, while `top_p` is a separate sampling constraint, and both must be within their respective valid ranges. Option D is wrong because `top_k` is a different sampling method that selects the top K tokens by probability; while it can be used instead of `top_p`, the question asks for the correct way to fix the error with `top_p`, not to replace it with another parameter.

73
MCQhard

Refer to the exhibit. A user runs 'oci generative-ai model list' and sees this output. They then try to use 'cohere.command-light' but get an error. What is the most likely reason?

A.The model is in INACTIVE state
B.The API key does not have access
C.The model is not listed
D.The region is wrong
AnswerA

INACTIVE models cannot be used for inference.

Why this answer

The model 'cohere.command-light' has lifecycle-state 'INACTIVE', meaning it cannot be used. Option B is false because the API key issue would produce a different error; Option C is false because the model is listed; Option D is false because a region mismatch would also produce a different error.

74
MCQeasy

A data scientist wants to fine-tune a generative AI model on proprietary customer data. What is a best practice for preparing the training dataset?

A.Randomly sample 1000 records from production logs.
B.Use the same dataset as the base model's pre-training data.
C.Curate a dataset of domain-specific examples with clear input-output pairs.
D.Use the largest available public dataset from the internet.
AnswerC

Domain-specific curated data ensures the model learns the desired behavior for the target use case.

Why this answer

Fine-tuning a generative AI model on proprietary data requires a curated, domain-specific dataset with clear input-output pairs. This ensures the model learns the desired task (e.g., summarization, classification) without introducing noise or irrelevant patterns, which is critical for OCI Generative AI Service fine-tuning where data quality directly impacts model performance.

Exam trap

Oracle often tests the misconception that more data (random or public) is always better for fine-tuning, when in fact curated, domain-specific data with clear input-output pairs is essential for effective adaptation without degrading base model capabilities.

How to eliminate wrong answers

Option A is wrong because randomly sampling 1000 records from production logs introduces noise, missing labels, and imbalanced distributions, which degrade fine-tuning quality and may cause catastrophic forgetting. Option B is wrong because using the same dataset as the base model's pre-training data provides no new information, leading to zero improvement and potential overfitting to already learned patterns. Option D is wrong because using the largest available public dataset from the internet introduces irrelevant or conflicting data, diluting domain-specific learning and violating data privacy requirements for proprietary customer data.

75
MCQhard

A company needs to integrate OCI Generative AI Service with an existing application that uses OCI IAM for authentication. They want to use resource principal to allow the application to call the service without storing API keys. Which step is REQUIRED?

A.Create an OCI API key for the application
B.Enable the Generative AI Service for resource principal in the tenancy
C.Assign the application to a group with admin privileges
D.Create a dynamic group and a policy granting access to the Generative AI Service
AnswerD

Dynamic group with matching rules and a policy are required for resource principal.

Why this answer

Resource principal authentication in OCI requires the application to be represented by a dynamic group, which matches instances or resources based on defined rules. A policy must then grant that dynamic group access to the Generative AI Service. This avoids storing API keys by using OCI IAM's built-in resource principal token exchange.

Exam trap

Oracle often tests the misconception that resource principal requires a tenancy-wide setting or an API key, when in fact the correct mechanism is a dynamic group combined with a targeted IAM policy.

How to eliminate wrong answers

Option A is wrong because creating an OCI API key would reintroduce the need to store and manage secrets, which resource principal is designed to eliminate. Option B is wrong because there is no tenancy-level toggle to 'enable' the Generative AI Service for resource principal; the service is always available for resource principal, but access is controlled via dynamic groups and policies. Option C is wrong because assigning the application to a group with admin privileges violates the principle of least privilege and is unnecessary; a custom policy granting only the required permissions to the dynamic group is sufficient and more secure.

Page 1 of 2 · 77 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Using OCI Generative AI Service questions.