AWS DevOps Engineer Professional DOP-C01 – Question462

What is the proper (best practice) way to begin a playbook?

A.
– hosts: all
B.
C. ###
D.

Correct Answer: D

Explanation:

Explanation:
All YAML files can begin with `—‘ and end with `…’ to indicate where YAML starts and ends. While this is optional, it is considered best practice.
Reference:
http://docs.ansible.com/ansible/YAMLSyntax.html