
Answer-first summary for fast verification
Answer: Set up an External Network load balancer in front of the application servers.
**A is incorrect** because the SSL proxy load balancer does not support UDP. Setting up an SSL Proxy load balancer is typically used for handling secure HTTPS traffic, not UDP packets. It would not be suitable for the game‘s UDP packet updates. **B is correct** because External Network Load Balancer exposes the traffic to the internet and it supports UDP. Setting up an External Network load balancer allows for load balancing of UDP traffic and can provide a single IP address for external access to the backend servers. **C is incorrect** because HTTP(s) load balancer is for TCP and not UDP. Setting up an External HTTP(s) load balancer is used for distributing HTTP/HTTPS traffic. It would not be suitable for handling UDP packets sent by the game. **D is incorrect** because the application needs public internet exposure which is not provided by the internal load balancer. Setting up an Internal UDP load balancer is used for distributing UDP traffic within a private network. It would not be suitable for exposing the backend with a single IP address to external users. Links: [https://cloud.google.com/load-balancing/docs/network](https://cloud.google.com/load-balancing/docs/network)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your latest Multiplayer Online Shooting Game for Mobile is hosted on Google Cloud. The game updates the server of the user’s actions by sending UDP packets from the users Mobile phone while the users are playing in multiplayer mode. You have designed the backend such that it can scale horizontally by increasing or decreasing the number of VMs. You need to expose the backend by using a single IP address. What should you do?
A
Set up an External HTTP(s) load balancer in front of the application servers.
B
Set up an External Network load balancer in front of the application servers.
C
Set up an SSL Proxy load balancer in front of the application servers.
D
Set up an Internal UDP load balancer in front of the application servers.
No comments yet.