フリー問題

NVIDIA-Certified Professional: AI Operations のフリー問題 15 / 20 問目

問題文

A researcher submits a batch script that asks for four accelerators on one node. Inside the script two independent steps are launched, and each should get two of the four devices rather than all four. What makes that happen?

選択肢

  1. Give each step its own generic resource request when it is launched, since a step otherwise receives everything the job asked for.
  2. Set the visible-devices environment variable by hand in each step, because that variable is read at process start and decides which of the allocated devices the step opens.
  3. Launch the two steps in the background and rely on the scheduler to split the devices evenly between them, because the allocation is shared by all steps of the job and the runtime divides it in proportion to the number of steps it sees.
  4. Submit two separate jobs instead, because the devices of one allocation cannot be divided between steps and each step owns the whole set it was given.

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

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