Ansible - Automation Choral MCQs Solution | TCS Fresco Play | Fresco Play

0

Ansible - Automation Choral MCQs Solution | TCS Fresco Play | 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!

If you found answer for any of the questions is wrong. Please do mention in the comment section, could be useful for others. Thanks!

_______________________________________

1. Fact variables have higher precedence than Playbook variables. 
False

2. Which module can tell you the fact variables of a host? 
setup

3. You can skip the task of gathering facts through which of the following ways?gather_facts: no

4. Which option will give you an error while accessing your complex variable?
{{ ansible_eth0[ipv4][address] }}

5. Which of the following can you include in your Playbook?
 All

6. Where can you use tags?
 All

7. Which tag is executed by default while running a Playbook? 
all

8. Tagging allows you to run or skip certain parts of the Playbook. 
Can you run tasks that are not tagged?
yes

9. This keyword gives you the flexibility to run a specific part of your playbook.
tags

10. folder defines the dependencies of your role? 
Meta

11. This folder stores your dynamic files? 
templetes

12. Which of the following can you use to delete your installed role? 
remove

13. You can scaffold your roles using? 
ansible-galaxy

14. You can view the details of a role using which of the following? 
ansible-galaxy info username.ole

15. Default variables in Roles have the least precedence.
true

16. Defining the same variable in multiple locations will cause error.
false

17. You can run non-tagged tasks using which magical word?
none

18. The following are valid file extensions to store inventory variables in a file, except 
.ini

19. A handler will run only once after all the tasks are completed in a particular play.
true

20. You can contribute your roles to the Ansible community through GitHub Profile. 
True

21. This allows you to keep secret data in Playbook.
Vault

22. ansible-galaxy init --force --offline sample-role



**************************************************

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

0Comments
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