Free EX407 Exam Braindumps (page: 12)

Page 11 of 26

What does the -f flag in the ansible command allow you to specify?

  1. The playbook file used by ansible
  2. The inventory file used by ansible
  3. The configuration file used by ansible
  4. The forks used by ansible

Answer(s): D

Explanation:

The -f flag allows the user to set the number of forks the ansible process will run.



What switch needs to be added to prevent the following command from failing:

ansible all -m user -a "name=jsmith state=present"

  1. -b
  2. -f
  3. -x
  4. -v

Answer(s): A



What is wrong with the following command:

ansible all -a "mkdir/tmp/testfile"

  1. There is not a module specified.
  2. There is not an inventory file specified.
  3. The command will execute without error.
  4. The -b flag is required.

Answer(s): C

Explanation:

This command will execute using the command module by default.



What character is used to denote use of a jinja filter on an Ansible variable?

  1. The period: “.”
  2. The pipe: “|”
  3. The percent sign: “%”
  4. The at symbol: “@”

Answer(s): B






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

EX407 Discussions & Posts