Advanced Docker & Containers
Q93 / 100

Why might setting "ulimits" be necessary for certain containerized applications, and what is an example of a ulimit relevant to containers?

Correct! Well done.

Incorrect.

The correct answer is B) ulimits set per-process resource limits, such as the maximum open file descriptors ("nofile"); applications opening many connections or files may hit default limits inherited from the container runtime and need these raised explicitly

B

Correct Answer

ulimits set per-process resource limits, such as the maximum open file descriptors ("nofile"); applications opening many connections or files may hit default limits inherited from the container runtime and need these raised explicitly

Explanation

ulimits (like "nofile" for open file descriptors, or "nproc" for processes) are a Linux mechanism for per-process resource limits; containers inherit defaults that may be too low for high-concurrency applications, so they can be explicitly raised via "--ulimit".

Progress
93/100