Ansible Quiz

Ansible Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

Configuration Management using Ansible - 1

Configuration Management using Ansible - 1

Professional Development

8 Qs

CTJGP Ansible - Day1

CTJGP Ansible - Day1

Professional Development

10 Qs

DevOps MCQ

DevOps MCQ

Professional Development

10 Qs

DevOps

DevOps

Professional Development

10 Qs

Classroom Assessment

Classroom Assessment

Professional Development

15 Qs

Delegation

Delegation

Professional Development

15 Qs

Wireless Quiz

Wireless Quiz

Professional Development

10 Qs

DevOps Trivia

DevOps Trivia

Professional Development

10 Qs

Ansible Quiz

Ansible Quiz

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

solomonraju D

Used 17+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of an Ansible playbook?

To manage network devices

To define a set of tasks to be executed on remote hosts

To create virtual machines

To monitor system performance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Ansible module for managing packages?

command

apt

shell

copy

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an Ansible playbook, what does the 'hosts' directive specify?

The users who can execute the playbook

The inventory file location

The target machines on which tasks will run

The variables used in the playbook

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Ansible module would you use to copy files from the control machine to a remote host?

fetch

synchronize

copy

template

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to define a task in an Ansible playbook?

task: name: "Install package"

- name: "Install package"

- task: "Install package"

task: "Install package"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following modules is used to manage users in Ansible?

user

group

service

file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'vars' section in an Ansible playbook?

To define the inventory of hosts

To specify the tasks to be executed

To declare variables used in the playbook

To set the execution order of tasks

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?