Ansible - Automation Sibelius MCQs Solution | TCS Fresco Play


Disclaimer: The primary purpose of providing this solution is to assist and support anyone who are unable to complete these courses due to a technical issue or a lack of expertise. This website's information or data are solely for the purpose of knowledge and education.

Make an effort to understand these solutions and apply them to your Hands-On difficulties. (It is not advisable that copy and paste these solutions).

All Question of the MCQs Present Below for Ease Use Ctrl + F with the question name to find the Question. All the Best! 

1. Design goals of Ansible include

All the options mentioned

2. YAML uses tabs for indentation, True or false?


3. Ansible acquired by

Red Hat

4. Which of the following is a valid YAML syntax?

path: F:\test

5. Ansible is

All the options mentioned

6. Which configuration management software is Agentless?


7. Ansible can deploy to virtualization and cloud environments, Including

All the Options

8. Where is Inventory file located by default?


9. If you do not need any facts from the host, what command would you use?

both gatherfacts: no or gatherfacts: False

10. Which module can be used to copy files from remote machine to control machine?


11. Which one is not a valid value of state argument of "file" module?


12.Which command tells ansible to run the playbook on all the hosts except host1?

ansible-playbook playbooks/PLAYBOOK_NAME.yml -limit 'all:!host1' / ansible-playbook playbooks/PLAYBOOK_NAME.yml --limit "!host1" /


13. Which module copies dynamically generated file from control machine to target hosts?


14. Which module will you use to create a directory?


15. What module can be used to stop a playbook execution for some time?


16. Ansible modules will apply changes everytime you run Playbook.


17. Identify the order of execution of handlers in the below snippet.


18. Handler run only once even if you run the playbook multiple times.


19. Which module can be used to force a handler to run in between two tasks?


20. Modules are temporarily stored in the nodes and communicate with the control machine through a ______ protocol over the standard output.


21. Which Ansible module is used to manage docker services and containers.


22. You write comments in Jinja2 as:

{# #}

23. Which module you can use to install Apache in Ubuntu OS?


24. A Playbook starts with three dots


25. What is the output statement of the following snippet?


- name: test

  shell: echo "hello"

  register: a

  debug: msg="the message is {{ a.stdout }}"

 syntax error because of conflicting action statements

26. Using which module can you see the list of all the ansible variables?


27. Which command do you use to do a syntax check on your playbook?

ansible-playbook --syntax-check

28. You cannot define multiple conditions


29. Which of these will loop through items randomly?


30. How do you use variable to apply condition?

when: score == 3

31. How can you reduce the number of SSH connections required?


32. what is the default forks value in configuration file?


33. ansible.cfg should be present in


34. Ansible can work as a push automated deployment system and as well as a pull automated deployment system?


35. Ansible has two type of servers

Only node

36. In Try It Out section of this course, what was the value of "changed=?" under "Play Recap", when you executed the same playbook for second time?


37. You can activate your privilege escalations using which settings?


38. How to define the number of parallel processes while communicating to remote hosts?


If you have any queries, please feel free to ask on the comment section.

If you want MCQs and Hands-On solutions for any courses, Please feel free to ask on the comment section too.

Please share and support our page!

Post a Comment

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !

Join Telegram Channel

Join MNCAnswers To Get Instant Updates

Join Telegram Channel