Choosing Between Similar Options
This lesson compares the options most often confused in AI-300 questions for compute and training, deployment and release, monitoring and evaluation, and customization of generative AI.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish automated ML, sweep jobs and pipelines.
- Distinguish mirrored traffic from traffic splitting.
- Match symptoms to monitoring and evaluation signals.
- Choose between prompt engineering, RAG and fine-tuning.
Compute and training options
Training compute choices turn on management effort and cost. A compute cluster gives control over size, identity and networking; serverless compute removes cluster management; a compute instance is for interactive work only. For training approaches, automated ML explores algorithms and featurization when the best model type is unknown, a sweep job tunes hyperparameters of a chosen model, and a pipeline chains steps such as preparation, training and evaluation.
Deployment and release options
Managed online endpoints serve real-time requests; batch endpoints score large datasets asynchronously. For releases, mirrored traffic tests on live requests without returning responses, traffic splitting exposes a share of users to the new deployment, and direct invocation of a deployment with the azureml-model-deployment header tests it before any live traffic.
On the generative AI side, serverless deployments of Foundry Models are billed per token or by provisioned throughput, and managed compute hosts models without a serverless option on hourly-billed GPUs. Within serverless deployments, Global types give the most capacity, Data Zone types keep processing in the US, EU or APAC zone, and Standard and Regional Provisioned keep it in one geography. Provisioned throughput gives predictable latency for steady volume; batch types halve the price for work that can wait 24 hours.
Monitoring and evaluation signals
Traditional models and generative AI applications are monitored with different signals, and questions often test whether you can match a symptom to the signal that detects it.
| Symptom | Signal or metric | Needs |
|---|---|---|
| Input feature distributions changed | Data drift | Reference data and production inputs |
| Predictions shifted | Prediction drift | Reference and production outputs |
| Model became less accurate | Model performance | Ground truth joined to predictions |
| Answers contain claims not in the sources | Groundedness | Query, response and context |
| Answers do not address the question | Relevance | Query and response |
| Harmful or manipulated output | Risk and safety evaluators, red teaming | A Foundry project in a supported region |
| Slow or throttled requests | Latency percentiles, 429 rates, PTU utilization | Azure Monitor metrics and traces |
Customization options for generative AI
Generative AI quality problems have several remedies, and the exam rewards choosing the lightest one that solves the problem. Prompt engineering fixes instructions, format and tone. Retrieval-augmented generation supplies knowledge the model lacks, especially knowledge that changes. Fine-tuning changes behaviour that prompts cannot reliably produce, such as a consistent specialized style, or makes a small model perform a narrow task as well as a large one.
Choosing between similar options
A support assistant built on a Foundry deployment answers questions from product manuals stored in Azure AI Search. Users report that questions containing part numbers such as XR-4471-B often return answers about the wrong part, while general questions work well. Manuals are updated weekly. What should the team change first?
The symptom is a retrieval failure on exact identifiers, which pure vector search handles poorly because embeddings capture meaning rather than exact strings. The first change is to switch the retrieval to hybrid search, combining keyword (BM25) and vector queries merged with Reciprocal Rank Fusion, optionally with the semantic ranker, and to confirm the improvement with retrieval and groundedness evaluations.
Fine-tuning the chat model would not help it find the right manual pages, and the weekly updates would make it stale. A larger chat model would still receive the wrong passages. Increasing top-k would add more passages, but not necessarily the passage that matches the part number, and it would increase token cost.
A team wants to see how a new deployment handles real production requests without any user receiving its responses. Mirrored traffic or a traffic split?
Show answer
Mirrored traffic. It copies a percentage of requests to the new deployment and discards its responses; a traffic split would send some users' real responses from it.
Exam Tips
Remember for the exam
- Automated ML finds a model type; sweep jobs tune one; pipelines orchestrate steps.
- Mirror traffic to test without user impact; split traffic to expose users gradually.
- Match symptoms to signals: drift, performance, groundedness, relevance, safety, latency.
- Prefer prompt engineering, then RAG, then fine-tuning, as the problem requires.