How can you encrypt a file using Ansible Vault?
Configuration Management using Ansible - 2

Quiz
•
Professional Development
•
Professional Development
•
Medium
Sharique Kamal
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ansible-vault encrypt <filename>
ansible encrypt-vault <filename>
ansible-vault encrypt –file <filename>
ansible-encrypt encrypt <filename>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Ansible Galaxy?
Store Ansible Playbooks
It acts as a community and helps store Ansible Modules
It acts as a community and helps store Ansible Roles and Collection
Store sensitive data via ansible vault
Answer explanation
Ansible Galaxy is a hub for sharing Ansible roles and collections. It acts as a community place for users to find and share reusable Ansible roles and collections
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the keyword "become" in an Ansible playbook?
To switch to a different playbook
To switch to a different (typically privileged) user on target nodes
To switch to a different (typically privileged) user on controller
To convert ansible modules into a role
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following parameter helps add / modify permissions for a file in Ansible "file" module?
mode
group
owner
state
present
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
I want to make sure that my nginx service is in running state on my target nodes. How can i ensure it?
By using the “action” parameter with the value “start”
By providing the name of the service as a parameter to the module
By using the “service” parameter with the value “start”
By using the “state” parameter with the value “started”
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Ansible module “setup”?
To set up a new target system with the necessary software and configurations
To gather facts about a target system, such as hardware and software information
To automate the deployment of software to a target system
To configure network settings on a target system
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following Ansible modules can be used to create a directory on target nodes?
template
package
file
directory
lineinfile
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
DevOps

Quiz
•
Professional Development
10 questions
Articulate Masterclass

Quiz
•
Professional Development
11 questions
JSON YAML

Quiz
•
Professional Development
11 questions
CFCD Quiz #3

Quiz
•
Professional Development
9 questions
Evaluación | Temas Azure

Quiz
•
Professional Development
12 questions
Terraform

Quiz
•
Professional Development
11 questions
SIRI Day 2 Review

Quiz
•
Professional Development
10 questions
Forcepoint DLP Knowledge Check

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade