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

Question 510

A designer must expand a portrait into a wider landscape canvas while preserving the original center. What should be included in the design?

  1. Retain the source image, edit mask, prompt, and output version
  2. Use outpainting or canvas-extension controls on a supported model
  3. Mask the sky and prompt for geographically plausible mountains
  4. Refine mask transitions and evaluate contextual blending

Explanation

Correct Answer

B:

Canvas extension synthesizes content around the supplied image; ordinary cropping would discard rather than extend scenery.

Incorrect Answers

A:

Edit provenance distinguishes changes from original evidence and supports review of what was regenerated; the requested solution requires expanding a portrait into a wider landscape canvas while preserving the original center rather than this different mechanism.

C:

Inpainting can add scene content within a selected region while retaining existing foreground features; it cannot substitute for expanding a portrait into a wider landscape canvas while preserving the original center under these conditions.

D:

Poor boundary continuity is an editing-quality issue involving texture and lighting, not a failure of semantic labeling; on its own this leaves expanding a portrait into a wider landscape canvas while preserving the original center unaddressed.

Question 511

An auditor needs to know which parts of an image were intentionally altered. Which implementation should the team choose?

  1. Refine mask transitions and evaluate contextual blending
  2. Retain the source image, edit mask, prompt, and output version
  3. Mask the sky and prompt for geographically plausible mountains
  4. Use a tightly scoped editing mask and deterministic logo verification

Explanation

Correct Answer

B:

Edit provenance distinguishes changes from original evidence and supports review of what was regenerated.

Incorrect Answers

A:

Poor boundary continuity is an editing-quality issue involving texture and lighting, not a failure of semantic labeling; the scenario instead depends on knowing which parts of an image were intentionally altered.

C:

Inpainting can add scene content within a selected region while retaining existing foreground features; it addresses a neighboring concern, while the task tests knowing which parts of an image were intentionally altered.

D:

A limited region reduces collateral edits; exact trademark fidelity should be validated rather than assumed from the generative model; it cannot substitute for knowing which parts of an image were intentionally altered under these conditions.

Question 512

A workflow must change product text to an exact legal warning. Which action directly produces the required outcome?

  1. Overlay validated typography after editing rather than trusting generated lettering
  2. Use a tightly scoped editing mask and deterministic logo verification
  3. Apply inpainting to a mask covering the cable region
  4. Retain the source image, edit mask, prompt, and output version

Explanation

Correct Answer

A:

Generative image text can be imperfect; deterministic text rendering better preserves exact legal copy.

Incorrect Answers

B:

A limited region reduces collateral edits; exact trademark fidelity should be validated rather than assumed from the generative model; the scenario instead depends on changing product text to an exact legal warning.

C:

Masked editing focuses regeneration on selected pixels and can preserve unmasked objects and room composition; the requested solution requires changing product text to an exact legal warning rather than this different mechanism.

D:

Edit provenance distinguishes changes from original evidence and supports review of what was regenerated; it addresses a neighboring concern, while the task tests changing product text to an exact legal warning.

Question 513

A banner generator must produce assets matching a specific supported aspect ratio. What should the engineer implement?

  1. Enforce output count and per-request budget in the application
  2. Normalize EXIF orientation before sending it to the model
  3. Set the model's permitted dimensions or aspect-ratio control
  4. Choose a supported transparency option or a segmentation postprocess
  5. Validate available quality controls for the deployed image model

Explanation

Correct Answer

C:

Output shape is a generation setting, not a semantic property that can be reliably forced through a text description alone.

Incorrect Answers

A:

The application should control generation cardinality and cost, subject to model-specific limits; that would not ensure producing assets matching a specific supported aspect ratio for this workload.

B:

Incorrect source orientation can cause rotated or misaligned edits even when the prompt describes the subject correctly; the needed design choice concerns producing assets matching a specific supported aspect ratio instead.

D:

A transparent background requires alpha handling; a white background rendered in pixels is not equivalent; the requested solution requires producing assets matching a specific supported aspect ratio rather than this different mechanism.

E:

Different image endpoints expose different controls; unsupported parameters cause errors or have no effect; it addresses a neighboring concern, while the task tests producing assets matching a specific supported aspect ratio.

Question 514

An application chooses image quality settings without considering API support. Which method is the best fit?

  1. Set the model's permitted dimensions or aspect-ratio control
  2. Validate available quality controls for the deployed image model
  3. Enforce output count and per-request budget in the application
  4. Use the same approved source and controlled settings for both runs

Explanation

Correct Answer

B:

Different image endpoints expose different controls; unsupported parameters cause errors or have no effect.

Incorrect Answers

A:

Output shape is a generation setting, not a semantic property that can be reliably forced through a text description alone; the relevant decision is validating available quality controls for the deployed image model, not the separate action described here.

C:

The application should control generation cardinality and cost, subject to model-specific limits; the needed design choice concerns validating available quality controls for the deployed image model instead.

D:

A controlled comparison isolates prompt changes; different references would make conclusions about the prompt unreliable; the scenario instead depends on validating available quality controls for the deployed image model.

Question 515

A marketing workflow needs to compare two prompts without confounding input-image differences. What should be included in the design?

  1. Use controlled palette guidance and post-generation color checks
  2. Enforce output count and per-request budget in the application
  3. Choose a supported transparency option or a segmentation postprocess
  4. Normalize EXIF orientation before sending it to the model
  5. Use the same approved source and controlled settings for both runs

Explanation

Correct Answer

E:

A controlled comparison isolates prompt changes; different references would make conclusions about the prompt unreliable.

Incorrect Answers

A:

Color consistency requires measurable validation; repeated prompts alone may yield visibly different shades; that mechanism does not itself establish comparing two prompts without confounding input-image differences.

B:

The application should control generation cardinality and cost, subject to model-specific limits; the relevant decision is comparing two prompts without confounding input-image differences, not the separate action described here.

C:

A transparent background requires alpha handling; a white background rendered in pixels is not equivalent; that would not ensure comparing two prompts without confounding input-image differences for this workload.

D:

Incorrect source orientation can cause rotated or misaligned edits even when the prompt describes the subject correctly; the needed design choice concerns comparing two prompts without confounding input-image differences instead.

Question 516

A designer wants a transparent product cutout to place over many backgrounds. What is the most suitable next implementation decision?

  1. Choose a supported transparency option or a segmentation postprocess
  2. Validate available quality controls for the deployed image model
  3. Use the same approved source and controlled settings for both runs
  4. Use controlled palette guidance and post-generation color checks
  5. Set the model's permitted dimensions or aspect-ratio control

Explanation

Correct Answer

A:

A transparent background requires alpha handling; a white background rendered in pixels is not equivalent.

Incorrect Answers

B:

Different image endpoints expose different controls; unsupported parameters cause errors or have no effect; that mechanism does not itself establish choosing a supported transparency option or a segmentation postprocess.

C:

A controlled comparison isolates prompt changes; different references would make conclusions about the prompt unreliable; the relevant decision is choosing a supported transparency option or a segmentation postprocess, not the separate action described here.

D:

Color consistency requires measurable validation; repeated prompts alone may yield visibly different shades; that would not ensure choosing a supported transparency option or a segmentation postprocess for this workload.

E:

Output shape is a generation setting, not a semantic property that can be reliably forced through a text description alone; the needed design choice concerns choosing a supported transparency option or a segmentation postprocess instead.

Question 517

A large image request causes excessive latency in an interactive mobile app. How should the developer address this requirement?

  1. Normalize EXIF orientation before sending it to the model
  2. Set the model's permitted dimensions or aspect-ratio control
  3. Use a task-appropriate output size and review compression strategy
  4. Choose a supported transparency option or a segmentation postprocess

Explanation

Correct Answer

C:

Pixel resolution influences payload and processing requirements; oversized assets can exceed the user's latency budget.

Incorrect Answers

A:

Incorrect source orientation can cause rotated or misaligned edits even when the prompt describes the subject correctly; on its own this leaves using a task-appropriate output size and review compression strategy unaddressed.

B:

Output shape is a generation setting, not a semantic property that can be reliably forced through a text description alone; meeting the stated constraint still involves using a task-appropriate output size and review compression strategy.

D:

A transparent background requires alpha handling; a white background rendered in pixels is not equivalent; the relevant decision is using a task-appropriate output size and review compression strategy, not the separate action described here.

Question 518

A team requires a predictable number of image variations per request. What solution would satisfy this constraint?

  1. Use a task-appropriate output size and review compression strategy
  2. Normalize EXIF orientation before sending it to the model
  3. Enforce output count and per-request budget in the application
  4. Set the model's permitted dimensions or aspect-ratio control

Explanation

Correct Answer

C:

The application should control generation cardinality and cost, subject to model-specific limits.

Incorrect Answers

A:

Pixel resolution influences payload and processing requirements; oversized assets can exceed the user's latency budget; it cannot substitute for providing a predictable number of image variations per request under these conditions.

B:

Incorrect source orientation can cause rotated or misaligned edits even when the prompt describes the subject correctly; on its own this leaves providing a predictable number of image variations per request unaddressed.

D:

Output shape is a generation setting, not a semantic property that can be reliably forced through a text description alone; that mechanism does not itself establish providing a predictable number of image variations per request.

Question 519

A reference-image edit must preserve the original's orientation. What should the engineer implement?

  1. Validate available quality controls for the deployed image model
  2. Use the same approved source and controlled settings for both runs
  3. Normalize EXIF orientation before sending it to the model
  4. Enforce output count and per-request budget in the application

Explanation

Correct Answer

C:

Incorrect source orientation can cause rotated or misaligned edits even when the prompt describes the subject correctly.

Incorrect Answers

A:

Different image endpoints expose different controls; unsupported parameters cause errors or have no effect; it addresses a neighboring concern, while the task tests preserving the original's orientation.

B:

A controlled comparison isolates prompt changes; different references would make conclusions about the prompt unreliable; it cannot substitute for preserving the original's orientation under these conditions.

D:

The application should control generation cardinality and cost, subject to model-specific limits; meeting the stated constraint still involves preserving the original's orientation.

Question 520

A generated asset contains inconsistent brand colors across variants. What is the most suitable next implementation decision?

  1. Validate available quality controls for the deployed image model
  2. Enforce output count and per-request budget in the application
  3. Use the same approved source and controlled settings for both runs
  4. Use controlled palette guidance and post-generation color checks

Explanation

Correct Answer

D:

Color consistency requires measurable validation; repeated prompts alone may yield visibly different shades.

Incorrect Answers

A:

Different image endpoints expose different controls; unsupported parameters cause errors or have no effect; the requested solution requires using controlled palette guidance and post-generation color checks rather than this different mechanism.

B:

The application should control generation cardinality and cost, subject to model-specific limits; it addresses a neighboring concern, while the task tests using controlled palette guidance and post-generation color checks.

C:

A controlled comparison isolates prompt changes; different references would make conclusions about the prompt unreliable; it cannot substitute for using controlled palette guidance and post-generation color checks under these conditions.

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