Free 305-300 Exam Braindumps (page: 5)

Page 5 of 16

What happens when the following command is executed twice in succession?

docker run -tid -v data:/data debian bash

  1. The container resulting from the second invocation can only read the content of /data/ and cannot change it.

  2. Each container is equipped with its own independent data volume, available at /data/ in the respective container.
  3. Both containers share the contents of the data volume, have full permissions to alter its content and mutually see their respective changes.
  4. The original content of the container image data is available in both containers, although changes stay local within each container.
  5. The second command invocation fails with an error stating that the volume data is already associated with a running container.

Answer(s): C



What is the purpose of the kubelet service in Kubernetes?

  1. Provide a command line interface to manage Kubernetes.
  2. Build a container image as specified in a Dockerfile.
  3. Manage permissions of users when interacting with the Kubernetes API.
  4. Run containers on the worker nodes according to the Kubernetes configuration.
  5. Store and replicate Kubernetes configuration data.

Answer(s): D



If docker stack is to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?

  1. docker stack builds the images locally and copies them to only those Swarm nodes which run the service.
  2. docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.
  3. docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.
  4. docker stack transfers the image from its local Docker cache to each Swarm node.
  5. docker stack triggers the build process for the images on all nodes of the Swarm.

Answer(s): C



FILL BLANK

What LXC command starts a new process within a running LXC container? (Specify ONLY the command without any path or parameters.)

  1. lxc-attach

Answer(s): A



Page 5 of 16



Post your Comments and Discuss LPI 305-300 exam with other Community members:

John commented on February 19, 2024
I want to start out by saying that I have been very happy with your product and I plan to continue to use it for future exams as I have in the past. I find it very easy to use and it has helped me to pass 4 Linux exams to date.
CANADA
upvote