Question 1:
Your team is developing an application for a government project. For continuous deployment, you have built a CloudFormation stack to deploy EC2 instances. A third party software is installed in the instances and its license requires that the software should be bound to dedicated virtual machines. Whenever the CloudFormation stack is redeployed, the software should be installed in the same physical hosts. Which method would you select to achieve this requirement?
Answer options:
A.In the CloudFormation template, configure an AWS::EC2::Host resource to allocate a fully dedicated physical server when launching EC2 instances for the application. B.Allocate dedicated hosts for this application which allow you to reliably launch EC2 instances on the same physical servers. In the CloudFormation template, specify the allocated HostID and configure the tenancy type to be dedicated host. C.In the CloudFormation template, configure the EC2 instances to be dedicated instances for the single customer by specifying the tenancy value to be dedicated. D.Define a custom VPC and ensure that the instance tenancy attribute of the VPC is dedicated. Modify the CloudFormation template to launch EC2 instances from this VPC.