Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 359
An online retailer uses 200 cloud-hosted virtual machines (VMs). Currently, the configuration of each VM is performed manually. To support the growth strategy of the retailer, the retailer starts to automatically scale the VMs to meet demand and uses Ansible for configuration management.
Which action must be performed in Ansible to meet the requirements before automation is performed?
Answer options
- A. Register each VM in Ansible.
- B. Add each VM to the .ini inventory file.
- C. Set up and configure Ansible Tower.
- D. Configure a dynamic inventory plug-in.
Correct answer: D
Explanation
To automate the scaling of VMs effectively, configuring a dynamic inventory plug-in in Ansible is essential. This allows Ansible to automatically discover and manage the VMs based on their current state and configuration. The other options, while relevant, do not facilitate the necessary automation aspect required for scaling.