
Dive Into Ansible - From Beginner to Expert in Ansible - Using Roles
Interactive Video
•
Information Technology (IT), Architecture, Other
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the main benefits of using roles in Ansible?
They make it harder to manage larger projects.
They prevent the use of variables.
Roles allow for logical grouping and easier sharing.
Roles eliminate the need for templates.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which directory in an Ansible role is used for default variables?
Handlers
Meta
Defaults
Tasks
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which directory in an Ansible role is used for storing templates?
Vars
Tasks
Handlers
Templates
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the significance of the 'tasks' directory in an Ansible role?
It stores default variables.
It contains the tasks associated with the role.
It holds the role's metadata.
It is used for storing raw variables.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to create the skeleton structure of a role in Ansible?
ansible-playbook
ansible-role
ansible-init
ansible-galaxy
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When converting a playbook to a role, where should the playbook tasks be moved?
Handlers directory
Tasks directory
Vars directory
Meta directory
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of using Ansible Galaxy for role creation?
It automates the creation of the role structure.
It makes the process manual and time-consuming.
It prevents the use of variables.
It eliminates the need for a directory structure.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?