A SageMaker AI inference container must query a private database on TCP port 5432. Network isolation is disabled, and subnet routes and outbound rules permit access; which configuration provides the required network access?
Show the answer
Correct answerA. Configure the model's VpcConfig and allow its security group into the database.
AWhy this is right: VpcConfig provides container VPC connectivity; database ingress from the model security group permits the required connection.
BWhy not this: Production variants specify hosting resources and traffic allocation; model VpcConfig specifies VPC subnets.
CWhy not this: A Runtime interface endpoint handles application-to-SageMaker API traffic, not inference-container connections to a database.
DWhy not this: Permission to describe a database does not establish network connectivity or permit TCP traffic.
The model's VpcConfig supplies subnets and security groups for container network access, and the database must permit inbound traffic from that security group. A Runtime interface endpoint provides private API invocation, not container-to-database connectivity.