Oracle Cloud Infrastructure 2021 Multicloud Architect Associate — Question 34

Your team implemented a SaaS application that requires a whole system deployment for each new customer. The infrastructure provisioning is already automated via Terraform, and now you have been asked to develop an Ansible playbook to centralize configuration file management and deployment.
What is the most effective way to ensure your playbooks are utilizing up-to-date and accurate inventory? (Choose the best answer.)

Answer options

Correct answer: D

Explanation

The correct answer is D because downloading the dynamic inventory script from Oracle Cloud Infrastructure ensures that the inventory is always accurate and up-to-date with the current resources. Options A and B rely on static lists that may not reflect real-time changes, while option C, although it generates a dynamic list, requires additional scripting that may not be as efficient as using the provided script.