An Azure AI design question can offer several technically possible solutions and still have one defensible choice. A large model may generate the richest response, but a strict latency budget could favor a smaller model. A fully autonomous agent could complete a workflow, but a regulated action may require deterministic approval. Retrieval may improve factual grounding, but a stale or unauthorized document can make a grounded-looking answer wrong. The best design follows the actual constraint, not the most sophisticated feature name.
These are original learning scenarios relevant to Microsoft AI-103 Exam, which covers planning Azure AI solutions, developing generative and agentic applications, multimodal capabilities and information extraction. The purpose is to compare competing approaches with evidence. It is different from troubleshooting a malfunctioning application: here the decisive requirements are provided, and the reader must choose a design that could satisfy them.
Translate a feature request into a testable requirement
Before selecting a Microsoft Foundry model or service, state the intended result, affected data, permitted effects and limiting condition. “Build a smart policy assistant” is not a design specification. “Answer employees’ reimbursement-policy questions from the currently approved policy document, identify the policy version and refrain from authorizing payments” supplies an observable task and a permission boundary.
For each proposed option, ask what property it delivers and what it cannot guarantee. Retrieval can supply source content, but not automatically determine which document is legally applicable. A structured response can satisfy a schema without containing correct facts. A content-safety filter can address classes of unsafe text without deciding which employee may access a confidential record. The selected architecture needs separate controls for separate failure modes.
Build a decision note with five fields: goal, decisive constraint, proposed component, rejected alternative and verification. The final field matters because a plausible design should produce evidence of compliance with the requirement rather than merely a persuasive explanation.
Scenario 1: the answer must follow a changing policy
A fictional university updates travel policy every quarter. A support bot must answer claims questions using the currently effective policy and distinguish rules for staff and external researchers. An option that adds more general model knowledge might sound attractive, but the relevant problem is source authority and freshness.
A strong starting solution retrieves from a maintained, access-controlled policy corpus. Each record carries its effective date, audience and version. The application filters for the user’s allowed policy and supplies the applicable text to the model. If two versions conflict or the necessary rule is absent, the assistant should identify the uncertainty rather than fabricate a policy.
What makes this better than placing a large static policy excerpt in the system prompt? The source changes and applicability depends on a user condition. A long prompt can become stale and obscure version differences. Nor can vector similarity alone decide which version has legal authority. Source metadata, filters and a review process complete the retrieval design.
Test a staff claim before and after an approved policy change and a researcher request that should not see staff-only material. The correct result includes the appropriate version or an explicit escalation. A plausible answer citing a superseded document is not successful merely because it reads fluently.
Scenario 2: classification is constrained by latency and cost
A logistics company processes thousands of short, anonymized shipment descriptions each minute. It needs a category and a small confidence or review indication, not a long explanation. The response-time budget is tight, and a human can review ambiguous records later. Would a complex multi-agent workflow improve the requirement?
Often it would not. First benchmark a suitably capable, smaller or more efficient model and a predictable classification pipeline against representative labeled examples. Validate output categories deterministically, measure throughput and latency, and compare errors in minority classes. A larger model should be chosen only if its quality improvements justify the resource and service constraints.
Agent orchestration introduces additional calls, state and failure conditions that the known fixed classification task may not need. Conversely, a simplistic rule-only classifier may be unsuitable if descriptions use varied language. The rational decision follows measured task performance, not a rule that all AI applications require agents or that the smallest model always wins.
Evaluation should include noisy text, ambiguous classes and changes in volume. If performance falls sharply on one category, improve the task or training examples and retest rather than assume faster responses prove a good design.
Scenario 3: an agent may propose work but must not execute it
A service desk assistant reads a user’s incident report, checks permitted device records and prepares a replacement request. It must not submit a purchasing order without a human approver. The design may use a model-directed tool to fetch information and a separate draft-order tool, but a write-capable procurement API must remain behind explicit authorization.
The backend should enforce that boundary. A prompt telling the agent to “ask before purchasing” is helpful user interaction guidance, not a security control. If the tool can submit an order with the model’s ordinary credentials, the application remains vulnerable to an unapproved call regardless of how carefully the system prompt is written.
Define a draft state, an authenticated approval action and a separate execution step. Validate the requesting user and the order scope. Use an idempotency mechanism so that a timeout after a successful submission does not cause the same purchase to be created twice. Distinguish a denied action from a temporarily unavailable API.
Test an authorized draft, an unauthorized attempt to use another department’s device record and a simulated retry. The model can contribute useful reasoning, but control of real-world effects belongs to deterministic application permissions and documented human authority.
Scenario 4: extracting a field is not the same as writing a summary
An insurer receives standardized synthetic inspection forms and needs claim number, inspection date, vehicle identifier and a short list of missing fields. A free-form summary may be readable yet unusable for downstream validation. A rigid schema without document-grounding checks may accept invented values.
A suitable extraction workflow combines supported document understanding or multimodal capabilities, layout and field detection, and application-side validation. It should preserve the source reference or page location for fields that require review. The structured output must represent missing or uncertain values rather than invent text simply to fill a required field.
Compare a clean form with a blurry scan and a form whose vehicle identifier appears in two conflicting positions. A simple OCR text scrape may lose table layout and field relationships, while a generative explanation alone may omit exact values. The final service choice depends on the form variability, field requirements and validation quality.
Measure field-level accuracy and the percentage of records requiring human review. A schema-valid claim number that belongs to another form is a factual failure, not a formatting success.
Scenario 5: images can contain evidence and untrusted instructions
A maintenance assistant accepts photographs of equipment labels. Some labels include ordinary printed text; a test image also contains an instruction telling the assistant to reveal hidden records. The model may read the printed text as part of understanding the image, but the application must not promote it into system authority.
Use an approved visual understanding capability to extract relevant label details while restricting input and output scope. Treat embedded text as data. Do not grant the model access to an unrelated customer database merely because a label contains a command. Apply host-side tool authorization, appropriate content controls and an explicit review path for uncertain visual evidence.
Likewise, the assistant should not infer an internal equipment fault from a single photograph when that conclusion is unsupported. A correct result may identify visible damage and recommend a qualified inspection instead of providing a definitive mechanical diagnosis.
The verification should include a normal photograph, a low-quality image and an adversarial embedded-text case. The key success condition is that useful visual interpretation occurs without unauthorized data access or unsupported certainty.
Scenario 6: a working demo cannot handle production change
An Azure AI assistant successfully answers test questions, but after a model update its groundedness drops and tool calls become slower. The immediate architectural requirement is controlled change and observability. More prompt instructions may not reveal whether the regression arose from retrieval, the model deployment, new tool schemas or a network dependency.
Version the model, prompt, retrieval configuration and tool contract. Collect relevant traces and evaluation outcomes using appropriately scoped telemetry such as Azure monitoring, while preserving the distinction between resource metrics and AI answer quality. A successful API response only proves a request completed; it does not establish that the answer was supported.
Run a representative evaluation set before promoting a candidate configuration. Include errors that matter to the business, such as unsupported reimbursement policies or duplicate purchasing actions. Integrate these checks into controlled CI/CD practices alongside ordinary application tests. When a serious regression is observed, a known-good rollback must include relevant noncode configuration where possible.
The decision is not whether monitoring or evaluation sounds more advanced. The system needs both platform evidence and task-specific quality evidence, with a defined person responsible for interpreting them. Testing a rollback and its effects on data and permissions makes the design defensible.
Practice by changing only the decisive constraint
After each scenario, change one requirement and explain whether the recommendation changes. If the policy assistant becomes a one-time summary of a fixed public document, a simpler flow may suffice. If shipment classification must justify high-risk decisions to an auditor, richer explanation and human review may be needed. If a draft order becomes an authorized automatic low-value action, the approval and risk model changes but deterministic enforcement remains essential.
Keep the comparison specific: source applicability, model cost and latency, tool authority, output contract, multimodal uncertainty, or release quality. AI-103 judgment improves when a learner knows what a control proves and which alternative would solve a different problem. The best option is the one whose behavior can be tested against the stated outcome—not the model or service with the longest feature list.