CAS-005 · Question #482
A company is migrating from a Windows Server to Linux-based servers. A security engineer must deploy a configuration management solution that maintains security software across all the Linux servers.
The correct answer is A. --- - name: deployment hosts: linux_servers remote_user: root tasks: - name: Install security software ansible.builtin.apt:. Option A is correct because it is a valid Ansible YAML playbook snippet that uses the appropriate 'ansible.builtin.apt' module, which is the correct package manager for Linux/Debian-based distributions (such as Ubuntu). Ansible is an industry-standard, agentless configuration man
Question
A company is migrating from a Windows Server to Linux-based servers. A security engineer must deploy a configuration management solution that maintains security software across all the Linux servers. Which of the following configuration file snippets is the most appropriate to use? A. B. C. D.
Exhibits
Options
- A
-
name: deployment
hosts: linux_servers
remote_user: root
tasks:
- name: Install security software ansible.builtin.apt:
-
name: deployment
hosts: linux_servers
remote_user: root
tasks:
- B<hosts>linux_servers</hosts> <os_type>Linux_3.1</os_type> <SELinux>true</SELinux> <source>com.canonical.io</source>
- C{ "name":"deployment", "hosts":"linux_servers", "remote_user":"administrator", } { "tasks":"name":"Install security software", "com.microsoft.store.latest" }
- D{ "task":"install", "hosts": "linux_servers", "remote_user": "root" "se_linux":"false" "application": "AppX" }
How the community answered
(56 responses)- A89% (50)
- B2% (1)
- C7% (4)
- D2% (1)
Explanation
Option A is correct because it is a valid Ansible YAML playbook snippet that uses the appropriate 'ansible.builtin.apt' module, which is the correct package manager for Linux/Debian-based distributions (such as Ubuntu). Ansible is an industry-standard, agentless configuration management tool well-suited for maintaining security software across Linux servers, and the YAML structure with 'hosts', 'remote_user', and 'tasks' fields is syntactically correct for an Ansible playbook.
Topics
Community Discussion
No community discussion yet for this question.





