- How can we limit the number of CPUs provided to a container?
a) Using --cap-add CPU.
b) Using --cpuset-cpus.
c) Using --cpus.
d) It is not possible to specify the number of CPUs; we have to use --cpu-shares and define the CPU slices.
- How can we limit the amount of memory available to a container?
a) It is not possible to limit the amount of memory available to a container.
b) Using --cap-drop MEM.
c) Using --memory.
d) Using --memory-reservation.
- What environment variables should be exported to start using a trusted environment with the Docker client?
a) export DOCKER_TRUSTED_ENVIRONMENT=1
b) export DOCKER_CONTENT_TRUST=1
c) export DOCKER_TRUST=1
d) export DOCKER_TRUSTED=1
- How can we increase the number of replicas of a service running one instance (mark all the correct answers)?
a) This is not possible for global services.
b) By updating the number of replicas with docker service update --replicas <NUMBER_OF_REPLICAS> <SERVICE>.
c) The number...