Skip to main content

305-300 Real Exam Questions

LPIC-3 Virtualization and Containerization - Exam 305 - version 3.0

60 questions available · Page 1 of 6

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

What is the default provider of Vagrant?

  1. A

    lxc

  2. B

    hyperv

  3. C

    virtualbox

  4. D

    vmware_workstation

  5. E

    docker

Show answer and explanation

Correct answer: C

Question 2 Single choice

Which directory is used bycloud-initto store status information and configuration information retrieved from external sources?

  1. A

    /var/lib/cloud/

  2. B

    /etc/cloud-init/cache/

  3. C

    /proc/sys/cloud/

  4. D

    /tmp/.cloud/

  5. E

    /opt/cloud/var/

Show answer and explanation

Correct answer: A

Question 3 Single choice

A clone of a previously used virtual machine should be created. All VM specific information, such as user accounts, shell histories and SSH host keys should be removed from the cloned disk image.

Which of the following tools can perform these tasks?

  1. A

    virc-reset

  2. B

    virt-sparsi

  3. C

    virt-rescue

  4. D

    virt-svspre

  5. E

    sysprep

  6. F

    vire-wipe

Show answer and explanation

Correct answer: E

Question 4 Single choice

Which of the following commands deletes all volumes which are not associated with a container?

  1. A

    docker volume cleanup

  2. B

    docker volume orphan -d

  3. C

    docker volume prune

  4. D

    docker volume vacuum

  5. E

    docker volume garbage-collect

Show answer and explanation

Correct answer: C

Question 5 Single choice

What is the purpose of capabilities in the context of container virtualization?

  1. A

    Map potentially dangerous system calls to an emulation layer provided by the container virtualization.

  2. B

    Restrict the disk space a container can consume.

  3. C

    Enable memory deduplication to cache files which exist in multiple containers.

  4. D

    Allow regular users to start containers with elevated permissions.

  5. E

    Prevent processes from performing actions which might infringe the container.

Show answer and explanation

Correct answer: E

Question 6 Single choice

In order to use the optiondom0_memto limit the amount of memory assigned to the Xen Domain-0, where must this option be specified?

  1. A

    In the bootloader configuration, when Xen is booted.

  2. B

    In any of Xen's global configuration files.

  3. C

    In its .config file, when the Domain-0 kernel is built.

  4. D

    In the configuration file /etc/xen/Domain-0.cfg, when Xen starts.

  5. E

    In its Makefile, when Xen is built.

Show answer and explanation

Correct answer: A

Question 7 Multiple choice

Which of the following statements in aDockerfileleads to a container which outputs hello world? (Choose two.)

  1. A

    ENTRYPOINT "echo Hello World"

  2. B

    ENTRYPOINT [ "echo hello world" ]

  3. C

    ENTRYPOINT [ "echo", "hello", "world" ]

  4. D

    ENTRYPOINT echo Hello World

  5. E

    ENTRYPOINT "echo", "Hello", "World*

Show answer and explanation

Correct answers: B, C

Question 8 Single choice

Which of the following statements are true regarding VirtualBox?

  1. A

    It is a hypervisor designed as a special kernel that is booted before the first regular operating system starts.

  2. B

    It only supports Linux as a guest operating system and cannot run Windows inside a virtual machine.

  3. C

    It requires dedicated shared storage, as it cannot store virtual machine disk images locally on block devices of the virtualization host.

  4. D

    It provides both a graphical user interface and command line tools to administer virtual machines.

  5. E

    It is available for Linux only and requires the source code of the currently running Linux kernel to be

    available.

Show answer and explanation

Correct answer: D

Question 9 Multiple choice

Which of the following are true regarding the CPU of a QEMU virtual machine? (Choose two.)

  1. A

    The CPU architecture of a QEMU virtual machine is independent of the host system's architecture.

  2. B

    Each QEMU virtual machine can only have one CPU with one core.

  3. C

    For each QEMU virtual machine, one dedicated physical CPU core must be reserved.

  4. D

    QEMU uses the concept of virtual CPUs to map the virtual machines to physical CPUs.

  5. E

    QEMU virtual machines support multiple virtual CPUs in order to run SMP systems.

Show answer and explanation

Correct answers: A, E

Question 10 Single choice

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

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

  1. A

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

  2. B

    Each container is equipped with its own independent data volume, available at /data/ in the respective container.

  3. C

    Both containers share the contents of the data volume, have full permissions to alter its content and
    mutually see their respective changes.

  4. D

    The original content of the container image data is available in both containers, although changes stay
    local within each container.

  5. E

    The second command invocation fails with an error stating that the volume data is already associated with a running container.

Show answer and explanation

Correct answer: C