Courseiva

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.

32 questions4 easy17 medium11 hard

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.

1

Which THREE features are provided by the Vagrant 'synced_folder' functionality?

Medium
2

When 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?

Medium
3

In a Vagrant environment, where should sensitive data like API keys be stored to avoid committing them to version control?

Medium
4

Which THREE settings are commonly configured in the 'provider' block of a Vagrantfile for virtualbox?

Medium
5

When using Vagrant to manage a libvirt-based provider, which command verifies that the virtual machine is currently running and identifies the provider in use?

Easy
6

You 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?

Medium
7

Which command is used to display the configuration of a Packer build in a readable format?

Easy
8

When configuring cloud-init 'network-config', which format is primarily used to describe network interfaces?

Hard
9

When 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?

Medium
10

Which file in a Vagrant project directory is processed by default to define the virtual environment configuration?

Easy
11

Which THREE configuration items can be managed via cloud-init 'write_files' module?

Hard
12

In a Vagrantfile, which method is used to pass environment variables into the guest virtual machine during the provisioning phase?

Hard
13

Which TWO of the following are valid ways to trigger provisioning in Vagrant?

Medium
14

What is the default behavior of Vagrant when a box is not found locally on the host machine?

Easy
15

Which tool is commonly used alongside Packer to validate the configuration file for syntax errors before attempting a build?

Medium
16

In cloud-init, which syntax is required at the very beginning of the configuration file to ensure it is recognized as a cloud-config script?

Hard
17

When using Vagrant with multiple machines in a single Vagrantfile, how do you define individual configurations?

Medium
18

Which cloud-init module is responsible for setting the hostname of the instance during the initial boot process?

Medium
19

Which TWO components are defined in a Packer 'build' block?

Hard
20

When using Packer with the QEMU builder, what does the 'format' option in the 'qemu' builder define?

Hard
21

Which TWO pieces of information does Packer require to build an image for an existing cloud environment?

Hard
22

You 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?

Hard
23

You 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?

Hard
24

In a Packer build process for OpenStack, which 'post-processor' type is typically used to upload the resulting image to the Glance image service?

Medium
25

A 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?

Medium
26

What is the primary function of the cloud-init 'runcmd' module?

Medium
27

Which THREE of the following are common cloud-init modules?

Medium
28

Which THREE directives are valid under the cloud-init 'users' configuration section?

Medium
29

Which TWO methods can be used to pass configuration data to cloud-init during instance creation?

Hard
30

In a Packer HCL2 file, how do you reference a variable named 'image_name' that was declared in the 'variables' block?

Hard
31

You 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?

Medium
32

Which Packer builder is most appropriate for creating an image specifically for Amazon Web Services (AWS)?

Medium

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.
LPIC-3 Exam 305: Virtualization and Containerization (305-300) (305-300) VM Deployment And Provisioning Practice Questions