Question 6 of 100

Is it possible to specify multiple inventory files at once?

Answer

Suggested Answer

The suggested answer is A.

Question 7 of 100

What keyword stores a command's output into a variable?

Answer

Suggested Answer

The suggested answer is A.

Question 8 of 100

What does the lineinfile module do?

Answer

Suggested Answer

The suggested answer is A.

Question 9 of 100

Consider the following playbook.

---

  • hosts: local
  • become: yes

tasks:

  • name: create users
  • user: name: "{{item}}" with_items:
  • - sam
  • - john
  • - bob

How many times is the user module invoked?

Answer

Suggested Answer

The suggested answer is B.

Question 10 of 100

What command is used to run a playbook?

Answer

Suggested Answer

The suggested answer is A.