Online Exam Quiz

questionQuestion  1 to 30

What is the purpose of the Ansible Vault?

  • Securely manage sensitive data
  • Manage encrypted passwords
  • Store SSH keys securely
  • Manage private keys
Mark for review

Which Ansible module is used to interact with REST APIs?

  • rest_api
  • rest
  • api
  • uri
Mark for review

What is the directory structure of a typical Ansible project called?

  • ansible-dir
  • ansible-layout
  • ansible-project
  • ansible-structure
Mark for review

Which Ansible module is used to send email notifications?

  • email
  • mail
  • sendmail
  • smtp
Mark for review

Which Ansible module is used to manage dynamic inventories?

  • dynamic_inventory
  • script_inventory
  • custom_inventory
  • inventory_script
Mark for review

How does Ansible communicate with remote nodes?

  • SSH
  • HTTP
  • Telnet
  • FTP
Mark for review

Which Ansible module is used to manage files and file properties on remote systems?

  • file
  • copy
  • files
  • manage_file
Mark for review

How can you include a comment in an Ansible playbook?

  • # Comment
  • // Comment
  • /* Comment */
  • <!-- Comment -->
Mark for review

Which Ansible configuration file can be used to define default hosts and users?

  • hosts.yml
  • ansible.cfg
  • inventory.yml
  • ansible_hosts
Mark for review

What is the default location of the main Ansible configuration file?

  • /etc/ansible/ansible.cfg
  • /etc/ansible.cfg
  • /etc/ansible.conf
  • /etc/ansible/config
Mark for review

Which Ansible module is used to manage services on remote systems?

  • service
  • manage_service
  • systemctl
  • start-stop-service
Mark for review

Which Ansible module is used to install packages on remote systems?

  • apt
  • yum
  • pkg
  • install
Mark for review

Which Ansible module is used to manage relational databases?

  • sql
  • mysql
  • db
  • database
Mark for review

What is the purpose of the 'delegate_to' parameter in Ansible tasks?

  • Delegate task execution to another host
  • Delegate to proxy
  • Execute tasks remotely
  • Delegate to a group
Mark for review

How can you set up passwordless SSH authentication for Ansible?

  • SSH keys
  • password file
  • token authentication
  • Ansible Vault
Mark for review

Which YAML file specifies the list of hosts that Ansible manages?

  • hosts.yml
  • inventory.yml
  • ansible.cfg
  • playbook.yml
Mark for review

Which Ansible module is used to manage users and groups on remote systems?

  • user
  • manage_user
  • group
  • add_user
Mark for review

What is the purpose of Ansible Tower (AWX)?

  • Web-based UI for Ansible
  • Centralized automation platform
  • Containerized Ansible
  • Ansible GUI
Mark for review

Which option should be used to limit the execution of a playbook to a subset of hosts?

  • --limit
  • --subset
  • --hosts
  • --target
Mark for review

How can you perform a dry-run of changes using Ansible?

  • dry-run
  • --simulate
  • --check
  • --test-run
Mark for review

Which component of Ansible is responsible for connecting to nodes and running tasks?

  • Playbook
  • Inventory
  • Module
  • Control node
Mark for review

What is the purpose of Ansible collections?

  • Bundle and distribute roles
  • Manage collections
  • Group playbooks
  • Store playbooks
Mark for review

Which Ansible module is used to manage network devices?

  • network
  • network_device
  • switch
  • manage_network
Mark for review

What is Ansible?

  • A configuration tool
  • A monitoring tool
  • A programming language
  • A database management tool
Mark for review

Which Ansible module is used to manage cron jobs on remote systems?

  • cron
  • cron_job
  • schedule
  • manage_cron
Mark for review

Which Ansible module is used to manage Docker containers?

  • docker_container
  • container
  • docker
  • manage_docker
Mark for review

Which option should be used to check the syntax of an Ansible playbook without executing it?

  • --syntax-check
  • --check-syntax
  • --verify-syntax
  • --ansible-syntax
Mark for review

Which option should be used to run Ansible in check mode without actually making changes?

  • --check
  • --dry-run
  • --test
  • --verify
Mark for review

Which Ansible module is used to make HTTP requests and handle JSON responses?

  • http_request
  • uri
  • http
  • request
Mark for review

Which Ansible module is used to manage Kubernetes resources?

  • k8s
  • kube
  • kubernetes
  • manage_k8s
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review