Question 62:
You have a web application that’s developed in Node.js. The code is hosted in the Git repository. You want to deploy this application to AWS. Which of the below 2 options can fulfill this requirement?
Answer options:
A.Create an Elastic Beanstalk application. Create a Docker file to install Node.js. Get the code from Git. Use the command "aws git.push" to deploy the application. B.Create an AWS CloudFormation template that creates an instance with the AWS::EC2::Container resources type. With UserData, install Git to download the Node.js application and then set it up. C.Create a Dockerfile to install Node.js. and get the code from Git. Create a Docker image with the Dockerfile and push the image to ECR. Perform the deployment on a new AWS Elastic Beanstalk application. D.Create an AWS CloudFormation template that creates an Auto Scaling group. In UserData, get the Node.js application and start the application.