Hi Guest

HomePage

1 1

To improves our performance please Like Share Subscribe(Will boost us)

Ansible Questions and Answers
Question Posted on 19 Mar 2018

Home >> Test and Papers >> Ansible >> Ansible Questions and Answers

Ansible Latest optional Questions and answers
(1)You can activate your privilege escalations using which settings?
(i)become=true
(ii)become=false

(2)ansible.cfg should be present in
(i)/ansible/
(ii)/etc/hosts
(iii)/etc/ansible
(iv)/etc/configurations

(3)To store sensitive information you can use ansible-vaulte.
(i)True
(ii)False


(4)Which module will you use to create a directory?
(i)file
(ii)fetch
(iii)copy
(iv)template


(5)Ansible has two type of servers
(i)Only node
(ii)controlling machines & nodes


(6)What is the output statement of the following snippet?
tasks:
- name: test
shell: echo "hello"
register: a
debug: msg="the message is {{ a.stdout }}"
(i)the message is hello will get printed without any errors
(ii)syntax error because of conflicting action statements

(7)How can you reduce the number of SSH connections required?
(i)forks
(ii)pipelining
(iii)accelerate_port
(iv)become_method

(8)You write comments in Jinja2 as:
(i){{ }}
(ii){# #}
(iii){% %}

(9)Which module can be used to copy files from remote machine to control machine?
(i)copy
(ii)move
(iii)ping
(iv)fetch

(10)what is the default forks value in configuration file?
(i)depends upon hosts in inventory
(ii)7
(iii)1
(iv)5

(11)Which command tells ansible to run the playbook on all the hosts except host1?
(i)ansible-playbook playbooks/PLAYBOOK_NAME.yml --limit "all:!host1"
(ii)ansible-playbook playbooks/PLAYBOOK_NAME.yml --limit 'all:!host1'
(iii)ansible-playbook playbooks/PLAYBOOK_NAME.yml --limit "!host1"
(iv)ansible-playbook playbooks/PLAYBOOK_NAME.yml -limit 'all:!host1'

(12)Ansible can deploy to virtualization and cloud environments, Including
(i)Cloud Stack
(ii)Google cloud platform
(iii)All the Options
(iv)Amazon web services
(v)Open Stack

(13)YAML uses tabs for indentation, True or false?
(i)True
(ii)False

(14)Using which module can you see the list of all the ansible variables?
(i)ping
(ii)fetch
(iii)setup
(iv)copy

(15)Which configuration management software is Agentless?
(i)CFEngine
(ii)Puppet
(iii)Ansible
(iv)Chef

(16)Ansible is
(i)All the options mentioned
(ii)Orchestration Engine
(iii)configuration management
(iv)Infrastructure as Code

(17)Which Ansible module is used to manage docker services and containers.
(i)docker_login
(ii)docker_container
(iii)docker
(iv)docker_service

(18)How to define the number of parallel processes while communicating to remote hosts?
(i)become
(ii)forks
(iii)pipelining
(iv)become_method

(19)Ansible can work as a push automated deployment system and as well as a pull automated deployment system?
(i)True
(ii)False

(20)Which of the following is a valid YAML syntax?
(i)path: F:\test
(ii)All the options mentioned
(iii)path: F:
(iv)path: "F\test"\programs


Answer
(1) (i)
(2)(iii)
(3)(i)
(4)(i)
(5)(i)
(6)(ii)
(7)(ii)
(8)(ii)
(9)(i)
(10)(iv)
(11)(ii)
(12)(iii)
(13)(ii)
(14)(iii)
(15)(iii)
(16)(i)
(17)(iv)
(18)(ii)
(19)(i)
0
0




Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions
Ansible can work as a push automated deployment system and as well as a pull automated deployment system
You can activate your privilege escalations using which settings?
How to define the number of parallel processes while communicating to remote hosts
Which Ansible module is used to manage docker services and containers
Ansible Questions and Answers






Most Visited Questions
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |
     
 
Privacy policy | Terms and Conditions | Blog


If the copyright of any questions or content or syntax belong to you email us we will remove that(info@crackyourinterview.com or crackyourinterview2018@gmail.com)
 

1
Home About Us GroupChat
 
Sitemap Feedback Contact us