Question 202:
You are hired as an AWS engineer. Your major responsibility is to migrate existing services to the AWS platform. The company’s on-premises main page is made of Node.js and PostgreSQL database. You just migrated the frontend and backend to an EC2 instance. Also, you created a PostgreSQL instance in RDS.
Answer options:
A.Check that if the hostname is the DB instance endpoint and the port number is correct. B.Check if the AWS SDK version is correct as there are issues for certain versions to communicate with RDS instances. C.Check if the RDS instance has configured enough read and write capacity. If not, the “Connection timed out” issue may appear. D.Check that the security group assigned to the DB instance has the necessary rules to allow access through the EC2 instance.