A VPC named retail_vpc (172.22.0.0/16) is already existing in the region ap-south-1. The default AWS profile has been configured with the region ap-south-1. You also want to create another VPC with the same tag name and cidr_block. You have written the below to accomplish the same.

- name: Create VPC

ec2_vpc_net:

name: retail_vpc

state: present

cidr_block: 172.22.0.0/16

resource_tags: { "Environment":"Development" }

# line 7

Which of the following parameter should be added in line 7, so that this code will create another VPC with the same tag name and cidr_block?

multi_ok: disable

multi_ok: false

multi_ok: true

multi_ok: enable

Verified Answer
Correct Option - c

To get all Infosys Certified Associate in IaC using Ansible Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in