Free 305-300 Exam Braindumps (page: 4)

Page 4 of 16

After setting up a data container using the following command:

docker create -v /data --name datastore debian /bin/true

how is an additional new container started which shares the /data volume with the datastore container?

  1. docker run --share-with datastore --name service debian bash
  2. docker run -v datastore:/data --name service debian bash
  3. docker run --volumes-from datastore --name service debian bash
  4. docker run -v /data --name service debian bash
  5. docker run --volume-backend datastore -v /data --name service debian bash

Answer(s): C



After creating a new Docker network using the following command:

docker network create --driver bridge isolated_nw

which parameter must be added to docker create in order to attach a container to the network?

  1. --eth0=isolated_nw
  2. --alias=isolated_nw
  3. --ethernet=isolated_nw
  4. --network=isolated_nw
  5. --attach=isolated_nw

Answer(s): D



FILL BLANK

What LXC command lists containers sorted by their CPU, block I/O or memory consumption? (Specify ONLY the command without any path or parameters.)

  1. lxc-top

Answer(s): A



Which of the following network interface types are valid in an LXD container configuration? (Choose three.)

  1. ipsec
  2. macvlan
  3. bridged
  4. physical
  5. wifi

Answer(s): B,C,D



Page 4 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