305-300 Exam Questions
115 real 305-300 exam questions with expert-verified answers and explanations. Page 1 of 3.
- Question #1303.5 Network Security
Which of the following network interface types are valid in an LXD container configuration? (Choose three.)
LXDcontainer networkingmacvlanbridged networking - Question #2303.4 Operations Security
What happens when the following command is executed twice in succession? docker run -tid -v data:/data debian bash
Dockernamed volumescontainer storagedata sharing - Question #3303.4 Operations Security
What is the purpose of the kubelet service in Kubernetes?
Kuberneteskubeletworker nodescontainer orchestration - Question #4303.4 Operations Security
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?
Docker Swarmdocker stackimage registrycontainer distribution - Question #5303.4 Operations Security
Which of the following commands executes a command in a running LXC container?
LXCcontainer managementlxc-attachcontainer commands - Question #6303.3 Application Security
Which of the following statements in a Dockerfile leads to a container which outputs hello world? (Choose two.)
DockerfileENTRYPOINTexec formshell form - Question #7303.4 Operations Security
Which of the following statements are true regarding a Pod in Kubernetes? (Choose two.)
KubernetesPodworkload unitscontainer scheduling - Question #8303.3 Application Security
Which of the following values would be valid in the FROM statement in a Dockerfile?
DockerfileFROM statementbase imagecontainer build - Question #9303.4 Operations Security
Which CPU flag indicates the hardware virtualization capability on an AMD CPU?
CPU virtualizationAMD-VSVM flaghardware virtualization - Question #10303.3 Application Security
What is the purpose of a .dockerignore file?
Docker.dockerignorebuild contextimage building - Question #11303.4 Operations Security
Which file in a cgroup directory contains the list of processes belonging to this cgroup?
cgroupsprocess managementLinux namespacescontainer isolation - Question #12303.4 Operations Security
What kind of virtualization is implemented by LXC?
LXCsystem containersOS-level virtualizationcontainer types - Question #13303.5 Network Security
Which of the following statements is true regarding networking with libvirt?
libvirtvirtual networkingLinux bridgesVM networking - Question #14303.4 Operations Security
Which of the following are true regarding the CPU of a QEMU virtual machine? (Choose two.)
QEMUvirtual CPUSMPhardware emulation - Question #15Containerization
Which of the following statements about the command lxc-checkpoint is correct?
lxc-checkpointcontainer stateCRIULXC commands - Question #16Virtualization
The command virsh vol-list vms returns the following error: error: failed to get pool 'vms' error: Storage pool not found: no storage pool with matching name 'vms ' Given that the...
virshstorage poollibvirtpool-create-as - Question #17Virtualization
Which of the following values are valid in the firmware attribute of a <os> element in a libvirt domain definition? (Choose two.)
libvirt domain XMLfirmware attributeEFIBIOS - Question #18Virtualization
Which statement is true regarding the Linux kernel module that must be loaded in order to use QEMU with hardware virtualization extensions?
KVM kernel modulehardware virtualizationQEMUhost kernel - Question #19Containerization
Which of the following mechanisms are used by LXC and Docker to create containers? (Choose three.)
kernel namespacescgroupsLinux capabilitiescontainer isolation - Question #20Virtualization
Which file format is used by libvirt to store configuration data?
libvirt configurationXML formatdomain definition - Question #21Virtualization
Which of the following statements is true regarding the following output of xl list:
xl listXen domain statesparavirtualizationVM state analysis - Question #22Virtualization
Which of the following types of guest systems does Xen support? (Choose two.)
Xen guest typesparavirtualizationfull virtualizationXen architecture - Question #23Virtualization
Which of the following commands lists all differences between the disk images vm1-snap.img and vm1.img?
virt-diffdisk image comparisonvirt-toolssnapshots - Question #24Virtualization
How can data be shared between several virtual machines running on the same Linux-based host system?
VM storage sharingnetwork file systeminter-VM communicationvirtual disk - Question #25Virtualization
Which of the following values are valid in the type attribute of a <domain> element in a libvirt domain definition? (Choose two.)
libvirt domain typeKVMLXCdomain XML attribute - Question #26Virtualization
Which of the following statements are true regarding resource management for full virtualization? (Choose two.)
full virtualizationresource managementhypervisor limitshardware allocation - Question #27Virtualization
What does IaaS stand for?
IaaScloud service modelscloud computing - Question #28Virtualization
Which of the following kinds of data can cloud-init process directly from user-data? (Choose three.)
cloud-inituser-datacloud-config YAMLshell scripts - Question #29Virtualization
Which of the following statements are true about sparse images in the context of virtual machine storage? (Choose two.)
sparse imagesthin provisioningdisk image formatsstorage allocation - Question #30Virtualization
What is libvirt?
libvirtvirtualization APImanagement layer - Question #31Virtualization
What are the key benefits of using cloud management tools?
cloud management toolsresource allocationcloud infrastructure - Question #32Virtualization
When setting up a KVM virtualization host, which one of the following components is NOT required?
KVM setuprequired componentsQEMUlibvirt - Question #33Virtualization
Which utility is used to create and manage virtual machine disk images in Linux?
qemu-imgdisk image managementvirtual disk tools - Question #34Virtualization
Which disk image formats are commonly used in Linux-based virtualization environments? (Select all that apply)
QCOW2RAW imagedisk image formatsVMDK - Question #35Containerization
What does LXC stand for?
LXCLinux Containerscontainer terminology - Question #36Virtualization
When using Packer to create machine images, what are some common sources for base images? (Select all that apply)
Packermachine imagesbase imagesimage building - Question #37Virtualization
Which of the following statements are true for full virtualization? (Choose TWO correct answers)
full virtualizationCPU extensionsguest OS compatibilityperformance overhead - Question #38Virtualization
In which scenarios would Vagrant be most beneficial for developers?
Vagrantdevelopment environmentslocal testingVM provisioning - Question #39Virtualization
What is the name of the kernel module that is required to be loaded in order to use KVM on an Intel CPU architecture? (Specify ONLY the module name without any path information and...
KVMkernel modulekvm-intelIntel CPU - Question #40Virtualization
Which of the following statements are true regarding hardware-based virtualization? (Choose TWO correct answers.)
hardware-based virtualizationhypervisorCPU hardware support - Question #41Virtualization
What is QEMU primarily used for?
QEMUhardware emulationvirtual machines - Question #42Containerization
How do containers share the host OS kernel?
container kernel sharinguser space isolationOS kernelcontainer architecture - Question #43Virtualization
Which of the following are valid KVM parameters? (Choose THREE correct answers.)
KVMdrive parametersstorage protocolscommand-line options - Question #44Virtualization
What is Xen's role in paravirtualization?
Xenparavirtualizationguest OS modificationperformance - Question #45Virtualization
Which of the following tools is used to interact with XenStore?
XenStoreXen toolsxenstore-lsXen management - Question #46Container Orchestration
Which container orchestration platform is often associated with automated scaling and load balancing?
Kubernetesauto-scalingload balancingcontainer orchestration - Question #47Virtualization
What are some benefits of using Packer for image building? (Select all that apply)
Packerimage consistencyVM provisioningimage building benefits - Question #48Virtualization
Which command within virsh lists the virtual machines that are available on the current host?
virshlist-allvirtual machine managementKVM - Question #49Virtualization
Which of the following is a benefit of virtualization?
virtualization benefitshardware managementresource utilization - Question #50Virtualization
Which of the following commands are needed to establish a private network between two (or more) KVM virtual machines that is not visible to other KVM instances on the same KVM host...
KVM networkingprivate networkbrctltunctl