Question 17:
An agile team just starts using AWS, and the team leader wants them to move the legacy Java-based software to the AWS platform in 2 weeks. The requirement is that the new environment must be highly available, and the infrastructure is managed as code and version controlled. Besides, the team has good experiences of Chef, so they want to use that knowledge during the migration. Which actions should the team perform to meet the needs? Select 2.
Answer options:
A.Use several CloudFormation templates to build up infrastructure such as VPC, NAT Gateway, Bastion, and Route53. Version control it using CodeCommit. B.As CloudFormation does not support the OpsWorks service, use Chef in EC2 to build up the web services. Existing cookbooks can be used. Add an auto-scaling group with a proper auto-scaling configuration to ensure high availability. C.AWS infrastructure such as VPC, NAT Gateway, Bastion host, Security Groups, and EC2 instances are created using CloudFormation templates. Version control it using GitHub. D.Use a nested CloudFormation template to create an OpsWorks stack. The resource type is “AWS::OpsWorks::Stack”. Add a Java layer in the stack. Make sure that the Scaling configuration is turned on. E.Use OpsWorks to build up the Java web services. Existing cookbooks can be used. However, OpsWorks cannot be put into the CloudFormation template as CloudFormation does not support it.