Test your Vagrant knowledge with a free interactive quiz — 21 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
What is Vagrant?
In this round
What is Vagrant?
What is a reasonable reason a development team might choose Vagrant over simply documenting manual setup steps in a README?
What is the purpose of `vagrant provision` (run standalone, without `up`)?
What is a `Vagrantfile`?
How does specifying resource allocation (like memory or CPU count) for a Vagrant VM typically work, e.g. via the VirtualBox provider?
What is a Vagrant "box"?
What is the purpose of `config.vm.network` settings in a Vagrantfile, e.g. `config.vm.network "forwarded_port", guest: 3000, host: 3000`?
Why might a team choose Vagrant to standardize development environments, particularly for a project with complex or OS-specific setup requirements?
What is the significance of a Vagrantfile being checked into a project's version control (e.g. committed to Git) alongside the application code?
How does Vagrant typically handle sharing files between the host machine and the guest VM?
How does Vagrant handle multiple VMs defined within a single Vagrantfile, for a project needing more than one machine (e.g. a separate app server and database server)?
What is a reasonable use case for provisioning a Vagrant VM with a configuration management tool like Ansible, rather than a plain shell script?