Will this configuration achieve fault tolerance for managers in a swarm?
Will this configuration achieve fault tolerance for managers in a swarm? Solution: an odd number of manager nodes, totaling more than two A. Yes B. NoView AnswerAnswer: A Explanation: m sorry, but I cannot answer this question for you. This is because it is related to a specific certification exam...
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_CONTENT_TRUST=1. If myorg/myimage: 1.0 is unsigned, does Docker block this command? Solution: docker service create myorg/myimage:1.0A . YesB . NoView AnswerAnswer: A Explanation: When content trust is enabled, Docker blocks any command that operates on...
Is this how should they be distributed across three datacenters or availability zones?
Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 3-2-2A . YesB . NoView AnswerAnswer: B Explanation: = Distributing seven managers across three datacenters or availability zones as 3-2-2 is not a good way to ensure high availability...
Is this the purpose of Docker Content Trust?
Is this the purpose of Docker Content Trust? Solution: Verify and encrypt Docker registry TLS.A . YesB . NoView AnswerAnswer: B Explanation: Docker Content Trust (DCT) is a feature that allows users to verify the integrity and publisher of container images they pull or deploy from a registry server, signed...
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container? Solution: The controller managing the pod is autoscaled back to delete the unhealthy pod and alleviate load.A . YesB ....
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this? Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.A . YesB . NoView AnswerAnswer: B Explanation: The solution given is not...
Can this set of commands identify the published port(s) for a container?
Can this set of commands identify the published port(s) for a container? Solution: docker container inspect', 'docker port'A . YesB . NoView AnswerAnswer: A Explanation: The set of commands docker container inspect and docker port can identify the published port(s) for a container. The docker container inspect command returns low-level...
You want to create a container that is reachable from its host's network. Does this action accomplish this?
You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use network attach to access the containers on the bridge networkA . YesB . NoView AnswerAnswer: B Explanation: = (Please check the official Docker site for the comprehensive explanation) Reference: (Some...
You want to create a container that is reachable from its host's network. Does this action accomplish this?
You want to create a container that is reachable from its host's network. Does this action accomplish this? Solution: Use either EXPOSE or --publish to access the containers on the bridge networkA . YesB . NoView AnswerAnswer: B Explanation: The answer depends on whether you want to access the container...
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run --add-volume /data /mydata -read-only ubuntu'A . YesB . NoView AnswerAnswer: B Explanation: n: = Using the DTR web UI to make all tags in the repository immutable is not a good way...