SOA-C02 · Question #145
A new application runs on Amazon EC2 instances and accesses data in an Amazon RDS database instance. When fully deployed in production, the application fails. The database can be queried from a…
The correct answer is C. The security group for the database does not have the appropriate ingress rule from the web D. The port used by the application developer does not match the port specified in the RDS. Database can be queried from Bastion, so E is out. Security groups are stateful, so you don't have to bother with the egress rules in this situation, as long as you have the proper ingress rule.
Question
A new application runs on Amazon EC2 instances and accesses data in an Amazon RDS database instance. When fully deployed in production, the application fails. The database can be queried from a console on a bastion host. When looking at the web server logs, the following error is repeated multiple times:
"** Error Establishing a Database Connection Which of the following may be causes of the connectivity problems? (Choose two.)
Options
- AThe security group for the database does not have the appropriate egress rule from the
- BThe certificate used by the web server is not trusted by the RDS instance.
- CThe security group for the database does not have the appropriate ingress rule from the web
- DThe port used by the application developer does not match the port specified in the RDS
- EThe database is still being created and is not available for connectivity.
How the community answered
(66 responses)- A14% (9)
- B8% (5)
- C76% (50)
- E3% (2)
Explanation
Database can be queried from Bastion, so E is out. Security groups are stateful, so you don't have to bother with the egress rules in this situation, as long as you have the proper ingress rule.
Topics
Community Discussion
No community discussion yet for this question.