
Answer-first summary for fast verification
Answer: Create a target pool, add all backend instances to this target pool, and deploy the target pool behind your load balancer.
The question involves migrating heterogeneous backend servers to GCP using a lift-and-shift approach with a network load balancer. A Network Load Balancer in GCP uses target pools to distribute traffic. Managed instance groups (MIGs) require homogeneous instances, which is not feasible here due to differing configurations (eliminating option A). Option B correctly uses a target pool to group individual VMs directly, accommodating their differences. Option C suggests a third-party appliance, which is discouraged as the requirement is to use GCP-native solutions. Option D's ECMP relies on routing, not native load balancing, and isn't suitable for this scenario. Thus, the correct answer is B.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How should you deploy backend servers with varying libraries and configurations in GCP using a lift-and-shift migration approach, fronted by a single network load balancer, while prioritizing GCP-native solutions?
A
Create a managed instance group from one of the images of the on-premises servers, and link this instance group to a target pool behind your load balancer.
B
Create a target pool, add all backend instances to this target pool, and deploy the target pool behind your load balancer.
C
Deploy a third-party virtual appliance as frontend to these servers that will accommodate the significant differences between these backend servers.
D
Use GCP's ECMP capability to load-balance traffic to the backend servers by installing multiple equal-priority static routes to the backend servers.
No comments yet.