Data Protection

An Amazon RDS for PostgreSQL DB instance accepts both encrypted and unencrypted database connections. Which change makes the database reject unencrypted connections?

Show the answer

Correct answerC. Set rds.force_ssl to 1 in its DB parameter group.

AWhy not this: Private subnet placement does not require clients to negotiate TLS.

BWhy not this: Restricting connection sources does not require encryption from those sources.

CWhy this is right: The rds.force_ssl parameter makes RDS for PostgreSQL reject non-SSL connections.

DWhy not this: Encryption at rest protects stored data, not database connections.

Setting rds.force_ssl to 1 requires SSL/TLS for connections to RDS for PostgreSQL. Private subnets restrict network reachability but do not prevent reachable clients from attempting unencrypted database sessions.