Cloud Concepts, Architecture and Design

A cloud database subnet must accept connections only from the application subnet on one TCP port. Which control BEST enforces this?

Show the answer

Correct answerC. A network security group rule allowing that source and port

AWhy not this: Geofencing restricts by geographic location, not by source subnet or port.

BWhy not this: A web application firewall inspects HTTP requests, not subnet-to-subnet access on a database port.

CWhy this is right: A network security group rule filters by source subnet and port, with other traffic denied.

DWhy not this: Role-based access control governs database permissions, not which network sources can connect.

A network security group filters traffic by source, destination, protocol and port, so one allow rule with a default deny meets the requirement. A web application firewall inspects HTTP content and does not restrict subnet and port access.