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. Which option allows customizing the amount of memory allocated to a Vagrant virtual machine?





2. Which command is used to put a Vagrant virtual machine to sleep without destroying it?





3. How to configure port forwarding from the host to the virtual machine in Vagrant?





4. What is the main purpose of Vagrant?





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





6. Which command is used to list all available boxes in Vagrant Cloud?





7. What keyword is used in the Vagrantfile to define a box?





8. What is the purpose of the `vagrant ssh-config` command?





9. Which Vagrant command is used to start a virtual machine?





10. How do you add a plugin in Vagrant?





11. Which file is used by Vagrant to configure the virtual machine during provisioning?





12. Which command is used to connect to a Vagrant virtual machine via SSH?





13. How to add a new Vagrant box from a specific URL?





14. Which command is used to initialize a new Vagrant project?





15. Which command adds a plugin to Vagrant?





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





17. Which file is used by Vagrant to configure the virtual machine during provisioning?





18. Which file does Vagrant use to define the virtual machine's configuration?





19. How to update a Vagrant box?





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








Testez vos connaissances avec ce QCM