フリー問題

NVIDIA-Certified Associate: Generative AI Multimodal のフリー問題 14 / 20 問目

問題文

A generation service calls a model that occasionally returns an output that fails the schema the downstream system expects. The team wants the service to stay reliable. What belongs in the service code?

選択肢

  1. Validation of the output against the schema, with a bounded retry and a defined behavior when the retries are exhausted.
  2. A silent fallback that returns an empty result whenever validation fails, so the caller sees a well-formed response and never learns that the output was rejected.
  3. An unbounded retry loop, since the model will eventually produce a valid output and the loop therefore guarantees that the downstream system never receives a malformed payload from this service under any circumstances.
  4. A change to the prompt only, without validation in the code.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。