Ansible Online Test
For Jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor Companies
Test candidates with real-world problems and interview the best ones.
Sign Up to Offer this TestAbout the test
The Ansible online test assesses knowledge of using Ansible for software provisioning, configuration management, and application deployment.
The assessment includes work-sample tasks such as:
- Installing updates on all servers.
- Using Ansible Inventory files to organize and manage hosts.
- Running commands against specific hosts or groups using Ansible Patterns.
A good Ansible developer or administrator should be familiar with using Ansible to enable infrastructure as code.
Sample public questions
A service called testdome_service has a licensing cost based on the number of systems it is installed on. For the purpose of checking if the package is installed or not, your DevOps team lead has shared the following playbook:
---
- hosts: testdome_servers
vars:
package_names:
- testdome_service
tasks:
- name: "Package check"
package:
name: "{{ item }}"
state: present
check_mode: yes
loop: "{{ package_names }}"
register: package_check
- name: "Print"
debug:
msg: "Package is installed"
when: package_check is succeeded
Which answers are correct for the given playbook?
Your team manages the web farm for example.com which now needs to support URL rewriting so that it uses more user and search engine friendly URLs.
Your team plans to use the following playbook to achieve the above mentioned requirement:
---
- hosts: example_web_servers
become: yes
tasks:
- name: check rewrite module
apache2_module:
name=rewrite
state=present
notify:
- apache2 handler
handlers:
- name: apache2 handler
service:
name=apache2
state=restarted
What are the features and functions of the different parts of the given playbook?
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Ansible test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Ready to Interview?
Use these and other questions from our library with our
Code Interview Platform.
3 more premium Ansible questions
Skills and topics tested
- Ansible
- Ansible Inventory
- Ansible Patterns
- Ad Hoc Commands
- Ansible Nodes
For job roles
- Ansible Administrator
- Ansible Developer
- DevOps Engineer
Sample candidate report
Need it fast? AI-crafted tests for your job role
TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!
What others say
Simple, straight-forward technical testing
TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.
Jan Opperman, Grindrod Bank
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
From web development and database administration to project management and customer support. See all pre-made tests.
130+ skills
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Multi-skills Test
Mix questions for different skills or even custom questions in one test. See an example.
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports