Free 305-300 sample questions
These free 305-300 sample questions on Linux virtualization and containers come with answers and explanations. They cover Xen and QEMU guests, LXC and Docker containers, and cloud-init setup. Use them to find the weak spots in your virtualization skills before you book the exam.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
When a Docker container is started, which of the following Linux kernel namespaces are typically used by default to provide isolation? (Select THREE)
You are managing a KVM host using `libvirt` and need to prevent a specific VM, `rogue-vm`, from spoofing MAC addresses on the network. Which `virsh` command would you use to define a network filter that enforces this security policy on the VM's primary network interface?
A developer is creating a `cloud-init` configuration to bootstrap a web server. The server needs to have `nginx` and `git` installed, and a specific user `deploy` must be created with SSH access authorized by a public key. What is the correct YAML key to use within a `#cloud-config` file for specifying the packages to be installed?
In LXD, profiles are used to apply a common set of configurations to multiple containers. If a container has multiple profiles applied, and a specific configuration key (e.g., `limits.cpu`) is defined in more than one of those profiles, how does LXD determine which value to use?
A Docker container running a web application is unexpectedly slow. You suspect the container is being throttled on disk I/O. Which command would you use to view real-time block I/O statistics for all running containers?
True or False: In a Xen environment, a Hardware-assisted Virtual Machine (HVM) guest requires a specially modified kernel to run, while a Para-Virtualized (PV) guest can run an unmodified operating system.
An administrator is launching a QEMU/KVM virtual machine directly from the command line. They want to enable the QEMU Guest Agent for this VM, which is connected via a virtio-serial port. Which command-line argument should be added to the `qemu-system-x86_64` command?
A developer needs to create a Docker container for a Python application that will run in a production environment with strict memory constraints. Which of the following should be configured to prevent the container from consuming excessive system resources? (Select TWO)
A cloud engineer is deploying a new VM instance using an image that supports `cloud-init`. They need to configure a new user, install specific packages, and write a configuration file on the first boot. Which of the following `cloud-config` user-data snippets correctly demonstrates how to create a user named `appadmin`, install `nginx` and `htop`, and write a simple `index.html` file? graph TD A[Start Instance] --> B{Read User-Data} B --> C[Create User 'appadmin'] B --> D[Install Packages] B --> E[Write Files] C --> F[Instance Ready] D --> F E --> F
10 more free samples are waiting
Create a free account to unlock the whole 305-300 sample bank, or get full access to all 233 practice questions in the simulator.