KCSA Platform Security Practice Question
An administrator needs to restrict a container from accessing any devices on the host system via device nodes. By default, how does Docker or containerd handle device access for containers when no custom security profile is applied?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
By applying a default device allowlist that restricts access to essential devices like /dev/null and /dev/random
Container runtimes like containerd and Docker apply a default set of cgroups and device rules that restrict access, but can be further locked down using device plugins or cgroup rules.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
By disabling all system calls related to file I/O
Why it's wrong here
Disabling file I/O system calls would break almost all containerized applications.
- ✗
By routing all device access requests through kube-proxy
Why it's wrong here
Kube-proxy handles network service routing, not local hardware device access.
- ✓
By applying a default device allowlist that restricts access to essential devices like /dev/null and /dev/random
Why this is correct
Container runtimes apply a restrictive default device cgroup policy permitting only basic safe devices.
- ✗
By mounting the entire host /dev directory in read-write mode
Why it's wrong here
Mounting the entire host /dev directory would expose all host hardware devices, violating container isolation.
About these practice questions
Courseiva writes every KCSA question from scratch — 320 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This KCSA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCSA exam.