Home / AWS Certified AI Practitioner (AIF-C01) / 2 Practice / AWS-AIF-482
Generation diversity and stability must be adjusted.
Evaluate sampling.
Choose two descriptions.
Hint 1: Focus on the requirement Distinguish a fixed candidate count from a probability-mass boundary, and evaluate variation separately from training or factuality.
Hint 2: Key terms Review top-k and top-p sampling.
Top-kA sampling setting that limits candidates to the k highest-probability tokens.
Top-pA sampling setting that selects a variable candidate set within a cumulative probability mass.
TemperatureA parameter that changes the concentration of token probabilities during generation.
Sampling varianceThe amount of output variation observed across repeated generations. × Incorrect Top-k limits the number of candidate tokens, while top-p limits cumulative probability; both should be tested with temperature and quality checks.
Detailed explanation A Correct Top-k limits selection to the k highest-probability candidates
Candidate count is direct.
B Correct Top-p selects from candidates reaching cumulative probability p and should be evaluated with temperature
The set adapts to probability.
C Incorrect Changing top-k or top-p updates training data
They are generation settings.
D Incorrect Either setting guarantees factual and safe output
Separate evaluation is needed.
Check official documentation Compare the following points with the official documentation.
AWS公式AIF-C01 Domain 2.3のtop-k、top-p、temperature、サンプリングを確認する。
Official references Official documentation 1 Official documentation 2 What to confirm サンプリング設定の役割と、出力の事実性を別途評価する必要性を説明できる。
Key points Notes Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認 Compare the definition with the AIF-C01 objective and the service documentation before applying it. Keep the concept separate from a particular answer choice or implementation step. Foundation review Top-k A sampling setting that limits candidates to the k highest-probability tokens.
Top-p A sampling setting that selects a variable candidate set within a cumulative probability mass.
Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.