Free EX407 Exam Braindumps (page: 8)

Page 7 of 26

What is a typical use case for an Ansible Template?

  1. Managing remote system configuration files
  2. Defining a host group
  3. Installing remote Ansible installations
  4. Running remote commands

Answer(s): A



Which of the following are valid parameters of the template module? (Choose all that apply.)

  1. state
  2. dest
  3. validate
  4. .name

Answer(s): B,C

Explanation:

The validate parameter sets a program to check file syntax prior to deployment.



Templates must be written in what language?

  1. XML
  2. Ruby
  3. Jinja2
  4. INI

Answer(s): C

Explanation:

Templates are parsed using the Jinja2 templating language.



Templates have access to variables scoped at which of the following levels? (Choose all that apply.)

  1. Hostgroup targeted by current play
  2. Ansible Facts
  3. Variables defined within the current play
  4. Any host variables defined in inventory

Answer(s): A,B,C






Post your Comments and Discuss RedHat EX407 exam with other Community members:

EX407 Discussions & Posts