Review
Now, let's practice a few exam-style questions:
- You are advising a large financial company on the best strategy to migrate its on-premises MySQL database, application, and web servers. RDS MySQL is being considered as the target database engine. Access to the database should be limited to only the application servers and a bastion host.
Which solution meets these security requirements?
- Provision the RDS MySQL database in a private subnet. Modify the
login.cnf
file on the RDS host to allow connections from only the application servers and bastion host. - Provision the RDS MySQL database in a public subnet. Create a new security group with inbound rules to allow connections from only the security groups of the application servers and bastion host. Attach the new security group to the DB instance.
- Provision the RDS MySQL database in a private subnet. Create a new security group with inbound rules to allow connections from only the security groups...