About this exam
A Foundational-level AWS Certification for people who use AI, machine learning and generative AI on AWS. Rather than building models yourself, it tests whether you understand the basic concepts of AI and generative AI, how to use and evaluate foundation models, responsible AI, and security and governance, and whether you can make the right choice for a given use case.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
A company runs an FAQ chatbot that answers questions about internal policies using a foundation model on Amazon Bedrock. The model supports an adjustable temperature, which is currently set above 0. The same question gets slightly different wording and content every time, and the business wants the answers to be as consistent as possible. The company does not want to retrain the model and wants the lowest-effort fix. What should it do?
- AIncrease the maximum token count (max tokens) inference parameter
- BFine-tune the model on the internal policy documents
- CLower the temperature inference parameter
- DRaise the top_p inference parameter
Show answer and explanation
Answer:C To reduce variation in the output, lower the temperature inference parameter.
Why it is correct
Temperature controls how random the choice of the next token is. Lowering it makes high-probability tokens more likely to be picked, so the same input produces more stable output. It is just a request parameter, so no retraining is needed and the effort is minimal. Low values are typical for FAQ use cases where accuracy matters.
The other options
- ✗ A Max tokens sets the upper limit on output length; raising it does not make next-token selection any more consistent. Adjust it when answers are being cut off.
- ✗ B Fine-tuning is retraining, with data preparation and cost, so it violates the requirements, and on its own it does not remove randomness from the output. Use it to adapt a model to a specific style or specialized task.
- ✗ D Raising top_p widens the pool of candidate tokens, which makes the output more varied, not less. Use it when you want diverse output, such as brainstorming.
Key takeaway
Know what each inference parameter does. temperature and top_p → randomness (lower is more consistent, higher is more varied). max tokens → length limit. Answering from up-to-date internal documents → RAG (retrieve relevant text into the request context). Changing the model's own behavior → fine-tuning (updating model parameters).
Try 45 questions like this for free
itmoshi is an unofficial study service and is not affiliated with AWS or any exam provider.