nerdexam
DockerDocker

DCA · Question #72

DCA Question #72: Real Exam Question with Answer & Explanation

The correct answer is B: No. Node taints are a Kubernetes-specific feature designed to prevent pods from being scheduled on certain nodes unless they have corresponding tolerations, and are not part of Docker Swarm's scheduling capabilities.

Submitted by yaw92· Apr 18, 2026Container Orchestration

Question

A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster. Can this be used to schedule containers to meet the security policy requirements? Solution: node taints

Options

  • AYes
  • BNo

Explanation

Node taints are a Kubernetes-specific feature designed to prevent pods from being scheduled on certain nodes unless they have corresponding tolerations, and are not part of Docker Swarm's scheduling capabilities.

Common mistakes.

  • A. Docker Swarm utilizes node labels and placement constraints for service scheduling, not Kubernetes' node taints feature.

Concept tested. Docker Swarm vs. Kubernetes scheduling mechanisms

Reference. https://docs.docker.com/engine/reference/commandline/service_create/#add-constraints

Topics

#Docker Swarm#Container Scheduling#Node Placement#Security Policies

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions