A DBA runs the above AWS CLI command. The DB instance is an Amazon RDS for MySQL instance. The DBA needs to connect to the database from an EC2 instance in the same VPC but cannot connect. Which action should be taken first?
Security group inbound rules control access to the DB instance.
Why this answer
Option D is correct because the VPC security group (sg-0123456789abcdef0) must allow inbound traffic on port 3306 (MySQL) from the EC2 instance's security group. Option A is wrong because the endpoint is correct. Option B is wrong because the instance is available.
Option C is wrong because encryption does not affect connectivity.