305-300 · domain
VM Deployment And Provisioning
Practise LPIC-3 Exam 305: Virtualization and Containerization (305-300) (305-300) VM Deployment And Provisioning practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.
Focused practice
Practice VM Deployment And Provisioning questions
Scored sessions drawing only from this domain — pick a length below.
Start 20-question practice test →What this domain covers
What to know about VM Deployment And Provisioning
VM Deployment And Provisioning questions test whether you can apply the concept in context, not just recognise a definition.
How the topic appears in realistic exam-style scenarios.
Which detail in the question changes the correct answer.
How to eliminate plausible but wrong options.
How to connect the question back to the wider exam objective.
Watch out for
Common VM Deployment And Provisioning exam traps
- ▸Answering from memory before reading the full scenario.
- ▸Missing a constraint such as cost, availability, security, scope or command context.
- ▸Choosing a broad answer when the question asks for the most specific fix.
- ▸Ignoring why the wrong options are tempting.
Question index
All VM Deployment And Provisioning questions (32)
Click any question to see the full explanation, or start a practice session above.
Which THREE features are provided by the Vagrant 'synced_folder' functionality?
Medium2When provisioning with Vagrant, which command is best used to apply changes to a configuration (like adding a new shell script) without destroying the existing virtual machine?
Medium3In a Vagrant environment, where should sensitive data like API keys be stored to avoid committing them to version control?
Medium4Which THREE settings are commonly configured in the 'provider' block of a Vagrantfile for virtualbox?
Medium5When using Vagrant to manage a libvirt-based provider, which command verifies that the virtual machine is currently running and identifies the provider in use?
Easy6You need to ensure that a specific package is installed during the first boot of a cloud instance. Which cloud-init key should be added to the configuration?
Medium7Which command is used to display the configuration of a Packer build in a readable format?
Easy8When configuring cloud-init 'network-config', which format is primarily used to describe network interfaces?
Hard9When defining a Vagrant network configuration for a libvirt provider, which mode allows the VM to receive an IP address directly from the physical network's DHCP server?
Medium10Which file in a Vagrant project directory is processed by default to define the virtual environment configuration?
Easy11Which THREE configuration items can be managed via cloud-init 'write_files' module?
Hard12In a Vagrantfile, which method is used to pass environment variables into the guest virtual machine during the provisioning phase?
Hard13Which TWO of the following are valid ways to trigger provisioning in Vagrant?
Medium14What is the default behavior of Vagrant when a box is not found locally on the host machine?
Easy15Which tool is commonly used alongside Packer to validate the configuration file for syntax errors before attempting a build?
Medium16In cloud-init, which syntax is required at the very beginning of the configuration file to ensure it is recognized as a cloud-config script?
Hard17When using Vagrant with multiple machines in a single Vagrantfile, how do you define individual configurations?
Medium18Which cloud-init module is responsible for setting the hostname of the instance during the initial boot process?
Medium19Which TWO components are defined in a Packer 'build' block?
Hard20When using Packer with the QEMU builder, what does the 'format' option in the 'qemu' builder define?
Hard21Which TWO pieces of information does Packer require to build an image for an existing cloud environment?
Hard22You are configuring cloud-init to inject an SSH key into a new VM. Which directive in the configuration metadata ensures the key is added to the correct user's authorized_keys file?
Hard23You are using Packer to automate a build. You notice the build fails because the 'communicator' cannot connect. Which type of communicator is most suitable for a KVM-based build where SSH is not yet configured?
Hard24In a Packer build process for OpenStack, which 'post-processor' type is typically used to upload the resulting image to the Glance image service?
Medium25A cloud-init configuration file is failing to apply the 'write_files' module. Which log file on the target instance should you examine to diagnose the parsing error?
Medium26What is the primary function of the cloud-init 'runcmd' module?
Medium27Which THREE of the following are common cloud-init modules?
Medium28Which THREE directives are valid under the cloud-init 'users' configuration section?
Medium29Which TWO methods can be used to pass configuration data to cloud-init during instance creation?
Hard30In a Packer HCL2 file, how do you reference a variable named 'image_name' that was declared in the 'variables' block?
Hard31You are using Packer to build a custom image for KVM. Which HCL2 block is specifically required to define the virtualization parameters like memory and CPU for the builder?
Medium32Which Packer builder is most appropriate for creating an image specifically for Amazon Web Services (AWS)?
MediumOther domains
All 305-300 exam domains
Frequently asked questions
- What does the VM Deployment And Provisioning domain cover on the 305-300 exam?
- VM Deployment And Provisioning questions test whether you can apply the concept in context, not just recognise a definition.
- How many questions are in this domain?
- This page lists all 32 VM Deployment And Provisioning questions in the 305-300 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
- What is the best way to practise this domain?
- Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
- Can I practise only VM Deployment And Provisioning questions?
- Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.