Test your knowledge by answering this MCQ. It is advisable to do it before and after the training to evaluate your progress. Warning: the questions are random and AI-generated.

1. How to configure a virtual machine to use a specific network interface?





2. What is the main role of a `Vagrantfile`?





3. What is the typical file extension for shell provisioning scripts in Vagrant?





4. In which scenario would you use the `vagrant global-status` command?





5. How to redirect port 8080 from the host to port 80 of the VM in Vagrant?





6. Which configuration option is used to specify the number of CPUs for a Vagrant VM?





7. Which command suspends a Vagrant virtual machine?





8. How to use Vagrant to provision a virtual machine with Ansible?





9. How to update a Vagrant box?





10. How do you add a plugin in Vagrant?





11. How to prevent a Vagrant virtual machine from syncing with the host's clock?





12. In which scenario would you use the `vagrant global-status` command?





13. Which configuration option is used to specify a custom name for a Vagrant virtual machine?





14. Which Vagrant plugin is commonly used to manage multi-machine configurations?





15. What is Vagrant?





16. Which Vagrant command applies updates to installed plugins?





17. How to configure the maximum memory size for a Vagrant virtual machine?





18. Which Vagrant command is used to install a specific box?





19. Which command stops a Vagrant virtual machine?





20. How to link a shell provisioning script to a specific action like `vagrant up`?








Testez vos connaissances avec ce QCM