Question 130
An organization wants stable outbound IP allowlisting but proposes using individual VM public IPs in a rotating scale set. Which deployment step best addresses the observed Azure network behavior?
Explanation
Correct Answer
Use subnet-attached NAT Gateway with approved static public IPs or a public prefix. This choice directly addresses the stated failure because shared subnet egress SNAT decouples outbound identity from ephemeral VM instances. Verify with this concrete result: Two replacement scale-set instances use the expected approved public egress IP. To prevent recurrence: Audit NAT associations and allowlists during scale-set migrations.
Incorrect Answers
Azure NAT Gateway is an outbound connectivity service, not a generic inbound listener. Here, shared subnet egress SNAT decouples outbound identity from ephemeral VM instances.
Gateway transit is explicitly configured; basic peering does not automatically share a gateway. Here, shared subnet egress SNAT decouples outbound identity from ephemeral VM instances.
Default Azure Internet egress differs from sending traffic through hybrid inspection. Here, shared subnet egress SNAT decouples outbound identity from ephemeral VM instances.