A team is unsure whether a lower temperature and a different top-p would improve a support assistant. How should it decide?
- Exam domain
- Operational Efficiency and Optimization for GenAI Applications12% of the exam
- Difficulty
- Medium
- In this mock
- 12 questions on this domainPractise this domain
Why the exam asks this
Task 4.2: Optimize application performance.
Objective in the exam guide: Skill 4.2.4: Enhance FM performance to achieve optimal results for specific GenAI use cases (for example, by using model-specific parameter configurations, A/B testing to evaluate improvements, appropriate temperature and top-k/top-p selection).
Parameter settings change answer quality noticeably, and the right values differ by task. Professionals set them from measurement, not habit.
Why A is the answer
Run an A/B test of the two configurations on real traffic or a test set, and compare quality metrics
Measured A/B comparisons show which parameter settings actually help this use case.
Remember: Tune parameters with A/B tests on your own task.
How it works
Temperature, top-p and top-k shape how varied a model's output is.
The best values depend on the task: factual answers usually need less randomness than creative ones.
An A/B test runs both configurations on the same inputs and compares quality metrics to decide.
Clues in the question
The words that point to the answer, and what each one tells you.
- Unsure whether settings would improve
- Measure, do not guess.
In detail
- The best parameters depend on the use case: factual support needs different settings from creative writing.
- Change one variable at a time when you can.
Side by side with look-alikes
| Method | Reliable decision? |
|---|---|
| A/B test with metrics | Yes |
| Blog recommendation | No |
| Change in production and wait | No |
| Maximum temperature | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Run an A/B test of the two configurations on real traffic or a test set, and compare quality metricsRight
Tune parameters with A/B tests on your own task.
B. Pick the settings a blog recommendsWrong
General advice may not fit this task.
C. Change both settings in production at once and watch for complaintsWrongMost tempting
Changing both in production gives no clean comparison and risks users.
Why it tempts: It feels fast and realistic. But complaints are slow and noisy, and changing both at once hides which one mattered.
D. Use the maximum temperature for every use caseWrong
High temperature hurts consistency for support answers.
In practice
- Use the same evaluation set for every configuration.
- Store the winning settings in configuration, per use case.
Use case
An illustrative scenario, not a real incident.
A team tests temperature 0.2 against 0.7 on 400 tickets and keeps 0.2, which scores higher on accuracy with no loss in helpfulness.
See how it works
xychart-beta x-axis ["Temperature 0.2", "Temperature 0.7"] y-axis "Accuracy (%)" 0 --> 100 bar [88, 79]
How to read this chart
- Both bars are the same assistant, on the same tickets, with one setting changed.
- The lower temperature scores higher for this factual task.
- Without the test, the team would not know which setting to keep.