1 / 1010%
Question 1 of 10
You're migrating an existing application to the AWS cloud. The application will be primarily using EC2 instances. This application needs to be built with the highest availability architecture available. The application currently relies on hardcoded hostnames for intercommunication between the three tiers. You've migrated the application and configured the multi-tiers using the internal Elastic Load Balancer for serving the traffic. The load balancer hostname is example-app.us-east-1.elb.amazonaws.com. The current hard-coded hostname in your application used to communicate between your multi-tier application is applayer.example.com. What is the best method for architecting this setup to have as much high availability as possible? Choose the correct answer:
ACreate a public resource record set using Route 53 with a hostname of applayer.example.com and an alias record to example-app.us-east-1.elb.amazonaws.com
BCreate a private resource record set using Route 53 with a hostname of applayer.example.com and an alias record to example-app.us-east-1.elb.amazonaws.com
CAdd a cname record to the existing on-premise DNS server with a value of example-app.us-east-1.elb.amazonaws.com. Create a public resource record set using Route 53 with a hostname of applayer.example.com and an alias record to example-app.us-east-1.elb.amazonaws.com.
DCreate an environment variable passed to the EC2 instances using user-data with the ELB hostname, example-app.us-east-1.elb.amazonaws.com.