Ansible

 28 Minutes
 14 Questions


This test is designed to assess a candidate's knowledge of the fundamentals of technology and Ansible. It will cover topics such as installation, configuration, and troubleshooting of Ansible, as well as general concepts related to technology. The test will also include questions on best practices for using Ansible in various scenarios.


Example Question:

Multiple-Choice
Considering the below playbook, which tasks will be executed first?
---
- hosts: webservers
remote_user: root
tasks:
- name: ensure apache is at the latest version
yum: name=httpd state=latest
- name: write the apache config file
template: src=/srv/httpd.j2 dest=/etc/httpd.conf
- hosts: databases
remote_user: root
tasks:
- name: ensure postgresql is at the latest version
yum: name=postgresql state=latest
- name: ensure that postgresql is started
service: name=postgresql state=started