AIF-C01 practice question: Choosing FMs and inference parameters (2 of 7)
Applications of Foundation Models A free question from our original AIF-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A legal firm uses a text model on Amazon Bedrock with on-demand pricing to review client contracts.
Lawyers have started pasting entire 80-page contracts into every prompt, and the monthly bill has risen sharply, although the replies are only a few sentences long.
What is the MOST likely cause of the higher bill?
Choose one answer.
AA. On-demand models bill per prompt, so a long prompt is counted as several separate prompts on each call.
BB. Input tokens are billed, so very long prompts cost more even when the answers are short.
CC. Bedrock charges a fixed fee for each page of any document uploaded to the service for processing.
DD. Long prompts push the account onto Provisioned Throughput, which costs more per hour.
Show the answer and explanation
Answer: B
A. Wrong: On-demand text pricing counts tokens, not prompts. A long prompt is not billed as several separate prompts, so this is not the cause.
B. Right: Correct. On-demand text models charge per token for the input sent and the output produced. An 80-page contract adds many input tokens to every call, even when the reply is short. Learn more: Amazon Bedrock pricing (opens in a new tab)
C. Wrong: Bedrock does not charge a fee per page of uploaded text. Its pricing for text models is based on the tokens processed.
D. Wrong: Provisioned Throughput is a separate purchase of reserved capacity that the team chooses. A long prompt does not switch the account to it automatically.
Explanation
On-demand Bedrock text models charge for the input tokens sent and the output tokens generated, so long prompts raise the cost even when answers are short. Sending the whole contract every time is the cost driver. This question tests understanding of how token-based pricing works.
Want more on Choosing FMs and inference parameters? The 5 full-length practice sets have 11 more Choosing FMs and inference parameters questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →