Questions
- Immutable infrastructure helps avoid configuration drift. (True/False)
- It is a best practice to source sensitive data from external variables such as environment variables or a secret management tool such as Hashicorp's Vault. (True/False)
- What modifications do we need to make to our existing playbooks to allow Packer to use them? (Choose one.)
A. Remove any existing
ansible.cfg
files from the current working directory.B. Remove any host files from the current working directory.
C. Update the
hosts
attribute to default within the playbook.D. None of the above.
- Which of the following are limitations of using the Ansible provisioner with Packer? (Choose all that apply.)
A. You cannot pass Jinja2 macros as is to your Ansible playbooks.
B. You cannot define
remote_user
within your Ansible playbooks.C. You cannot use Jinja2 templates within your Ansible playbooks.
D. You cannot use roles and variables within your Ansible playbooks.
- While naming managed images...