nerdexam
Network_Appliance

NS0-404 · Question #63

101.You are creating an Ansible playbook to deploy a NetApp ONTAP cluster. You want to take advantage of a loop to automate the creation of several volumes. What would accomplish this task?

Sign in or unlock NS0-404 to reveal the answer and full explanation for question #63. The question stem and answer options stay visible for context.

Cloud Resources Implementation

Question

101.You are creating an Ansible playbook to deploy a NetApp ONTAP cluster. You want to take advantage of a loop to automate the creation of several volumes. What would accomplish this task?

Options

  • A
    • name: Volume Create na_ontap_volume: state: present name: "{{ item }}" vserver: "my_svm" aggregate_name: "aggr0" size: 10 size_unit: gb policy: default junction_path: "/{{ item }}" loop:
    • vol1
    • vol2
    • vol3
  • B
    • name: Volume Create na_ontap_aggregate: state: present name: "{{ item }}" vserver: "my_svm" aggregate_name: "aggr0" size: 10 size_unit: gb policy: default junction_path: "/{{ item }}" loop:
    • vol1
    • vol2
    • vol3
  • C
    • name: Volume Create na_ontap_volume: state: present name: "{{ vol1,vol2,vol3 }}" vserver: "my_svm" aggregate_name: "aggr0" size: 10 size_unit: gb policy: default junction_path: "/{{ vol1,vol2,vol3 }}"
  • D
    • name: Volume Create na_ontap_volume: state: present name: "{{ item }}" vserver: "my_svm" aggregate_name: "aggr0" size: 10 size_unit: gb policy: default junction_path: "/{{ item }}" loop:
    • vol1
    • vol2
    • vol3

Unlock NS0-404 to see the answer

You've previewed enough free NS0-404 questions. Unlock NS0-404 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Ansible#na_ontap_volume#loop automation#playbook syntax
Full NS0-404 Practice