フリー問題

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

問題文

A developer is deciding where to place different pieces of a prompt for a code review assistant. Which placement is appropriate?

選択肢

  1. Put the output format in an assistant message so the model treats it as its own prior decision.
  2. Put the coding standards in each user message alongside the diff so they are always adjacent to the code.
  3. Put the reviewer role, the project's coding standards, and the output format in the system parameter, and put the specific diff to review in a user message.
  4. Put everything including the diff in the system parameter, since the system parameter carries more weight.

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

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