Courseiva

EX294 Deploy Ansible Automation Platform Practice Question

Match each Ansible inventory parameter to its meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Hostname or IP to connect to

SSH user for connection

SSH port number

Private key file path

Python interpreter path

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

ansible_host: The hostname or IP address to connect to.

Common Ansible inventory parameters: ansible_host defines target host, ansible_port defines SSH port, ansible_user defines remote user, ansible_ssh_private_key_file defines SSH key. Be careful not to confuse them with ansible_connection or ansible_become.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    ansible_host: The hostname or IP address to connect to.

    Why this is correct

    ansible_host specifies the target hostname or IP for the connection.

  • ✓

    ansible_port: The SSH port number to connect to (default 22).

    Why this is correct

    ansible_port defines the port used for SSH connections.

  • ✓

    ansible_user: The user to log in as on the target host.

    Why this is correct

    ansible_user sets the remote user for the connection.

  • ✓

    ansible_ssh_private_key_file: The private key file to use for SSH authentication.

    Why this is correct

    ansible_ssh_private_key_file specifies the key file for SSH authentication.

  • ✗

    ansible_host: The connection type (e.g., ssh, winrm).

    Why it's wrong here

    Incorrect — ansible_host is for hostname/IP; the connection type is set by ansible_connection.

  • ✗

    ansible_port: The method to become a different user (e.g., sudo).

    Why it's wrong here

    Incorrect — ansible_port is for port number; privilege escalation is controlled by ansible_become.

About these practice questions

This EX294 question is part of Courseiva's 392-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This EX294 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX294 exam.