フリー問題

DevOps Tools Engineer のフリー問題 9 / 20 問目

問題文

An image should always run the same binary, but the operator must be able to pass different arguments on the command line without repeating the binary name. How should the author write the two instructions?

選択肢

  1. The binary belongs in the instruction that survives as the identifier of the container, and the default arguments belong in the one that a command line argument duplicates, so the operator can change the tail of the invocation while the command stays fixed in the image.
  2. The binary belongs in the instruction that survives as the entrypoint of the container, and the default arguments belong in the one that a command line argument replaces, so the operator can change the tail of the invocation while the command stays fixed in the image.
  3. The binary belongs in the instruction that survives as the identifier of the container, and the default arguments belong in the one that a command line argument duplicates, so the operator can change the tail of the invocation while the argument stays set in the image.
  4. The binary belongs in the instruction that survives as the entrypoint of the container, and the default arguments belong in the one that a command line argument replaces, so the operator can change the tail of the invocation while the argument stays set in the image.

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

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