You as an administrator want to create and manage the security group through Ansible code. You need to pass the values to the parameters of the module ec2_group during run time without hard coding any input in the playbook. Hence, you describe the existing AWS services for gathering the information that are needed for creating a security group.

Which of the following module you need to refer/invoke prior invoking ec2_group module, so that you can pass the required inputs to ec2_group during run time?

(i) ec2_vpc_net_info

(ii) ec2_subnet_info

(iii) ec2_instance_info

Only (i) and (ii)

Only (i) and (iii)

Only (i)

All of the options

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