Ansible Basics
Infrastructure automation helps your business accelerate, orchestrate and innovate more than ever. Ansible is an open-source software provisioning tool that is more secure, flexible, and simple to automate by enabling the infrastructure as a code. It was developed by Michael DeHaan in 2012 and later on, in 2015, acquired by Red Hat.
Take this assessment to test your knowledge of one of the best infrastructure automation tool available today and earn Rewards. Click Rewards tab for eligibility requirements.
Read FAQs tab carefully for Instructions before beginning the assessment.
NYXPoints are used to generate the Leaderboard (coming soon). They are awarded for achieving a certain score.
- 200 nyxpoints for a passing score of 80% or more
- 300 nyxpoints for a perfect score of 100%
- Didn’t pass? You still get 30 nyxpoints for attempting the assesment
IMPORTANT instructions for taking the Assessment
- The timer starts when you click Start Assessment
- DO NOT refresh/reload the page or use the back button to navigate away from the page.
- Navigating away from the assessment page DOES NOT stop/pause the timer and the will restart the assessment when you come back to it. The answers are NOT saved.
General
- There are NO pre-requisites to take this assessment. Take this assessment even if you are completely new to Linux.
- The assessment is completely FREE.
- Preferably take it in a closed book mode.
- DO NOT copy/paste, share or upload questions elsewhere.
Eligible Rewards
300 NyxCoins*
* NyxCoins vary on score
Assessment Summary
0 of 30 Questions completed
Questions:
Information
You have already completed the assessment before. Hence you can not start it again.
Assessment is loading…
You must sign in or sign up to start the assessment.
You must first complete the following:
Results
Results
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 30
1. Question
Which keyword is used if you don’t want to break the execution of playbook in case of any failure?
CorrectIncorrect -
Question 2 of 30
2. Question
Which command can be used to install Ansible collections in a defined path?
CorrectIncorrect -
Question 3 of 30
3. Question
Which value is required for the parameter ‘state’ when creating an empty file?
CorrectIncorrect -
Question 4 of 30
4. Question
Which ansible command is used to display the content of an encrypted file?
CorrectIncorrect -
Question 5 of 30
5. Question
Which argument is required while passing a custom inventory file in Ansible?
CorrectIncorrect -
Question 6 of 30
6. Question
A file containing hosts or group of hosts in Ansible is known as?
CorrectIncorrect -
Question 7 of 30
7. Question
What is the default protocol used by Ansible?
CorrectIncorrect -
Question 8 of 30
8. Question
If a task fails, will the rest of the tasks in the playbook continue by default?
CorrectIncorrect -
Question 9 of 30
9. Question
What is the terminology used in Ansible for any function that can be executed several times without changing the final result beyond its first iteration?
CorrectIncorrect -
Question 10 of 30
10. Question
Which of the following term best describes the Ansible Architecture?
CorrectIncorrect -
Question 11 of 30
11. Question
Which module uses /bin/sh as a default shell to run commands?
CorrectIncorrect -
Question 12 of 30
12. Question
Which argument is used to pass extra variables in Ansible?
CorrectIncorrect -
Question 13 of 30
13. Question
Which command would you use to execute a playbook called test.yaml?
CorrectIncorrect -
Question 14 of 30
14. Question
Which of the below option can be used to trigger a service restart?
CorrectIncorrect -
Question 15 of 30
15. Question
Blockinfile module allows you to add, remove, modify a single line in a file.
CorrectIncorrect -
Question 16 of 30
16. Question
Which Ansible module can be used to create a file?
CorrectIncorrect -
Question 17 of 30
17. Question
Which one of the following is not a standard directory inside the Ansible role?
CorrectIncorrect -
Question 18 of 30
18. Question
What is the GUI based solution for Ansible?
CorrectIncorrect -
Question 19 of 30
19. Question
Ad-Hoc commands are used to perform tasks on hosts without writing a playbook.
CorrectIncorrect -
Question 20 of 30
20. Question
Which of the following is not a part of Ansible terminology?
CorrectIncorrect -
Question 21 of 30
21. Question
In Ansible, which command is used to encrypt sensitive data?
CorrectIncorrect -
Question 22 of 30
22. Question
Which command can be used to perform a dry run in Ansible?
CorrectIncorrect -
Question 23 of 30
23. Question
Which module is used to create a temporary file or directory?
CorrectIncorrect -
Question 24 of 30
24. Question
What is the default value of forks in Ansible?
CorrectIncorrect -
Question 25 of 30
25. Question
Select the module which can be used to print the output during playbook execution?
CorrectIncorrect -
Question 26 of 30
26. Question
Which of the following command can be used to initialise a role in Ansible?
CorrectIncorrect -
Question 27 of 30
27. Question
What is the default inventory file location?
CorrectIncorrect -
Question 28 of 30
28. Question
Which command can be used to find out the Ansible version?
CorrectIncorrect -
Question 29 of 30
29. Question
Which of the following are the features of Ansible Tower?
CorrectIncorrect -
Question 30 of 30
30. Question
What does ‘become: yes’ mean in Ansible playbooks?
CorrectIncorrect