Online Exam Quiz

questionQuestion  1 to 30

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

  • service
  • manage_service
  • systemctl
  • start-stop-service
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 cron jobs on remote systems?

  • cron
  • cron_job
  • schedule
  • manage_cron
Mark for review

Which option should be used to set the number of parallel processes Ansible uses to manage nodes?

  • --forks
  • --parallel
  • --processes
  • --concurrency
Mark for review

Which option should be used to become a different user when running Ansible tasks?

  • --become-user
  • --run-as
  • --sudo-user
  • --change-user
Mark for review

Which Ansible module is used to manage network devices?

  • network
  • network_device
  • switch
  • manage_network
Mark for review

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

  • apt
  • yum
  • pkg
  • install
Mark for review

How can you define variables in Ansible playbooks?

  • vars
  • arguments
  • params
  • vars_prompt
Mark for review

How can you dynamically create variable names in Ansible?

  • var
  • name
  • dynamic_var
  • var_name
Mark for review

How can you enable verbose mode for debugging in Ansible?

  • --verbose
  • --debug
  • --verbosity
  • --verbose-mode
Mark for review

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 component of Ansible is responsible for connecting to nodes and running tasks?

  • Playbook
  • Inventory
  • Module
  • Control node
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 Ansible keyword is used to include a task list from another file?

  • import_tasks
  • include_tasks
  • import_tasks_file
  • include_tasks_file
Mark for review

What is the purpose of roles in Ansible?

  • Organize tasks and files
  • Group hosts
  • Define playbooks
  • Manage dynamic inventories
Mark for review

How can you loop over a list of items in Ansible playbooks?

  • loop
  • iterate
  • repeat
  • for_each
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

Which option should be used to display Ansible playbook output in JSON format?

  • --json
  • --output=json
  • --format=json
  • --json-output
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

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

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

What is the purpose of the 'when' keyword in Ansible playbooks?

  • Conditional execution based on variables
  • Loop iteration
  • Error handling
  • Skip task
Mark for review

How does Ansible communicate with remote nodes?

  • SSH
  • HTTP
  • Telnet
  • FTP
Mark for review

What is Ansible?

  • A configuration tool
  • A monitoring tool
  • A programming language
  • A database management tool
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

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

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

Which Ansible module is used to interact with REST APIs?

  • rest_api
  • rest
  • api
  • uri
Mark for review

Which Ansible module is used to interact with cloud platforms like AWS?

  • aws
  • ec2
  • cloud
  • aws_ec2
Mark for review

How can you specify the order of execution for tasks within an Ansible playbook?

  • ordered
  • sequence
  • serial
  • order
Mark for review

What is the default configuration management tool used by Ansible?

  • Chef
  • Puppet
  • Salt
  • Ansible
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