フリー問題

Claude Certified Developer – Foundations のフリー問題 7 / 20 問目

問題文

A summarization endpoint occasionally returns a response that ends mid-sentence. The developer needs to distinguish this from a normal completion in code. Which check is correct?

選択肢

  1. Check whether stop_reason equals max_tokens, which indicates the response was truncated at the output limit rather than completed.
  2. Check whether the last character of the text is a period, and treat anything else as truncation.
  3. Check whether the response took longer than the average latency, since truncated responses are slower.
  4. Check whether stop_reason equals end_turn, which indicates truncation.

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

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