Which THREE plugins are used for data transformation in Ansible?
Lookup plugins fetch and transform data from sources like files, env, etc.
Why this answer
Lookup plugins (B) are used to access external data sources (e.g., files, databases, environment variables) and bring that data into Ansible for transformation or use in tasks. Filter plugins (C) are specifically designed to manipulate and transform data within a playbook, such as converting strings, formatting JSON, or performing mathematical operations. Cache plugins (E) store and retrieve cached data (e.g., facts) to improve performance, which involves data transformation for serialization/deserialization.
Exam trap
The trap here is that candidates often confuse lookup plugins (which fetch data) with filter plugins (which transform data), or assume callback plugins (which handle output) are involved in data manipulation, but only filters, lookups, and caches directly transform or prepare data for use.