skip to content

Your guests run on a provider's virtualisation cluster whose virtual switch you cannot filter at — where do you enforce against a guest-to-guest pivot, and what does it cost?

level: seniorimportance: should knowfreq 47%

answer

  1. list what you actually own first
  2. the best position belongs to somebody else
  3. count on the far end only
  4. make the traffic cross something you control
  5. the residual needs a named owner

basics

~20 s

With the hypervisor owned by the provider, three moves remain: mutual deny-by-default agents in every guest, a per-guest filter the provider operates, or placing workloads so the pivot must cross a path you control. Each costs money, latency or a change process.

solid answer

~50 s

Start by naming what you own: the guest, and nothing below it. So the options are agents inside the guests, a filter the provider operates for you, or moving the traffic onto a path you already control. Mutual deny-by-default agents are cheapest and give process-level policy, but the near end is administered by whoever owns that guest, so the guarantee really comes from the far end. A per-guest filter on the provider's virtual switch sits outside the intruder's reach and stops same-host pivots, but it is their change ticket and their failure mode, and it can never name a process. Separating the workloads forces the flow onto a path you own, and costs capacity, bandwidth, latency and standing placement rules. Then write the residual: any pair you cannot separate or filter below the guest is enforced only by controls an intruder with local privilege can disable.

go deeper

for a junior

Know that in shared tenancy you rent the guest and the provider owns the hypervisor, so the filtering options available to you are the ones inside your guests or the ones the provider chooses to expose.

for a middle

Explain why a guest-to-guest pivot on one host bypasses everything on the physical network, and what a per-guest filter in the provider's virtual switch adds that an in-guest agent cannot.

for a senior

Rank the positions against a specific intrusion and quote a cost for each: agent fleet and CPU, provider change process and coarse policy, or fragmented capacity and added latency from separating the workloads.

for a principal

Own the written residual — who accepts that same-host lateral movement is enforced only by disableable controls, what would change the answer, and whether the exposure justifies paying for dedicated tenancy.

## The constraint that makes this a real question On a managed provider's virtualisation cluster you rent guests. The provider owns the hypervisor, the virtual switch and the physical fabric. The layer with the best position for guest-to-guest enforcement is therefore not yours, and no amount of design inside the guest can move it. The interviewer wants to see you enumerate the remaining positions honestly, rank them against a specific intrusion, and quote a price for each rather than reaching for a favourite answer. ## The intrusion to rank against Be concrete: an intruder holds local administrative privilege in one guest and wants the neighbour — a database, a build host, a management VM — that happens to be scheduled on the same hypervisor. The flow will be switched in software inside the host. Nothing you operate on the physical network is in its path. ## Option 1 — mutual deny-by-default agents Put a firewall agent in every guest and write policy from both directions: the sender may only reach declared destinations, and the receiver only accepts declared sources. - **Buys:** process- and user-level policy; works regardless of where the provider schedules the guest; nothing to negotiate with the provider. - **Costs:** a fleet to install, keep running and keep in policy; CPU inside every guest; and the honest limitation that the agent in the *compromised* guest is administered by the intruder. The enforcement you can actually count on is the receiver's, so the policy has to be written so that the far end alone is sufficient. ## Option 2 — ask the provider for a per-guest filter Many providers expose a per-guest filter enforced in their virtual switch. - **Buys:** an enforcement point outside the guest's operating system, so an intruder with root in the guest cannot disable it; it covers same-host guest-to-guest traffic, which is exactly the gap. - **Costs:** it enforces on addresses and ports, never on a process or a user, so "the reporting service may reach the database" degrades to "this address may reach that address on this port". Change velocity becomes theirs: a rule change is a ticket or an API call against their control plane, with their availability and their maintenance windows. You also inherit their failure behaviour, which you did not choose. ## Option 3 — move the traffic onto a path you own If the flow must cross a boundary you operate, all your existing controls apply again. Split the workloads across hosts with anti-affinity, into separate segments, or into separate tenancies or accounts. - **Buys:** the pivot now traverses a firewall you configure, log and can prove denies. - **Costs:** capacity is fragmented and less efficiently packed; cross-host traffic consumes fabric bandwidth and adds latency to a path that used to be a memory copy; and placement rules are a standing operational obligation — the day someone relaxes anti-affinity to fit a maintenance window, the assumption silently dies. ## Option 4 — compensate rather than filter Where reachability cannot be removed, make reachability insufficient: require authenticated, mutually verified connections between the two workloads so a pivot needs a credential rather than a route. This is a compensating control, not a chokepoint; it changes what the intruder must steal, and it produces no deny you can point at. ## Writing the residual, which is the part candidates skip Whatever you choose, one sentence has to end up somewhere a risk owner reads it. Something like: *guest-to-guest traffic between workloads co-resident on a provider-operated hypervisor is enforced only by agents inside the guests; an intruder holding local privilege in either guest can disable the near-side agent, and no control we operate is in the path.* Attach who accepted it, what would change the answer (provider feature, dedicated tenancy, workload separation), and when it is reviewed. An architect who ranks the options and states the residual is doing the job; one who says "we use microsegmentation" and stops has not answered the question. ## How to structure the spoken answer Name what you own, name the three positions, rank them against the specific pivot, quote one real cost for each, then state the residual and its owner. Roughly ninety seconds, and it demonstrates the thing the leaf exists to test: choosing a chokepoint is choosing which blind spot you are prepared to live with.

  • The provider offers a per-guest filter. Why not simply use it and skip the in-guest agents?
    Because it enforces on addresses and ports only. It cannot express that one particular service may open the connection while nothing else on the guest may, and it cannot tell you which process tried. It is the stronger position and the coarser policy, so the usual answer is both, with different jobs.
  • How do you actually prove the pivot is denied rather than assume it?
    Generate the connection from one guest to the other with the same protocol and port and confirm a deny is recorded at the enforcing point, then repeat it after any placement or policy change. A test from a third network proves nothing about the same-host path, because that path is the one nothing you own can see.
  • Anti-affinity keeps the two workloads on different hosts. Is the problem solved?
    Only while it holds. Placement rules are relaxed for maintenance, capacity crunches and migrations, and nothing alerts your firewall team when it happens. Treat separation as a control with an owner and a check, not as a permanent property of the design.

saying these in an interview costs you the question

  • Assuming you can enable filtering on a hypervisor the provider operates
  • Answering 'microsegmentation' without saying which vantage enforces it
  • Counting the compromised guest's own agent as enforcement
  • Ignoring that a provider-side filter cannot name a process or user
  • Treating anti-affinity as permanent rather than as a control that can lapse
  • Leaving the residual unwritten and unowned

context