What is the purpose of capabilities in the context of container virtualization?
A.
Map potentially dangerous system calls to an emulation layer provided by the container virtualization.
B.
Restrict the disk space a container can consume.
C.
Enable memory deduplication to cache files which exist in multiple containers.
D.
Allow regular users to start containers with elevated permissions.
E.
Prevent processes from performing actions which might infringe the container.
The Answer Is:
E
This question includes an explanation.
Explanation:
Capabilities are a way of implementing fine-grained access control in Linux. They are a set of flags that define the privileges that a process can have. By default, a process inherits the capabilities of its parent, but some capabilities can be dropped or added by the process itself or by the kernel. In the context of container virtualization, capabilities are used to prevent processes from performing actions that might infringe the container, such as accessing the host’s devices, mounting filesystems, changing the system time, or killing other processes. Capabilities allow containers to run with a reduced set of privileges, enhancing the security and isolation of the container environment. For example, Docker uses a default set of capabilities that are granted to the processes running inside a container, and allows users to add or drop capabilities as needed12. References:
Capabilities | Docker Documentation1
Linux Capabilities: Making Them Work in Containers2
305-300 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"