AIF-C01 domain - 24% of the exam

Generative AI fundamentals

Generative AI fundamentals is 24% of the AWS Certified AI Practitioner (AIF-C01) exam. These are the objectives it covers, each with practice questions and worked explanations.

Objectives in this domain

Sample question from this domain

Free sampleGenerative AI fundamentalsmedium

A support team sends the same prompt to a hosted LLM many times a day and gets noticeably different wording each time. They want answers to stay closely on-message and vary far less, without demanding byte-for-byte identical output. Which change best achieves this?

  • ALower the temperature toward 0.2 so the model concentrates on the highest-probability tokens. Correct
  • BRaise the temperature toward 1.0 so the model considers a wider spread of next tokens.
  • CIncrease the maximum output-token limit so each answer has room to finish completely.
  • DRaise top-p toward 1.0 so the model samples from the full probability distribution.
Lowering temperature concentrates output on the most-probable tokens, reducing run-to-run variation. Temperature scales how sharply the model favours its most-probable tokens. Lowering it toward 0 concentrates probability mass on the top tokens, so the same prompt produces closely similar, on-message wording each time without forcing fully identical output.

Why A is correct: Correct. A low temperature sharpens the distribution toward the likeliest tokens, so wording stays consistent run to run while still allowing slight variation.

Why B is wrong: Higher temperature flattens the token distribution and increases variation, which moves away from the on-message consistency the team asked for.

Why C is wrong: The token limit governs how long an answer can be, not how much its wording varies, so consistency is unchanged.

Why D is wrong: A top-p of 1.0 keeps the entire distribution in play, which preserves or increases variation rather than reducing it.

Other domains in this exam

See also the AIF-C01 cert hub, the study guide, and the cheat sheet.

Examworthy is not affiliated with or endorsed by Amazon Web Services. Original, blueprint-aligned practice material only.