nerdexam
CompTIACompTIA

CAS-005 · Question #482

CAS-005 Question #482: Real Exam Question with Answer & Explanation

Sign in or unlock CAS-005 to reveal the answer and full explanation for question #482. The question stem and answer options stay visible for context.

Submitted by alyssa_d· Mar 6, 2026Security Operations / Scripting, Automation, and Configuration Management (CompTIA Security+ or CySA+ - Infrastructure Security Domain)

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.

Options

  • A--- - name: deployment hosts: linux_servers remote_user: root tasks: - name: Install security software ansible.builtin.apt:
  • 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" }

Unlock CAS-005 to see the answer

You've previewed enough free CAS-005 questions. Unlock CAS-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Configuration Management#Ansible#Linux Security#Infrastructure as Code
Full CAS-005 PracticeBrowse All CAS-005 Questions