A team is using Amazon Bedrock to generate images from text prompts. The generated images often contain artifacts and do not match the prompt description. Which combination of steps should the team take to improve image quality?
Better prompts and tuning inference parameters directly improve image quality.
Why this answer
Option C is correct because refining the prompt with more descriptive language helps the model better interpret the user's intent, while adjusting the CFG (Classifier-Free Guidance) scale controls how strictly the model adheres to the prompt, and increasing inference steps allows the diffusion process to produce higher-quality, artifact-free images. These are standard hyperparameters in diffusion-based image generation models on Amazon Bedrock, directly addressing both artifacts and prompt mismatch.
Exam trap
AWS often tests the misconception that image quality issues are best solved by model retraining or changing the model, rather than by adjusting inference-time parameters like CFG scale and inference steps, which are the immediate and correct levers for prompt adherence and artifact reduction.
How to eliminate wrong answers
Option A is wrong because fine-tuning a model using SageMaker Ground Truth and increasing training epochs is a data labeling and retraining approach that is overkill and not directly applicable to improving inference-time image quality for a pre-trained Bedrock model; it also does not address prompt adherence or artifact reduction. Option B is wrong because increasing the max token count and using a larger model variant does not fix artifacts or prompt mismatch—max token count affects text generation length, not image quality, and a larger model may not inherently improve prompt alignment without prompt engineering. Option D is wrong because using a different foundation model and increasing image resolution may change output characteristics but does not systematically address artifacts or prompt mismatch; higher resolution can even amplify artifacts if the underlying generation process is not optimized.