3. Virtualization

Containers — Quiz

Test your understanding of containers with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

In cgroup version 2, which file is used to set both CPU quota and period in a single interface, replacing cpu.cfs_quota_us and cpu.cfs_period_us?

Question 2

In cgroup v2, which file enforces a hard limit on total memory usage (including swap) for a group of processes?

Question 3

Which cgroup controller in the unified cgroup v2 hierarchy manages block I/O bandwidth limits?

Question 4

Which docker run flag uses the modern mount syntax to create a tmpfs (memory-backed) mount at /app/cache inside the container?

Question 5

In Docker's overlay2 storage driver, which directory under /var/lib/docker/overlay2 represents the container's writable layer where file changes are stored?