Ansible interview question

What is dynamic inventory, and why use it in the cloud?

Definition Asked in DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

A dynamic inventory asks a source of truth (AWS, Azure, GCP, VMware, a CMDB) for the current hosts when the playbook starts, instead of reading a hand-maintained file. In the cloud, where instances come and go with autoscaling, it keeps Ansible's view of the fleet accurate and lets you group hosts by tags.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Ansible questions

← All Ansible questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake