Free 701-100 Exam Braindumps (page: 6)

Page 5 of 16

FILL BLANK
Which Ansible command is used to manage and store sensitive data in encrypted files? (Specify ONLY the command without any path or parameters.)

  1. ansible-vault

Answer(s): A



Which of the following commands lists the cookbooks available on a Chef server?

  1. kitchen cookbook list
  2. chef-client cookbook list
  3. chef-server cookbook list
  4. chef-solo cookbook list
  5. knife cookbook list

Answer(s): C



An Ansible variable file contains the following content:

myapp:
option1: one

Which of the following strings can be used to reference the defined variable? (Choose two correct answers).

  1. myapp(option1);
  2. option1@myapp
  3. myapp[‘option1’]
  4. myapp.option1
  5. myapp{{option1}}

Answer(s): A,E



Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a variable?

  1. register
  2. return
  3. output
  4. result
  5. set_fact

Answer(s): A


Reference:

https://docs.ansible.com/ansible/2.5/user_guide/playbooks_conditionals.html






Post your Comments and Discuss LPI 701-100 exam with other Community members:

701-100 Discussions & Posts