Home > Articles

This chapter is from the book

This chapter is from the book

Review Questions

  • 1. Which module should you use to work with file system ACLs?

  • 2. Which modules can you use to replace strings in text files based on regex? (List two.)

  • 3. Which module should you use to retrieve file status?

  • 4. List three tasks that are commonly executed using the file module.

  • 5. Which module should you use to synchronize the contents of a file with the contents of a file on the control host?

  • 6. What is wrong with using the file module to manipulate SELinux file context?

  • 7. Which module can you use to change SELinux Booleans?

  • 8. A playbook runs successfully, but the handler in that playbook is not triggered. What is the most common explanation?

  • 9. How do you include a comment line in a Jinja2 template?

  • 10. What is the if statement used for in Ansible templates?

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.