nerdexam
CompTIA

XK0-004 · Question #526

An administrator has been able to run the uptime command on several Linux servers at once. The orchestration software that issues the command is installed on the administrator's workstation and functi

The correct answer is C. The SSH daemon must be running and accessible. Agentless orchestration tools such as Ansible use SSH to execute commands on remote hosts without installing a vendor agent, so the SSH daemon must be running and reachable on each managed server.

Scripting, Containers and Automation

Question

An administrator has been able to run the uptime command on several Linux servers at once. The orchestration software that issues the command is installed on the administrator's workstation and functions without an agent. Which of the following is required on each host?

Options

  • ASNMP community strings must be set to public
  • BThe firewall must be disabled on each host
  • CThe SSH daemon must be running and accessible
  • DA client must be installed on each host from the orchestration vendor

How the community answered

(38 responses)
  • A
    3% (1)
  • C
    95% (36)
  • D
    3% (1)

Why each option

Agentless orchestration tools such as Ansible use SSH to execute commands on remote hosts without installing a vendor agent, so the SSH daemon must be running and reachable on each managed server.

ASNMP community strings must be set to public

SNMP community strings are used for monitoring and MIB-based data collection, not for executing arbitrary shell commands across servers in an orchestration workflow.

BThe firewall must be disabled on each host

Disabling the firewall entirely is not required - only the SSH port needs to be permitted, and blanket firewall disablement would be an unnecessary security risk.

CThe SSH daemon must be running and accessibleCorrect

Agentless orchestration platforms communicate with remote Linux hosts exclusively over SSH, connecting as a privileged user to issue commands like 'uptime' and collect output. This means the sshd process must be active and the relevant port (default 22) must be accessible through any host-based firewall. No additional vendor software is required on the managed host because SSH is the transport layer.

DA client must be installed on each host from the orchestration vendor

Installing a client from the orchestration vendor on each host contradicts the agentless architecture described in the question, which specifically states the software functions without an agent.

Concept tested: Agentless orchestration SSH dependency on managed hosts

Source: https://docs.ansible.com/ansible/latest/getting_started/index.html

Topics

#agentless orchestration#SSH daemon#remote automation#configuration management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice