Question 6 of 100

Is it possible to specify multiple inventory files at once?
Answer

Suggested Answer

The suggested answer is A.

Community Votes

No votes yet

Join the discussion to cast yours

Question 7 of 100

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

Suggested Answer

The suggested answer is A.

Community Votes

No votes yet

Join the discussion to cast yours

Question 8 of 100

What does the lineinfile module do?
Answer

Suggested Answer

The suggested answer is A.

Community Votes

No votes yet

Join the discussion to cast yours

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.

Community Votes

No votes yet

Join the discussion to cast yours

Question 10 of 100

What command is used to run a playbook?
Answer

Suggested Answer

The suggested answer is A.

Community Votes

No votes yet

Join the discussion to cast yours