AWS Certified AI Practitioner (AIF-C01) — Question 87

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?

Answer options

Correct answer: B

Explanation

The correct answer is B, as negative prompts are specifically designed to instruct the model on what not to produce, thereby reducing unrelated images. Options A, C, and D do not directly address the issue of irrelevant output; zero-shot prompts do not provide specific guidance, positive prompts may reinforce undesired results, and ambiguous prompts can lead to further confusion in the generated images.