This Ansible Online Test
Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The Ansible online test evaluates a candidate's knowledge of Ansible, how to use it for software provisioning, configuration management, and application deployment, enabling infrastructure as code.

It's an ideal test for the pre-employment screening of candidates applying for roles such as DevOps Engineers, Ansible developers, and administrators.

This test requires candidates to answer questions based on provisioning, configuration management, and application deployment using Ansible.

Sample public questions

Easy
3 min
mca
Public
Ansible
Ansible Handlers
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?

Easy
5 min
mca
Public
Ansible
Conditional Statements
Playbook
Variable

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?

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Ansible test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL

TestDome
Certificate

TestDome logo on certificate

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.

Sign Up to Offer this Test

3 more premium Ansible questions

Managing Hosts, Live Hosts, Node Management.

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

What others say

Decorative quote

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

G2 High Performer 2022G2 Read Our 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.

90+ 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

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?