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

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?

  1. Control output aspect ratio and resolution
  2. Use reference-guided image generation
  3. Apply masked inpainting to a small image area
  4. 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.

Question 311

An engineering team has a requirement to change one visual element within a recorded scene without recreating the whole sequence. Which capability should be in the initial design?

  1. Generate a clip from a scripted prompt
  2. Use targeted video editing for an existing clip
  3. Control output aspect ratio and resolution
  4. Condition generated video on reference media

Explanation

Correct Answer

B:

For the stated requirement to change one visual element within a recorded scene without recreating the whole sequence, a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip; this is the mechanism that the system must implement.

Incorrect Answers

A:

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 change one visual element within a recorded scene without recreating the whole sequence.

C:

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 change one visual element within a recorded scene without recreating the whole sequence.

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 change one visual element within a recorded scene without recreating the whole sequence.

Question 312

After deployment, the team observes: A requested background adjustment creates a completely new scene and loses the original actor's motion. Which remediation addresses the likely cause?

  1. Use a supported video-generation model with a time-bounded shot prompt
  2. Supply the authorized reference media through a compatible video-generation workflow
  3. Apply a supported edit operation to the source video with explicit preservation constraints
  4. Define a mask for the poster region and run a supported inpainting edit

Explanation

Correct Answer

C:

The fault signal is that a requested background adjustment creates a completely new scene and loses the original actor's motion; the targeted fix works because a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip, restoring the ability to change one visual element within a recorded scene without recreating the whole sequence.

Incorrect Answers

A:

If the failing function were to create a short visual sequence from a written shot description without any source footage, this change could be relevant because text-to-video generation produces moving visual content; it is distinct from captioning or summarizing an existing video; the actual symptom is that a requested background adjustment creates a completely new scene and loses the original actor's motion, which calls for a different repair.

B:

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 requested background adjustment creates a completely new scene and loses the original actor's motion, which calls for a different repair.

D:

If the failing function were to replace an unwanted object in a photo while preserving the surrounding approved scene, this change could be relevant because mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; the actual symptom is that a requested background adjustment creates a completely new scene and loses the original actor's motion, which calls for a different repair.

Question 313

Before approving the proposed action to use reference-guided image generation, which measurable acceptance check should be required?

  1. Compare unedited regions, motion continuity and the specific edited element across frames
  2. Evaluate structural similarity and required product-feature preservation in variants
  3. Review prompt adherence, visual quality and safety of generated image samples
  4. Inspect masked-region correction and unintended changes outside the mask

Explanation

Correct Answer

B:

The accepted change is to use reference-guided image generation; this evaluation checks whether it can create visual variants that retain the composition or style cues of an approved reference image, since reference-guided generation conditions the output on supplied media as supported by the deployed model, instead of starting from only text.

Incorrect Answers

A:

This test concerns the ability to change one visual element within a recorded scene without recreating the whole sequence, for which a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip; it does not establish whether the change to use reference-guided image generation works for the current release.

C:

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 reference-guided image generation works for the current release.

D:

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 reference-guided image generation works for the current release.

Question 314

Engineers have implemented a change to apply masked inpainting to a small image area. What validation would expose a remaining defect?

  1. Review prompt adherence, visual quality and safety of generated image samples
  2. Inspect masked-region correction and unintended changes outside the mask
  3. Score reference fidelity and temporal consistency across the produced clip
  4. Measure delivered pixel dimensions and proportion of preserved key objects

Explanation

Correct Answer

B:

The accepted change is to apply masked inpainting to a small image area; this evaluation checks whether it can replace an unwanted object in a photo while preserving the surrounding approved scene, since mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context.

Incorrect Answers

A:

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 apply masked inpainting to a small image area works for the current release.

C:

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 apply masked inpainting to a small image area works for the current release.

D:

This test concerns the ability to produce campaign images in a required landscape layout instead of arbitrary dimensions, for which supported generation size and aspect-ratio controls affect composition and delivery fit; post-crop alone can cut out important content; it does not establish whether the change to apply masked inpainting to a small image area works for the current release.

Question 315

An architecture board is assessing 2 separate deliverables: (1) produce a coherent sequence when a single complex prompt repeatedly loses event ordering; and (2) create a short visual sequence from a written shot description without any source footage. Which distinct implementations meet these deliverables? Choose TWO.

  1. Condition generated video on reference media
  2. Apply masked inpainting to a small image area
  3. Use storyboard-based shot decomposition
  4. Generate a clip from a scripted prompt
  5. Use targeted video editing for an existing clip

Explanation

Correct Answers

C:

For the stated requirement to produce a coherent sequence when a single complex prompt repeatedly loses event ordering, dividing the planned clip into constrained shots improves control over actions, transitions and reference continuity, subject to model tooling; this is the mechanism that the system must implement. This choice satisfies the specific deliverable to produce a coherent sequence when a single complex prompt repeatedly loses event ordering, while the other deliverables require separate capabilities.

D:

For the stated requirement 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 is the mechanism that the system must implement. This choice satisfies the specific deliverable to create a short visual sequence from a written shot description without any source footage, while the other deliverables require separate capabilities.

Incorrect Answers

A:

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 produce a coherent sequence when a single complex prompt repeatedly loses event ordering.

B:

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 produce a coherent sequence when a single complex prompt repeatedly loses event ordering.

E:

For a system whose objective is to change one visual element within a recorded scene without recreating the whole sequence, a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip; this does not directly meet the required outcome to produce a coherent sequence when a single complex prompt repeatedly loses event ordering.

Question 316

An Azure AI workload passes basic health probes but has this issue: A single prompt for a multi-stage demonstration generates steps in the wrong chronological order. Which fix targets it?

  1. Apply a supported edit operation to the source video with explicit preservation constraints
  2. Supply the authorized reference media through a compatible video-generation workflow
  3. Call a supported image-generation deployment with a constrained visual prompt
  4. Plan discrete shot prompts, generate controlled segments, and assemble the approved sequence

Explanation

Correct Answer

D:

The fault signal is that a single prompt for a multi-stage demonstration generates steps in the wrong chronological order; the targeted fix works because dividing the planned clip into constrained shots improves control over actions, transitions and reference continuity, subject to model tooling, restoring the ability to produce a coherent sequence when a single complex prompt repeatedly loses event ordering.

Incorrect Answers

A:

If the failing function were to change one visual element within a recorded scene without recreating the whole sequence, this change could be relevant because a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip; the actual symptom is that a single prompt for a multi-stage demonstration generates steps in the wrong chronological order, which calls for a different repair.

B:

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 single prompt for a multi-stage demonstration generates steps in the wrong chronological order, which calls for a different repair.

C:

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 single prompt for a multi-stage demonstration generates steps in the wrong chronological order, which calls for a different repair.

Question 317

An engineer receives this incident report: A vertical generated image crops off the product when inserted into a wide banner slot. What should be changed?

  1. Supply the authorized reference media through a compatible video-generation workflow
  2. Select a supported landscape size or aspect control and compose the prompt for that frame
  3. Define a mask for the poster region and run a supported inpainting edit
  4. Provide an authorized visual reference through a supported image-generation workflow

Explanation

Correct Answer

B:

The fault signal is that a vertical generated image crops off the product when inserted into a wide banner slot; the targeted fix works because supported generation size and aspect-ratio controls affect composition and delivery fit; post-crop alone can cut out important content, restoring the ability to produce campaign images in a required landscape layout instead of arbitrary dimensions.

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 vertical generated image crops off the product when inserted into a wide banner slot, which calls for a different repair.

C:

If the failing function were to replace an unwanted object in a photo while preserving the surrounding approved scene, this change could be relevant because mask-based image editing limits requested changes to selected regions, while untouched content remains the reference context; the actual symptom is that a vertical generated image crops off the product when inserted into a wide banner slot, which calls for a different repair.

D:

If the failing function were to create visual variants that retain the composition or style cues of an approved reference image, this change could be relevant because reference-guided generation conditions the output on supplied media as supported by the deployed model, instead of starting from only text; the actual symptom is that a vertical generated image crops off the product when inserted into a wide banner slot, which calls for a different repair.

Question 318

Stakeholders want a customer-facing AI service able to create an original illustration from a written scene description without an existing source picture. Which choice implements that requirement?

  1. Use storyboard-based shot decomposition
  2. Apply masked inpainting to a small image area
  3. Use text-to-image generation for a new visual
  4. Control output aspect ratio and resolution

Explanation

Correct Answer

C:

For the stated requirement 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 is the mechanism that the system must implement.

Incorrect Answers

A:

For a system whose objective is to produce a coherent sequence when a single complex prompt repeatedly loses event ordering, dividing the planned clip into constrained shots improves control over actions, transitions and reference continuity, subject to model tooling; this does not directly meet the required outcome to create an original illustration from a written scene description without an existing source picture.

B:

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 an original illustration from a written scene description without an existing source picture.

D:

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 create an original illustration from a written scene description without an existing source picture.

Question 319

Engineers have implemented a change to use storyboard-based shot decomposition. What validation would expose a remaining defect?

  1. Inspect masked-region correction and unintended changes outside the mask
  2. Review prompt adherence, visual quality and safety of generated image samples
  3. Compare unedited regions, motion continuity and the specific edited element across frames
  4. Score reference fidelity and temporal consistency across the produced clip
  5. Evaluate event order, transition consistency, and coverage of every storyboard step

Explanation

Correct Answer

E:

The accepted change is to use storyboard-based shot decomposition; this evaluation checks whether it can produce a coherent sequence when a single complex prompt repeatedly loses event ordering, since dividing the planned clip into constrained shots improves control over actions, transitions and reference continuity, subject to model tooling.

Incorrect Answers

A:

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 storyboard-based shot decomposition works for the current release.

B:

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 storyboard-based shot decomposition works for the current release.

C:

This test concerns the ability to change one visual element within a recorded scene without recreating the whole sequence, for which a video edit workflow acts on existing media with the model's supported modification controls, instead of generating an unrelated new clip; it does not establish whether the change to use storyboard-based shot decomposition works for the current release.

D:

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 storyboard-based shot decomposition works for the current release.

Question 320

A cloud engineering team needs its AI workflow to produce campaign images in a required landscape layout instead of arbitrary dimensions. What technical approach most directly enables that?

  1. Use text-to-image generation for a new visual
  2. Generate a clip from a scripted prompt
  3. Control output aspect ratio and resolution
  4. Use reference-guided image generation

Explanation

Correct Answer

C:

For the stated requirement 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 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 produce campaign images in a required landscape layout instead of arbitrary dimensions.

B:

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 produce campaign images in a required landscape layout instead of arbitrary dimensions.

D:

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 produce campaign images in a required landscape layout instead of arbitrary dimensions.

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