フリー問題

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

問題文

A developer works on two repositories on the same machine. One repository requires that all new code include type annotations; the other does not. The developer also has a personal preference for concise commit messages that should apply everywhere. How should these instructions be placed?

選択肢

  1. Put all three instructions in each repository's CLAUDE.md, duplicating the commit message preference.
  2. Put all three instructions in the user-level CLAUDE.md, since it applies to every session.
  3. Put the instructions in a single CLAUDE.md at the filesystem root so both repositories inherit them.
  4. Put the type annotation rule in the repository's own CLAUDE.md committed to that repository, and put the commit message preference in the user-level CLAUDE.md in the home directory.

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

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