A city's parking-citation function runs with no guest network interface. It should read one queue and call one mail service, but it uses the cloud account's admin role. Which design segments it?
Select an answer to reveal the explanation.
Short Explanation
This function has no network card of its own, so you segment it by the badge it wears. You give it an identity that can read only the citation queue and call only the mail service. A virtual-machine security group, a perimeter rule, or the account admin role does not create that limit.
Full Explanation
The function has no guest interface, and its calls to the queue and the mail service are authorized by its role. Replacing the account admin role with a function identity that can only read that queue and call that mail service is the segmentation. A virtual-machine group has nothing to attach to, a perimeter rule misses the provider-side calls, and the admin role keeps the excess access. A function identity allowed only to read that queue and to call the approved mail service is the design that meets this requirement. A virtual-machine security group on a guest interface this function does not have is the wrong fit because there is no guest interface on this function where a virtual-machine security group could be attached. A perimeter firewall rule for provider-internal calls that do not cross that perimeter is the wrong fit because provider-side calls from the function do not pass the city's perimeter firewall, so that rule never matches them. The cloud account admin role left in place so later features need no further permission change is the wrong fit because the admin role is the over-broad access the function already has, and keeping it does not segment the queue or the mail call. Exam caveat: If the function is later attached to a virtual network, keep the narrow role, since a security group there would not justify restoring the account admin role. Operational check: Invoke the function and confirm it reads the test queue and sends the test message, then confirm a call to any other cloud API is denied for that identity.