Operating, Monitoring, and Securing ML and AI Solutions

What distinguishes a private subnet from a public subnet in an ML workload's VPC?

Show the answer

Correct answerD. Its route table has no direct route to an internet gateway.

AWhy not this: Network ACLs filter subnet traffic; blocking inbound traffic does not remove an internet gateway route.

BWhy not this: Security groups filter interface traffic; they do not define whether a subnet is public or private.

CWhy not this: Instance profiles provide AWS permissions and do not determine subnet routing.

DWhy this is right: The absence of a direct internet gateway route distinguishes a private subnet from a public subnet.

A private subnet has no direct route to an internet gateway. Security groups and network ACLs filter traffic, but their rules do not determine whether a subnet is public or private.