When creating an OCI Functions application for a permits webhook, which documented subnet pairing applies?
Select an answer to reveal the explanation.
Short Explanation
Public lane needs an internet gateway; private lane needs a service gateway so the function can still reach OCI services like the registry without a public IP. That pairing is how the function attaches—not a full VCN redesign homework.
Full Explanation
When you create an application you name one to three subnets where executions run. A public subnet needs an internet gateway in the VCN; a private subnet needs a service gateway so the execution can reach OCI services—including the registry—without a public IP. This is function attachment guidance for developers, not a prompt to design hub-spoke or DR topologies.