nerdexam
Docker

DCA · Question #7

Which of the following are types of namespaces used by Docker to provide isolation? (Choose 2.)

The correct answer is B. Network C. Process ID. Docker utilizes Linux namespaces to provide isolation for containers, including separate environments for network and process IDs.

Submitted by carlos_mx· Apr 18, 2026Security

Question

Which of the following are types of namespaces used by Docker to provide isolation? (Choose 2.)

Options

  • AHost
  • BNetwork
  • CProcess ID
  • DAuthentication
  • EStorage

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    90% (43)
  • D
    2% (1)
  • E
    2% (1)

Why each option

Docker utilizes Linux namespaces to provide isolation for containers, including separate environments for network and process IDs.

AHost

''Host'' is not a type of Linux namespace; rather, a container can be configured to share the host's namespaces, but ''Host'' itself is not a specific namespace type.

BNetworkCorrect

Network namespaces (`net`) isolate network interfaces, IP addresses, routing tables, and port ranges, ensuring each container has its own independent network stack.

CProcess IDCorrect

Process ID namespaces (`pid`) provide process tree isolation, meaning processes inside a container only see other processes within that same container's namespace, not the host's or other containers'.

DAuthentication

Authentication is a security mechanism, not a fundamental Linux namespace type used by Docker for isolation.

EStorage

While storage is isolated, the specific Linux namespace type responsible for filesystem mount isolation is the Mount namespace (`mnt`), not generically ''Storage''.

Concept tested: Linux namespaces for container isolation

Source: https://man7.org/linux/man-pages/man7/namespaces.7.html

Topics

#Linux namespaces#Container isolation#Docker runtime#Process isolation

Community Discussion

No community discussion yet for this question.

Full DCA Practice