Operating, Monitoring, and Securing ML and AI Solutions
Application instances must access a SageMaker AI Runtime interface endpoint over HTTPS, while other instances in the same subnet must be blocked. Which inbound rule should the endpoint's security group use?
Show the answer
Correct answerD. Allow TCP port 443 from the application's security group.
AWhy not this: A VPC CIDR permits a broader set of sources than the application requires.
BWhy not this: Referencing the endpoint's own group does not permit application instances using a different group.
CWhy not this: A subnet CIDR permits other instances in that subnet, not just the application.
DWhy this is right: A source security group reference permits traffic from application interfaces associated with that group.
Referencing the application's security group restricts endpoint access to network interfaces associated with that group. A subnet CIDR also admits other instances in the subnet, violating the isolation requirement.