Free EX407 Exam Braindumps (page: 6)

Page 5 of 26

What keyword sets a change condition for a given task?

  1. flag_change
  2. changed_when
  3. register_change
  4. change_set

Answer(s): C



Which line instructs ansible to install httpd?

  1. yum: name=httpd state=installed
  2. tasks: install httpd
  3. service: name=httpd state=installed
  4. name: service=httpd state=installed

Answer(s): A

Explanation:

The yum module is an appropriate way to install software



Which keywords are valid? (Choose all that apply.)

  1. never
  2. rescue
  3. always
  4. block

Answer(s): B,C,D

Explanation:

Always is a valid keyword that is part of the block group error handling set of keywords. Block is a valid keyword that is part of the block group error handling set of keywords.



What does the when keyword do?

  1. There is no when keyword
  2. Allows a task to be conditional
  3. Allows a play to be conditional
  4. Allows a play to be scheduled

Answer(s): B






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

EX407 Discussions & Posts