You are creating an EC2 instance through Ansible code as part of automating infrastructure management. You are supposed to pass all the inputs that are required for the “ec2” module during run time.

Which of the following modules you need to describe before invoking “ec2” module?

(i) ec2_vpc_net_info

(ii) ec2_vpc_subnet_info

(iii) ec2_ami_info

(iv) ec2_group_info

Only (i) and (ii)

Only (i), (ii) and (iii)

Only (ii) and (iv)

All of the options

Verified Answer
Correct Option - d

To get all Infosys Certified Associate in IaC using Ansible Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram