Advanced Automation: Ansible Best Practices (DO447) Quiz Questions and Answers

What command can be used to get help from ansible documentation?

Answer :
  • ansible-doc < module >

Which default modules use in ad-hoc commands?

Answer :
  • command

Which connection plugin uses by ansible to manage windows machines?

Answer :
  • winrm

Modules are a program to perform a task.

Answer :
  • True

Can ansible perform synchronized operations by default?

Answer :
  • True

Async and poll keyword is used to________.

Answer :
  • apply asynchronous mode

What are built-in programs that come with an ansible package?

Answer :
  • Core modules

How many types of inventory files are supported by ansible?

Answer :
  • 2

There is Playbook name file.yml, which hosts would playbook run against. file.yml - hosts: account tasks: - name: copy test.txt file copy: src: test.txt dest: /tmp/test.txt inventory file: [account] web1 10.0.0.1 web2 10.0.0.2

Answer :
  • account

Is it possible to write multiple modules in a single playbook?

Answer :
  • Yes