AIP-C01 practice question: Isolating GenAI workloads (VPC endpoints, IAM, Lake Formation) (1 of 2)
AI Safety, Security, and Governance A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A logistics startup runs a dispatch assistant in private subnets of its VPC. The subnets have no internet gateway and no NAT gateway, and the company's compliance rules forbid workload traffic from crossing the public internet.
The assistant calls a model on Amazon Bedrock to draft route summaries, and the security team wants those API calls to stay on the AWS network. Only the application's IAM role should be able to call Bedrock, and the model code cannot change.
The team needs a design that keeps Bedrock calls on private networking, adds the least cost, and exposes no public endpoint.
Which solution meets these requirements?
Choose one answer.
AA. Attach a NAT gateway in a public subnet, and restrict the application's security group to the published Bedrock IP address ranges, so that only Bedrock traffic leaves the VPC.
BB. Create an interface VPC endpoint for the Bedrock runtime API in the private subnets with private DNS enabled, and allow HTTPS to it from the application's security group.
CC. Connect the VPC to the corporate data center with a site-to-site VPN, and send the Bedrock calls through the data center's internet connection to the public Bedrock endpoint.
DD. Move the dispatch assistant into a public subnet with an internet gateway, and rely on TLS encryption and an API key to protect the Bedrock calls while they are in transit.
Show the answer and explanation
Answer: B
A. Wrong: A NAT gateway still sends the calls over the public internet, which the compliance rule forbids, and the published IP ranges change over time. The design also adds an hourly and per-gigabyte NAT charge.
C. Wrong: The VPN adds hardware, routing and recurring cost, and the calls still reach the public Bedrock endpoint over the internet. It meets none of the stated requirements and adds another path to maintain.
D. Wrong: TLS encrypts the traffic, but the calls still cross the public internet, and the rule covers the network path as well as the content. A public subnet also exposes the workload to inbound traffic the team does not need.
Explanation
An interface VPC endpoint powered by AWS PrivateLink gives the private subnets a private path to Bedrock, so no traffic crosses the internet and no gateway or public IP is needed. NAT, VPN and public subnet designs all send the calls over the public internet, which the compliance rule forbids.
With private DNS, the Bedrock runtime name resolves to the endpoint, and the security group only needs to allow HTTPS to it.
Want more on Isolating GenAI workloads (VPC endpoints, IAM, Lake Formation)? The 5 full-length practice sets have 6 more Isolating GenAI workloads (VPC endpoints, IAM, Lake Formation) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →