AI Certificates

CCDV-F Model Selection and Optimization practice questions

16.8% of the CCDV-F exam. These worked examples come from free Form 1, with an explanation for every answer option.

D5 Model Selection and OptimizationCCDV-F · Form 1 · free

A developer runs the same extraction prompt nightly and wants outputs that vary as little as possible between runs. Which sampling change most directly reduces run-to-run variation?

  1. A

    Increase max_tokens so the response is never cut off before the extraction finishes.

    Raising max_tokens prevents truncation of long outputs; it does nothing to make sampling less variable between runs.

  2. B

    Raise top_p so the model samples from a wider slice of the token distribution.

    A higher top_p widens the candidate token pool, which increases variation rather than reducing it.

  3. C

    Lower temperature toward 0 so sampling concentrates on top-probability tokens.Correct

    Near-zero temperature makes sampling close to greedy next-token selection, so repeated runs diverge far less.

  4. D

    Enable extended thinking so the model reasons at length before it answers.

    Extended thinking improves reasoning depth on hard problems; it does not make sampling more repeatable.

The principle

Sampling parameters, not output limits or reasoning modes, control run-to-run variability; pushing temperature toward 0 is the standard lever for more consistent outputs.

D5 Model Selection and OptimizationCCDV-F · Form 1 · free

Despite detailed formatting instructions, Claude keeps drifting from a team's unusual in-house markup when summarizing tickets. What change is most likely to make outputs conform?

  1. A

    Add a few complete example summaries written in the target markup to the prompt.Correct

    Multi-shot examples let the model imitate a format it cannot reliably infer from instructions alone, which is exactly the failure here.

  2. B

    Enable extended thinking so the model plans each summary before writing it.

    More deliberate reasoning helps with hard analysis; an unfamiliar markup is a pattern-imitation problem, not a reasoning-depth problem.

  3. C

    Lower the temperature so sampling sticks to the highest-probability tokens.

    Lower temperature reduces run-to-run variation, but the model's highest-probability output is still the wrong format.

  4. D

    Chain a second request that reformats the first request's output into the markup.

    A reformatting pass adds cost and latency, and the second call faces the same unfamiliar-markup problem without examples to copy.

The principle

When a model must reproduce a niche output format, showing it worked examples (multi-shot prompting) outperforms adding more instructions or more reasoning.

D5 Model Selection and OptimizationCCDV-F · Form 1 · free

Larkspur Analytics serves one assistant endpoint for mixed traffic: about 80% of queries are one-line lookups, while 20% involve multi-step financial reasoning. In testing, always-on extended thinking answered the hard queries well but tripled the cost of the simple ones through unneeded thinking tokens. Which configuration best fits this workload?

  1. A

    Keep extended thinking on for all requests and offset the spend by trimming the system prompt.

    Trimming the prompt saves a little on input, but simple lookups still burn thinking tokens they never needed.

  2. B

    Turn thinking off and cover the multi-step queries with multi-shot examples instead.

    Examples help with format and style; dropping thinking entirely sacrifices quality on the 20% of queries that genuinely require deeper reasoning.

  3. C

    Route queries by keyword lists to two deployments, one with thinking enabled and one without.

    Routing can work, but keyword lists misclassify queries and add a second deployment to maintain, when the model can make that call itself.

  4. D

    Enable adaptive thinking so the model spends thinking tokens only where a query needs them.Correct

    Adaptive thinking lets the model scale reasoning effort to each query, preserving quality on hard requests without taxing the simple ones.

The principle

Adaptive thinking exists for mixed workloads: it applies reasoning where a query warrants it instead of forcing one thinking budget onto all traffic.

Start free CCDV-F Form 1Model Selection