nerdexam
DockerDocker

DCA · Question #36

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

The correct answer is A: A resource limit and a resource reservation can be used interchangeably.. A resource limit sets a hard upper boundary for resource consumption, whereas a resource reservation guarantees a minimum amount of resources for a service, influencing host scheduling.

Submitted by sofia.br· Apr 18, 2026Container Orchestration

Question

What is the difference between a resource limit and a resource reservation when scheduling services?

Options

  • AA resource limit and a resource reservation can be used interchangeably.
  • BA resource limit is a soft limit for your service, while a reservation is hard limit and the docker
  • CA resource limit is used to find a host with adequate resources for scheduling a hard limit for your
  • DA resource limit is hard limit for your service, while a reservation is used to find a host with

Explanation

A resource limit sets a hard upper boundary for resource consumption, whereas a resource reservation guarantees a minimum amount of resources for a service, influencing host scheduling.

Common mistakes.

  • A. Resource limits and reservations are distinct concepts with different operational purposes and are not interchangeable in Docker Swarm scheduling.
  • B. This statement incorrectly defines limits as soft and reservations as hard; limits are typically hard caps on consumption, while reservations are guarantees for scheduling.
  • C. This option incorrectly merges parts of both definitions and mischaracterizes the nature of a resource limit in the context of scheduling.

Concept tested. Docker Swarm service resource management

Reference. https://docs.docker.com/engine/swarm/services/#resource-limits-and-reservations

Topics

#Resource Management#Docker Swarm#Service Configuration#Resource Limits and Reservations

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions