Question 300
During a regression test, the following unexpected result occurs: One-paragraph summaries frequently exceed the service's character budget and delay clients. What should the engineer do?
- Specify an appropriate concise response format and cap generation output within the supported model settings
- Reduce stochastic sampling and validate the mapping on labeled repeated tests
- Cross-check each material claim against approved authoritative sources or executable rules
- Add a small diverse set of labeled examples with boundary cases to the prompt
Explanation
Correct Answer
A:The fault signal is that one-paragraph summaries frequently exceed the service's character budget and delay clients; the targeted fix works because a sensible output-token cap and concise instruction bound generation size, but a cap that is too small may truncate content, restoring the ability to avoid long generated replies when a client requires a short summary or fixed output budget.
Incorrect Answers
B:If the failing function were to reduce unwarranted variability when an output must follow a fixed decision rubric, this change could be relevant because lower temperature can reduce sampling randomness where supported; it does not guarantee factual accuracy or replace schema validation; the actual symptom is that one-paragraph summaries frequently exceed the service's character budget and delay clients, which calls for a different repair.
C:If the failing function were to avoid treating a model's agreement with its own answer as proof of correctness, this change could be relevant because independent source retrieval or deterministic tools can verify claims beyond the generator's self-confidence; the actual symptom is that one-paragraph summaries frequently exceed the service's character budget and delay clients, which calls for a different repair.
D:If the failing function were to teach a model a specialized labeling convention that general instructions describe poorly, this change could be relevant because well-chosen examples illustrate the desired input-output mapping, including ambiguous edge cases; they must be representative; the actual symptom is that one-paragraph summaries frequently exceed the service's character budget and delay clients, which calls for a different repair.
Question 301
The engineering change request is to use external evidence to verify generated claims. What is the most direct acceptance criterion?
- Track summary completeness, truncation rate and output-token distribution
- Evaluate task accuracy, p95 latency, and cost per successful output
- Measure claims corroborated by independent evidence and unresolved discrepancies
- Measure rubric violations and unsupported statements before and after revision
Explanation
Correct Answer
C:The accepted change is to use external evidence to verify generated claims; this evaluation checks whether it can avoid treating a model's agreement with its own answer as proof of correctness, since independent source retrieval or deterministic tools can verify claims beyond the generator's self-confidence.
Incorrect Answers
A:This test concerns the ability to avoid long generated replies when a client requires a short summary or fixed output budget, for which a sensible output-token cap and concise instruction bound generation size, but a cap that is too small may truncate content; it does not establish whether the change to use external evidence to verify generated claims works for the current release.
B:This test concerns the ability to choose between smaller and larger models based on business quality and cost, for which representative evaluations reveal the trade-off among quality, latency and spend; model size is an imperfect proxy; it does not establish whether the change to use external evidence to verify generated claims works for the current release.
D:This test concerns the ability to improve an initial generated report by checking it against a defined factual and style rubric, for which a critique step can identify defects in an earlier draft when grounded in explicit criteria; self-review alone is not an independent fact source; it does not establish whether the change to use external evidence to verify generated claims works for the current release.
Question 302
During a regression test, the following unexpected result occurs: A new assistant prompt improves summaries but begins ignoring numbered citation requirements. What should the engineer do?
- Cross-check each material claim against approved authoritative sources or executable rules
- Run the same labeled task set across candidate models and compare operational metrics
- Compare fixed regression sets covering both summarization and citation tasks across prompt versions
- Classify task complexity and route easy cases to a validated lower-cost model
Explanation
Correct Answer
C:The fault signal is that a new assistant prompt improves summaries but begins ignoring numbered citation requirements; the targeted fix works because paired cases give controlled evidence about prompt effects and expose class-specific regressions, restoring the ability to detect whether changing instructions improves one use case while damaging another.
Incorrect Answers
A:If the failing function were to avoid treating a model's agreement with its own answer as proof of correctness, this change could be relevant because independent source retrieval or deterministic tools can verify claims beyond the generator's self-confidence; the actual symptom is that a new assistant prompt improves summaries but begins ignoring numbered citation requirements, which calls for a different repair.
B:If the failing function were to choose between smaller and larger models based on business quality and cost, this change could be relevant because representative evaluations reveal the trade-off among quality, latency and spend; model size is an imperfect proxy; the actual symptom is that a new assistant prompt improves summaries but begins ignoring numbered citation requirements, which calls for a different repair.
D:If the failing function were to send bounded simple queries to economical models and harder reasoning tasks to stronger ones, this change could be relevant because a routing policy can select among models based on evaluated task difficulty and quality constraints; the actual symptom is that a new assistant prompt improves summaries but begins ignoring numbered citation requirements, which calls for a different repair.
Question 303
A release reviewer is assessing a feature intended to trim redundant conversation context. Which test is most meaningful?
- Track false-positive rate together with harmful-output escape rate during tuning
- Measure indexed chunks per minute, per-item failures, and sustained quota usage
- Measure context-token reduction and preservation of active task facts
- Measure label consistency and accuracy across repeated calls on identical inputs
Explanation
Correct Answer
C:The accepted change is to trim redundant conversation context; this evaluation checks whether it can reduce token cost in long sessions while keeping current commitments and unresolved tasks, since selective compression retains required state but excludes repeated old messages; simply raising token limits does not fix unnecessary spend.
Incorrect Answers
A:This test concerns the ability to reduce legitimate request blocks without weakening essential guardrails, for which precision and recall of safety classifications require policy-labeled evaluation rather than a blanket filter disablement; it does not establish whether the change to trim redundant conversation context works for the current release.
B:This test concerns the ability to lower overhead when indexing many small documents without changing semantic meaning, for which batching compatible embedding requests can improve throughput within service rate limits; errors require granular retries; it does not establish whether the change to trim redundant conversation context works for the current release.
D:This test concerns the ability to reduce unwarranted variability when an output must follow a fixed decision rubric, for which lower temperature can reduce sampling randomness where supported; it does not guarantee factual accuracy or replace schema validation; it does not establish whether the change to trim redundant conversation context works for the current release.
Question 304
A design review proposes to apply output validation with deterministic rules. Which measurable check would establish success on real inputs?
- Evaluate task accuracy, p95 latency, and cost per successful output
- Measure task pass rate, spend, and latency per routing class
- Check stale-citation incidence and cache hits after source updates
- Inject rule-violating JSON fixtures and verify every violation is caught
Explanation
Correct Answer
D:The accepted change is to apply output validation with deterministic rules; this evaluation checks whether it can catch schema-valid yet impossible business outputs before a workflow proceeds, since a type-correct JSON value may still violate business invariants; deterministic post-validation enforces the rules.
Incorrect Answers
A:This test concerns the ability to choose between smaller and larger models based on business quality and cost, for which representative evaluations reveal the trade-off among quality, latency and spend; model size is an imperfect proxy; it does not establish whether the change to apply output validation with deterministic rules works for the current release.
B:This test concerns the ability to send bounded simple queries to economical models and harder reasoning tasks to stronger ones, for which a routing policy can select among models based on evaluated task difficulty and quality constraints; it does not establish whether the change to apply output validation with deterministic rules works for the current release.
C:This test concerns the ability to avoid repeated retrieval for unchanged documents while preventing stale grounding, for which versioned cache keys or invalidation preserve freshness when approved source content changes; it does not establish whether the change to apply output validation with deterministic rules works for the current release.
Question 305
An engineering team has a requirement to teach a model a specialized labeling convention that general instructions describe poorly. Which capability should be in the initial design?
- Use explicit few-shot examples for format nuance
- Trim redundant conversation context
- Lower sampling temperature for stable classifications
- Use explicit system and developer instructions for policy
Explanation
Correct Answer
A:For the stated requirement to teach a model a specialized labeling convention that general instructions describe poorly, well-chosen examples illustrate the desired input-output mapping, including ambiguous edge cases; they must be representative; this is the mechanism that the system must implement.
Incorrect Answers
B:For a system whose objective is to reduce token cost in long sessions while keeping current commitments and unresolved tasks, selective compression retains required state but excludes repeated old messages; simply raising token limits does not fix unnecessary spend; this does not directly meet the required outcome to teach a model a specialized labeling convention that general instructions describe poorly.
C:For a system whose objective is to reduce unwarranted variability when an output must follow a fixed decision rubric, lower temperature can reduce sampling randomness where supported; it does not guarantee factual accuracy or replace schema validation; this does not directly meet the required outcome to teach a model a specialized labeling convention that general instructions describe poorly.
D:For a system whose objective is to keep permanent application behavior separate from ordinary user requests, high-priority instructions establish the app's role and safety boundaries, but external authorization still requires programmatic enforcement; this does not directly meet the required outcome to teach a model a specialized labeling convention that general instructions describe poorly.
Question 306
The team plans to condition generated video on reference media. Which test provides the clearest evidence that this change works?
- Score reference fidelity and temporal consistency across the produced clip
- Review motion continuity, prompt adherence, and output safety across generated frames
- Inspect masked-region correction and unintended changes outside the mask
- Evaluate event order, transition consistency, and coverage of every storyboard step
Explanation
Correct Answer
A:The accepted change is to condition generated video on reference media; this evaluation checks whether it can preserve the recognizable setting of an approved reference while generating a moving scene, since reference-conditioned video generation uses supplied visual cues when the selected model supports them, rather than relying on words alone.
Incorrect Answers
B:This test concerns the ability to create a short visual sequence from a written shot description without any source footage, for which text-to-video generation produces moving visual content; it is distinct from captioning or summarizing an existing video; it does not establish whether the change to condition generated video on reference media works for the current release.
C:This test concerns the ability to replace an unwanted object in a photo while preserving the surrounding approved scene, for which mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; it does not establish whether the change to condition generated video on reference media works for the current release.
D:This test concerns the ability to produce a coherent sequence when a single complex prompt repeatedly loses event ordering, for which dividing the planned clip into constrained shots improves control over actions, transitions and reference continuity, subject to model tooling; it does not establish whether the change to condition generated video on reference media works for the current release.
Question 307
The support ticket describes this behavior: A brand prototype loses product silhouette consistency because each iteration begins from a text-only prompt. Which engineering change should come first?
- Supply the authorized reference media through a compatible video-generation workflow
- Select a supported landscape size or aspect control and compose the prompt for that frame
- Provide an authorized visual reference through a supported image-generation workflow
- Call a supported image-generation deployment with a constrained visual prompt
Explanation
Correct Answer
C:The fault signal is that a brand prototype loses product silhouette consistency because each iteration begins from a text-only prompt; the targeted fix works because reference-guided generation conditions the output on supplied media as supported by the deployed model, instead of starting from only text, restoring the ability to create visual variants that retain the composition or style cues of an approved reference image.
Incorrect Answers
A:If the failing function were to preserve the recognizable setting of an approved reference while generating a moving scene, this change could be relevant because reference-conditioned video generation uses supplied visual cues when the selected model supports them, rather than relying on words alone; the actual symptom is that a brand prototype loses product silhouette consistency because each iteration begins from a text-only prompt, which calls for a different repair.
B:If the failing function were to produce campaign images in a required landscape layout instead of arbitrary dimensions, this change could be relevant because supported generation size and aspect-ratio controls affect composition and delivery fit; post-crop alone can cut out important content; the actual symptom is that a brand prototype loses product silhouette consistency because each iteration begins from a text-only prompt, which calls for a different repair.
D:If the failing function were to create an original illustration from a written scene description without an existing source picture, this change could be relevant because text-to-image generation synthesizes imagery from prompts; it is suited to new compositions rather than extracting details from stored images; the actual symptom is that a brand prototype loses product silhouette consistency because each iteration begins from a text-only prompt, which calls for a different repair.
Question 308
A system now includes a component to use targeted video editing for an existing clip. Which evaluation should accompany the rollout?
- Review motion continuity, prompt adherence, and output safety across generated frames
- Score reference fidelity and temporal consistency across the produced clip
- Compare unedited regions, motion continuity and the specific edited element across frames
- Review prompt adherence, visual quality and safety of generated image samples
- Inspect masked-region correction and unintended changes outside the mask
Explanation
Correct Answer
C:The accepted change is to use targeted video editing for an existing clip; this evaluation checks whether it can change one visual element within a recorded scene without recreating the whole sequence, since a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip.
Incorrect Answers
A:This test concerns the ability to create a short visual sequence from a written shot description without any source footage, for which text-to-video generation produces moving visual content; it is distinct from captioning or summarizing an existing video; it does not establish whether the change to use targeted video editing for an existing clip works for the current release.
B:This test concerns the ability to preserve the recognizable setting of an approved reference while generating a moving scene, for which reference-conditioned video generation uses supplied visual cues when the selected model supports them, rather than relying on words alone; it does not establish whether the change to use targeted video editing for an existing clip works for the current release.
D:This test concerns the ability to create an original illustration from a written scene description without an existing source picture, for which text-to-image generation synthesizes imagery from prompts; it is suited to new compositions rather than extracting details from stored images; it does not establish whether the change to use targeted video editing for an existing clip works for the current release.
E:This test concerns the ability to replace an unwanted object in a photo while preserving the surrounding approved scene, for which mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; it does not establish whether the change to use targeted video editing for an existing clip works for the current release.
Question 309
A solution architect is deciding how to create visual variants that retain the composition or style cues of an approved reference image. Which Azure AI pattern addresses that task?
- Use text-to-image generation for a new visual
- Use reference-guided image generation
- Apply masked inpainting to a small image area
- Condition generated video on reference media
Explanation
Correct Answer
B:For the stated requirement to create visual variants that retain the composition or style cues of an approved reference image, reference-guided generation conditions the output on supplied media as supported by the deployed model, instead of starting from only text; this is the mechanism that the system must implement.
Incorrect Answers
A:For a system whose objective is to create an original illustration from a written scene description without an existing source picture, text-to-image generation synthesizes imagery from prompts; it is suited to new compositions rather than extracting details from stored images; this does not directly meet the required outcome to create visual variants that retain the composition or style cues of an approved reference image.
C:For a system whose objective is to replace an unwanted object in a photo while preserving the surrounding approved scene, mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; this does not directly meet the required outcome to create visual variants that retain the composition or style cues of an approved reference image.
D:For a system whose objective is to preserve the recognizable setting of an approved reference while generating a moving scene, reference-conditioned video generation uses supplied visual cues when the selected model supports them, rather than relying on words alone; this does not directly meet the required outcome to create visual variants that retain the composition or style cues of an approved reference image.
Question 310
In an architecture review, the key requirement is to replace an unwanted object in a photo while preserving the surrounding approved scene. Which solution directly satisfies it?
- Control output aspect ratio and resolution
- Use reference-guided image generation
- Apply masked inpainting to a small image area
- Generate a clip from a scripted prompt
Explanation
Correct Answer
C:For the stated requirement to replace an unwanted object in a photo while preserving the surrounding approved scene, mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; this is the mechanism that the system must implement.
Incorrect Answers
A:For a system whose objective is to produce campaign images in a required landscape layout instead of arbitrary dimensions, supported generation size and aspect-ratio controls affect composition and delivery fit; post-crop alone can cut out important content; this does not directly meet the required outcome to replace an unwanted object in a photo while preserving the surrounding approved scene.
B:For a system whose objective is to create visual variants that retain the composition or style cues of an approved reference image, reference-guided generation conditions the output on supplied media as supported by the deployed model, instead of starting from only text; this does not directly meet the required outcome to replace an unwanted object in a photo while preserving the surrounding approved scene.
D:For a system whose objective is to create a short visual sequence from a written shot description without any source footage, text-to-video generation produces moving visual content; it is distinct from captioning or summarizing an existing video; this does not directly meet the required outcome to replace an unwanted object in a photo while preserving the surrounding approved scene.