Question 424:
Your company deploys an internal application in an Elastic Beanstalk environment which is created in a private VPC and has no access to the internet. The application is used for monitoring and logging, and other VPC applications need to send requests to the internal application. For security purposes, the traffic to the Elastic Beanstalk service should stay inside the Amazon network without exposure to the internet. How would you achieve this requirement?
Answer options:
A.Create a NAT Gateway in the public subnet. Modify the route table to connect other applications and the Elastic Beanstalk service through the NAT Gateway. B.Configure an interface VPC endpoint for the Elastic Beanstalk service. Requests are sent to Elastic Beanstalk through AWS PrivateLink. C.Disable DNS name in the Elastic Beanstalk environment to disallow the connections through the public endpoint of Elastic Beanstalk. D.Nothing needs to be done as Elastic Beanstalk provides the private DNS “com.amazonaws.region.elasticbeanstalk” by default.