Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Design an Azure Virtual Desktop configuration for performance requirements

A worked example

Yes or no

Fabrikam is choosing the load-balancing method for a pooled host pool named HP2. The maximum session limit for HP2 is 10. The exhibit shows the state of HP2 when User5 connects. User5 has no existing session in HP2.

Session hostTotal sessions (active and disconnected)AllowNewConnections
SH13True
SH28True
SH35True
SH42True
SH59False
SH66True
SH74True

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
If HP2 uses depth-first load balancing, User5's session is placed on SH2.

Depth-first considers only hosts that allow new connections and are under the session limit. That excludes SH5. Among the remaining hosts, SH2 has the most sessions (8), so it is selected.

Correct
If HP2 uses breadth-first load balancing, User5's session is placed on SH4 rather than on SH1 or SH7.

Breadth-first does not simply pick the host with the fewest sessions. It picks at random from the half of eligible hosts with the fewest sessions. Here that half is SH4, SH1 and SH7.

Correct
If HP2 uses breadth-first load balancing, SH7 is one of the session hosts that can receive User5's session.

Six hosts allow new connections; SH5 is excluded. The three with the fewest sessions are SH4 (2), SH1 (3) and SH7 (4). SH7 is in that half, so it can be selected at random.

Correct
Why

Both methods first remove hosts that do not allow new connections, so SH5 is never a candidate despite its high session count. Depth-first then picks the remaining host with the most sessions that is under its limit, which is SH2. Breadth-first picks at random from the half of eligible hosts with the fewest sessions: SH4, SH1 and SH7. A new session can therefore land on any of those three, not only on SH4.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free