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

A company is using few-shot prompting on a base model that is hosted on Amazon Bedrock. The model currently uses 10 examples in the prompt. The model is invoked once daily and is performing well. The company wants to lower the monthly cost.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because reducing the number of tokens in the prompt can help lower processing costs associated with the model invocation. Options A and C involve changes that may actually increase costs, and option D does not directly address the goal of reducing monthly expenses.