When users try to u...
 
Notifications
Clear all

When users try to utilize the application hosted in the AWS account, they are presented with a generic error message. The application servers are logging a “could not connect to server:

1 Posts
1 Users
0 Likes
71 Views
Tuan
 Tuan
(@shippertuan)
Noble Member
Joined: 7 months ago
Posts: 366
Topic starter  

A company has deployed an e-commerce web application in a new AWS account. An Amazon RDS for MySQL Multi-AZ DB instance is part of this deployment with a database-1.xxxxxxxxxxxx.us-east-1.rds.amazonaws.com endpoint listening on port 3306. The company’s Database Specialist is able to log in to MySQL and run queries from the bastion host using these details.

When users try to utilize the application hosted in the AWS account, they are presented with a generic error message. The application servers are logging a “could not connect to server: Connection times out” error message to Amazon CloudWatch Logs.

What is the cause of this error?

  • A . The user name and password the application is using are incorrect.
  • B . The security group assigned to the application servers does not have the necessary rules to allow inbound connections from the DB instance.
  • C . The security group assigned to the DB instance does not have the necessary rules to allow inbound connections from the application servers.
  • D . The user name and password are correct, but the user is not authorized to use the DB instance.

Show Answer Hide Answer

Suggested Answer: C

Explanation:

Reference: https://forums.aws.amazon.com/thread.jspa?threadID=129700

   
Quote
Share: