nerdexam
Amazon

AIF-C01 · Question #125

A company notices that its foundation model (FM) generates images that are unrelated to the prompts. The company wants to modify the prompt techniques to decrease unrelated images. Which solution…

The correct answer is B. Use negative prompts. To decrease the generation of images unrelated to the prompt by a foundation model, using negative prompts is an effective solution.

Submitted by kim_seoul· Mar 30, 2026Working with Foundation Models

Question

A company notices that its foundation model (FM) generates images that are unrelated to the prompts. The company wants to modify the prompt techniques to decrease unrelated images. Which solution meets these requirements?

Options

  • AUse zero-shot prompts.
  • BUse negative prompts.
  • CUse positive prompts.
  • DUse ambiguous prompts.

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    81% (17)
  • C
    10% (2)
  • D
    5% (1)

Why each option

To decrease the generation of images unrelated to the prompt by a foundation model, using negative prompts is an effective solution.

AUse zero-shot prompts.

Zero-shot prompts are used for tasks where no examples are given, relying on the model's pre-trained knowledge, and do not specifically address the issue of unrelated image generation.

BUse negative prompts.Correct

Negative prompts are a powerful technique in image generation where you specify what you explicitly *don't* want to appear in the generated image. By providing keywords for unrelated or undesirable elements in a negative prompt, the model is guided away from generating those features, thereby increasing the relevance of the output to the desired positive prompt.

CUse positive prompts.

Positive prompts define what *should* be in the image. While essential, simply using positive prompts without negative prompts might still result in unrelated elements if the model's understanding or training data biases lead it astray.

DUse ambiguous prompts.

Ambiguous prompts would likely increase the chance of generating unrelated or unexpected images, as they provide less clear guidance to the model.

Concept tested: Image generation, Stable Diffusion, negative prompting

Source: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-stable-diffusion.html

Topics

#Foundation Models#Generative AI#Prompt Engineering#Negative Prompting

Community Discussion

No community discussion yet for this question.

Full AIF-C01 Practice