CCDV-F practice questions: Model selection and optimization.

10 original questions on Model selection and optimization, which carries 16.8% of the Claude Certified Developer – Foundations exam per the published guide. Study notes first, then the questions with an explanation for each. When this domain feels solid, take the timed CCDV-F practice exam and check the domain breakdown.

What to know about Model selection and optimization

  • The model family trade-off: the most capable model for hard reasoning, the mid-tier for most production work, the smallest for high-volume classification and routing.
  • Cost is tokens in plus tokens out; latency is dominated by output tokens. Optimize both by trimming prompts, capping max_tokens, and caching.
  • Extended thinking budgets: when deeper reasoning pays for itself and when it is wasted.
  • Temperature and sampling settings, and why deterministic tasks want low temperature.
  • Routing patterns: a small model classifies, a larger model handles the hard cases.

Model selection and optimization questions

Model selection and optimization

A pipeline extracts three fields from short emails, millions of times a month. Which model tier makes sense?

Show answer

Answer: The smallest tier that passes your eval, since cost and latency dominate at this volume. Match the model to the task. Simple, high-volume extraction is where the small tier earns its keep; measure with an eval first. Thinking adds cost on every call, which is the wrong trade for short emails.

Model selection and optimization

You need the same input to produce the same extraction every time. Which setting helps most?

Show answer

Answer: Set temperature near 0 so sampling favors the most likely tokens. Low temperature makes sampling less random. It is the first lever for deterministic-style tasks. Caching reuses the prefix computation but does not constrain sampling.

Model selection and optimization

Which is the best practice for choosing a model tier for a new feature?

Show answer

Answer: Prototype on a capable tier, then test whether a smaller tier passes your eval at lower cost. Measure quality per tier; do not assume. Waiting for user complaints means shipping a regression to find it.

Model selection and optimization

Output tokens dominate latency for a summarization endpoint. Which lever helps most?

Show answer

Answer: Constrain the output length and format so the model writes fewer tokens. Fewer output tokens means faster responses. Caching speeds up input processing, which is not the bottleneck here.

Model selection and optimization

What does max_tokens control?

Show answer

Answer: The maximum number of output tokens the model may generate. max_tokens caps output only. Input is bounded separately by the model's context window.

Model selection and optimization

A classification endpoint with a fixed label set should use which sampling setting?

Show answer

Answer: Low temperature so the same input maps to the same label. Deterministic tasks want low temperature. Widening the candidate set with top_k or top_p pushes the other way.

Model selection and optimization

When does extended thinking justify its cost?

Show answer

Answer: On hard multi-step problems where accuracy matters more than latency. Spend thinking budget where reasoning pays. Thinking tokens are billed as output on each request; they are not cached away.

Model selection and optimization

Your bill is dominated by a stable 20k-token system prompt sent on every call. First optimization?

Show answer

Answer: Add a cache_control breakpoint to the system prompt so its tokens are read from cache. Caching a stable prefix cuts repeated input cost without changing the model or latency. Batching also discounts but changes delivery time and does not fit interactive calls.

Model selection and optimization

Which workload is a good fit for the Batch API?

Show answer

Answer: Nightly enrichment of a million records with no latency requirement. Batches trade latency for cost. The other three are interactive and cannot wait for a batch to complete.

Model selection and optimization

What is a reasonable way to compare two models for your task?

Show answer

Answer: Run the same eval set through both and compare accuracy, cost, and latency. Head-to-head evals on your own data decide; release dates and self-assessments do not.

Next

Other CCDV-F domains

FAQ

How much of the CCDV-F exam is model selection and optimization?

16.8% of the marks, per the published CCDV-F exam guide. The full domain list with weights is on the CCDV-F exam page.

Are these real CCDV-F exam questions?

No. They are 10 original scenario questions written from the blueprint for this domain. Reproducing exam content would violate the candidate agreement.

How should I study model selection and optimization for CCDV-F?

Read the domain notes on this page, answer the questions with explanations hidden, then take the timed CCDV-F practice exam and check the per-domain breakdown for this domain.

Who wrote this

Matei Olaru

Matei Olaru

CEO, Your AI Department

Former public-company CEO, corporate attorney, and World Bank consultant. Runs the YAID Network and the partner relationship with Anthropic.

Michael Greenberg

Michael Greenberg

AI Product Lead, Your AI Department

AI at Google, Meta, and Samsung. Six patents. Leads member support and the certification prep guidance.

Claude Partner NetworkYour AI Department is a registered Claude Partner Network company. Our members sit these exams under our partner standing. Facts on this page were last checked on October 15, 2026.