Courseiva

AI-300 · topic practice

Generative AI Optimization practice questions

This domain covers tuning and steering generative model behavior on Azure AI Foundry and Azure OpenAI: sampling parameters, penalties, prompt patterns, and protecting base capabilities during fine-tuning. Questions are scenario-based, asking you to pick the parameter, technique, or mitigation that fixes an observed output problem such as repetition, nondeterminism, or regression after fine-tuning.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Generative AI Optimization

What the exam tests

What to know about Generative AI Optimization

Be able to select the right Azure OpenAI parameter or prompting technique for a described symptom, and explain how to preserve base model capabilities when fine-tuning on small datasets. The key is matching the observed problem to the specific control, not just lowering temperature by default.

Adjusting temperature and top_p in Azure OpenAI chat completions for deterministic, repeatable output

Using frequency_penalty and presence_penalty to reduce redundant or repeated tokens

Applying chain-of-thought prompting to improve reasoning on edge cases and multi-step tasks

Mitigating catastrophic forgetting during fine-tuning with smaller learning rates or mixed data

Watch out for

Common Generative AI Optimization exam traps

  • ▸Confusing frequency_penalty with presence_penalty: frequency scales with how often a token already appeared, presence only penalizes whether it appeared at all
  • ▸Assuming temperature alone guarantees determinism; top_p, seed, and system fingerprint also affect reproducibility
  • ▸Treating chain-of-thought as a fix for formatting or latency issues rather than a reasoning aid for complex, multi-step edge cases

Practice set

Generative AI Optimization questions

20 questions · select your answer, then reveal the explanation

You are developing a RAG pipeline and notice that the model often hallucinates when retrieving documents with low relevance. Which prompt engineering technique should you implement to improve grounding?

Which cost-tracking tool in the Azure portal allows you to view usage by specific Azure OpenAI deployments?

You are optimizing prompt latency by reducing tokens. Which of the following is the most effective way to reduce input token count for a recurring task?

Which THREE parameters directly affect the output structure or style of an LLM response?

You are fine-tuning a model on Azure OpenAI and notice the training loss curve is fluctuating significantly. What is the most likely cause?

Which parameter in the Azure OpenAI API should be adjusted to make the model's output more deterministic and repeatable?

To optimize costs for an enterprise chatbot, you want to implement token usage monitoring. Which Azure service should you integrate to track token consumption per user?

You are optimizing a long-context application. Which technique is most effective for reducing context window costs in Azure OpenAI?

Your Azure OpenAI deployment is experiencing high latency during peak hours. You observe that input tokens are consistently high. Which strategy is most effective for reducing latency while maintaining quality?

Which feature in Azure OpenAI allows you to reserve throughput for a consistent user experience during high demand?

You notice that your fine-tuned model is 'forgetting' base capabilities after training on a small dataset. What strategy should you use to mitigate this?

You are configuring a chat application. What is the benefit of enabling streaming in the Azure OpenAI API?

You are debugging a prompt that is performing poorly on edge cases. You decide to use a 'Chain-of-Thought' approach. Why does this improve performance?

Which technique is most appropriate for optimizing RAG performance when the vector database returns too much noisy information?

You want to evaluate your prompt engineering changes quantitatively. Which method is most reliable for comparing two prompt versions?

An application is hitting rate limits on the Azure OpenAI service. Which action is the most standard approach for handling this in production?

You are optimizing a model for a specific domain language. Which fine-tuning approach minimizes cost while maximizing domain adaptation?

You notice your model is outputting redundant information. Which parameter specifically targets the penalty for repeating tokens?

You have a large set of documents for a RAG system. How should you optimize retrieval speed?

A user wants to restrict the model's output to valid JSON format. What is the most effective way to ensure this?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Generative AI Optimization sessions

Start a Generative AI Optimization only practice session

Every question in these sessions is drawn from the Generative AI Optimization domain — nothing else.

Related practice questions

Related AI-300 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AI-300 exam test about Generative AI Optimization?
Be able to select the right Azure OpenAI parameter or prompting technique for a described symptom, and explain how to preserve base model capabilities when fine-tuning on small datasets. The key is matching the observed problem to the specific control, not just lowering temperature by default.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Generative AI Optimization questions in a focused session?
Yes — the session launcher on this page draws every question from the Generative AI Optimization domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AI-300 topics?
Use the topic links above to move to related areas, or go back to the AI-300 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AI-300 exam covers. They are not copied from any real exam or dump site.