Microsoft AI-103 (Developing AI Apps and Agents on Azure) Practice Test 27

Question 260

An assistant emits repeated phrases in long completions. Which approach best meets the requirement?

  1. Combine controlled generation with explicit brand and safety validation
  2. Hold the evaluation prompt set constant while varying one parameter
  3. Tune supported repetition and length controls and revise the prompt
  4. Test semantic and schema invariants rather than exact prose matching
  5. Use a structured scoring rubric with constrained numeric or categorical outputs

Explanation

Correct Answer

C:

Repetition can reflect sampling settings and context design; parameter support must be verified for the chosen deployment.

Incorrect Answers

A:

Sampling settings influence diversity but cannot guarantee policy compliance or eliminate every disallowed term; the requested solution requires tuning supported repetition and length controls and revise the prompt rather than this different mechanism.

B:

Controlled experiments isolate the parameter's effect instead of confounding it with different input difficulty; it addresses a neighboring concern, while the task tests tuning supported repetition and length controls and revise the prompt.

D:

Generative outputs can vary even with reduced randomness; robust tests focus on requirements the application actually depends on; on its own this leaves tuning supported repetition and length controls and revise the prompt unaddressed.

E:

Explicit criteria and output constraints reduce subjective drift, though calibration against reference judgments remains necessary; meeting the stated constraint still involves tuning supported repetition and length controls and revise the prompt.

Question 261

A model frequently stops before completing a required XML-like report. What should the engineer implement?

  1. Set iteration bounds and compare revisions against original evidence
  2. Inspect finish reasons and raise an appropriate output allowance
  3. Test semantic and schema invariants rather than exact prose matching
  4. Use a structured scoring rubric with constrained numeric or categorical outputs

Explanation

Correct Answer

B:

Truncation diagnostics help distinguish output-budget exhaustion from a generation design error.

Incorrect Answers

A:

Repeated self-revision can amplify unsupported claims; a stopping rule and grounded evaluation limit that risk; the scenario instead depends on inspecting finish reasons and raise an appropriate output allowance.

C:

Generative outputs can vary even with reduced randomness; robust tests focus on requirements the application actually depends on; it addresses a neighboring concern, while the task tests inspecting finish reasons and raise an appropriate output allowance.

D:

Explicit criteria and output constraints reduce subjective drift, though calibration against reference judgments remains necessary; it cannot substitute for inspecting finish reasons and raise an appropriate output allowance under these conditions.

Question 262

A model's answers drift after several self-critique iterations. What is the most suitable next implementation decision?

  1. Tune supported repetition and length controls and revise the prompt
  2. Set iteration bounds and compare revisions against original evidence
  3. Combine controlled generation with explicit brand and safety validation
  4. Test semantic and schema invariants rather than exact prose matching
  5. Inspect finish reasons and raise an appropriate output allowance

Explanation

Correct Answer

B:

Repeated self-revision can amplify unsupported claims; a stopping rule and grounded evaluation limit that risk.

Incorrect Answers

A:

Repetition can reflect sampling settings and context design; parameter support must be verified for the chosen deployment; the needed design choice concerns setting iteration bounds and compare revisions against original evidence instead.

C:

Sampling settings influence diversity but cannot guarantee policy compliance or eliminate every disallowed term; the requested solution requires setting iteration bounds and compare revisions against original evidence rather than this different mechanism.

D:

Generative outputs can vary even with reduced randomness; robust tests focus on requirements the application actually depends on; it addresses a neighboring concern, while the task tests setting iteration bounds and compare revisions against original evidence.

E:

Truncation diagnostics help distinguish output-budget exhaustion from a generation design error; it cannot substitute for setting iteration bounds and compare revisions against original evidence under these conditions.

Question 263

A team compares temperature settings but each test uses different customer prompts. Which approach best meets the requirement?

  1. Set iteration bounds and compare revisions against original evidence
  2. Pin or record the model and inference configuration during evaluation
  3. Hold the evaluation prompt set constant while varying one parameter
  4. Tune supported repetition and length controls and revise the prompt

Explanation

Correct Answer

C:

Controlled experiments isolate the parameter's effect instead of confounding it with different input difficulty.

Incorrect Answers

A:

Repeated self-revision can amplify unsupported claims; a stopping rule and grounded evaluation limit that risk; that would not ensure holding the evaluation prompt set constant while varying one parameter for this workload.

B:

Without controlling model version and parameters, observed differences cannot be attributed to prompt edits alone; the needed design choice concerns holding the evaluation prompt set constant while varying one parameter instead.

D:

Repetition can reflect sampling settings and context design; parameter support must be verified for the chosen deployment; the requested solution requires holding the evaluation prompt set constant while varying one parameter rather than this different mechanism.

Question 264

A product-naming generator is evaluated across new model releases. Its outputs must stay within approved brand constraints, and reviewers need comparisons that are not confounded by undocumented model or sampling changes. Which TWO safeguards should be built into the evaluation workflow? Choose TWO.

  1. Record the exact candidate model and sampling configuration for each test run
  2. Test semantic and schema invariants rather than exact prose matching
  3. Tune supported repetition and length controls and revise the prompt
  4. Set iteration bounds and compare revisions against original evidence
  5. Validate every proposed product name against brand and policy rules

Explanation

Correct Answers

A:

Without controlling model version and parameters, observed differences cannot be attributed to prompt edits alone; the evaluation needs a stable record of which release produced each suggestion.

E:

Sampling settings influence diversity but cannot guarantee policy compliance or eliminate every disallowed term; a fluent proposed name can still be prohibited by trademark or brand rules.

Incorrect Answers

B:

Generative outputs can vary even with reduced randomness; robust tests focus on requirements the application actually depends on; that would not ensure reproducible generation settings and brand-safe output screening for this workload.

C:

Repetition can reflect sampling settings and context design; parameter support must be verified for the chosen deployment; the needed design choice concerns reproducible generation settings and brand-safe output screening instead.

D:

Repeated self-revision can amplify unsupported claims; a stopping rule and grounded evaluation limit that risk; the scenario instead depends on reproducible generation settings and brand-safe output screening.

Question 265

A help desk serves easy FAQ answers and difficult legal research, with very different inference costs. What is the most suitable next implementation decision?

  1. Route image-bearing tasks to a multimodal-capable model
  2. Use a lightweight classifier followed by conditional generation
  3. Route tasks by complexity to evaluated specialized model tiers
  4. Use dedicated embedding inference for vector encoding and generation inference for replies

Explanation

Correct Answer

C:

Task-aware routing allocates expensive reasoning only where needed; route quality must be evaluated for false simple classifications.

Incorrect Answers

A:

Modality detection avoids sending pixels to an endpoint that only accepts text and preserves efficient text-only paths; that mechanism does not itself establish routing tasks by complexity to evaluated specialized model tiers.

B:

An inexpensive gating stage prevents unnecessary large-model calls when the user's intent needs no synthesis; the relevant decision is routing tasks by complexity to evaluated specialized model tiers, not the separate action described here.

D:

Vector encoders create retrieval features; conversational completion models are not interchangeable substitutes for those vectors; the needed design choice concerns routing tasks by complexity to evaluated specialized model tiers instead.

Question 266

A first model produces a low-confidence extraction that could cause costly correction work. What is the most suitable next implementation decision?

  1. Use a lightweight classifier followed by conditional generation
  2. Escalate uncertain cases to a stronger model or human review
  3. Use dedicated embedding inference for vector encoding and generation inference for replies
  4. Route image-bearing tasks to a multimodal-capable model

Explanation

Correct Answer

B:

A cascade uses confidence and validation signals to target additional effort instead of treating every response identically.

Incorrect Answers

A:

An inexpensive gating stage prevents unnecessary large-model calls when the user's intent needs no synthesis; meeting the stated constraint still involves escalating uncertain cases to a stronger model or human review.

C:

Vector encoders create retrieval features; conversational completion models are not interchangeable substitutes for those vectors; the relevant decision is escalating uncertain cases to a stronger model or human review, not the separate action described here.

D:

Modality detection avoids sending pixels to an endpoint that only accepts text and preserves efficient text-only paths; that would not ensure escalating uncertain cases to a stronger model or human review for this workload.

Question 267

A model for multilingual chat performs poorly on one supported language. Which implementation should the team choose?

  1. Route image-bearing tasks to a multimodal-capable model
  2. Combine deterministic rule evaluation with language generation
  3. Use a lightweight classifier followed by conditional generation
  4. Route tasks by complexity to evaluated specialized model tiers
  5. Route that locale to a model evaluated for the target language

Explanation

Correct Answer

E:

Per-language quality data can justify separate model selection, while enforcing equivalent security controls across routes.

Incorrect Answers

A:

Modality detection avoids sending pixels to an endpoint that only accepts text and preserves efficient text-only paths; on its own this leaves routing that locale to a model evaluated for the target language unaddressed.

B:

Rules decide hard authorization or compliance outcomes, while the model explains permitted results without replacing enforcement; meeting the stated constraint still involves routing that locale to a model evaluated for the target language.

C:

An inexpensive gating stage prevents unnecessary large-model calls when the user's intent needs no synthesis; that mechanism does not itself establish routing that locale to a model evaluated for the target language.

D:

Task-aware routing allocates expensive reasoning only where needed; route quality must be evaluated for false simple classifications; the relevant decision is routing that locale to a model evaluated for the target language, not the separate action described here.

Question 268

A business workflow needs quick intent detection before expensive document synthesis. Which implementation should the team choose?

  1. Escalate uncertain cases to a stronger model or human review
  2. Route that locale to a model evaluated for the target language
  3. Use a lightweight classifier followed by conditional generation
  4. Route image-bearing tasks to a multimodal-capable model
  5. Combine deterministic rule evaluation with language generation

Explanation

Correct Answer

C:

An inexpensive gating stage prevents unnecessary large-model calls when the user's intent needs no synthesis.

Incorrect Answers

A:

A cascade uses confidence and validation signals to target additional effort instead of treating every response identically; it cannot substitute for providing quick intent detection before expensive document synthesis under these conditions.

B:

Per-language quality data can justify separate model selection, while enforcing equivalent security controls across routes; on its own this leaves providing quick intent detection before expensive document synthesis unaddressed.

D:

Modality detection avoids sending pixels to an endpoint that only accepts text and preserves efficient text-only paths; that mechanism does not itself establish providing quick intent detection before expensive document synthesis.

E:

Rules decide hard authorization or compliance outcomes, while the model explains permitted results without replacing enforcement; the relevant decision is providing quick intent detection before expensive document synthesis, not the separate action described here.

Question 269

An app must interpret uploaded diagrams only for requests that include images. What should the engineer implement?

  1. Route tasks by complexity to evaluated specialized model tiers
  2. Escalate uncertain cases to a stronger model or human review
  3. Route image-bearing tasks to a multimodal-capable model
  4. Use a lightweight classifier followed by conditional generation

Explanation

Correct Answer

C:

Modality detection avoids sending pixels to an endpoint that only accepts text and preserves efficient text-only paths.

Incorrect Answers

A:

Task-aware routing allocates expensive reasoning only where needed; route quality must be evaluated for false simple classifications; it addresses a neighboring concern, while the task tests interpreting uploaded diagrams only for requests that include images.

B:

A cascade uses confidence and validation signals to target additional effort instead of treating every response identically; it cannot substitute for interpreting uploaded diagrams only for requests that include images under these conditions.

D:

An inexpensive gating stage prevents unnecessary large-model calls when the user's intent needs no synthesis; meeting the stated constraint still involves interpreting uploaded diagrams only for requests that include images.

Question 270

A Foundry application receives thousands of straightforward FAQ requests and a small number of difficult multistep cases. Evaluations show a compact model passes the FAQ rubric but struggles on the harder cases. Which model-use pattern reduces average cost without sacrificing the assessed quality threshold?

  1. Route simple requests to the evaluated compact model and harder cases to a stronger model
  2. Send every request to the most expensive model regardless of task difficulty
  3. Alternate randomly between available models without considering their error profiles
  4. Swap models midway through generation without preserving prompt and tool state

Explanation

Correct Answer

A:

Complexity-aware routing uses a lower-cost model when its measured task quality is sufficient, while directing cases it cannot reliably solve to a stronger model.

Incorrect Answers

B:

A single top-tier model can satisfy quality but wastes capacity on routine cases that a tested smaller model already handles adequately.

C:

Random assignment ignores the documented difference in failure rate across task types and cannot enforce the required accuracy threshold.

D:

An uncoordinated mid-response swap can lose context and tool state, and it provides no evaluated rule for matching model ability to request difficulty.

Developing AI Apps and Agents on Azure (AI-103) Practice Tests