フリー問題

JNCIA-Cloud のフリー問題 12 / 20 問目

問題文

A team wants to stop one container from consuming all of a host's memory. Which kernel facility addresses that?

選択肢

  1. Namespaces, because giving the container its own view of the system also means that the amount of each resource visible inside that view is fixed at the moment the view is created and cannot afterwards grow beyond it.
  2. The hypervisor, because memory limits are a property of virtual machines, so a host that runs nothing but containers has no way to cap anything.
  3. The container image, since the image records how much memory to use, and a container started from it could then never be given a different ceiling.
  4. Control groups, which account for and cap the resources that a group of processes may use.

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

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