
Answer-first summary for fast verification
Answer: Use the default Cloud NAT gateway to automatically scale to the required number of NAT IP addresses, and update the minimum number of ports per VM to 128., Configure the NAT gateway in manual allocation mode, allocate 4 NAT IP addresses, and update the minimum number of ports per VM to 128.
To ensure all 2000 VMs can simultaneously use 128 TCP connections each via Cloud NAT, the total required ports are 2000 * 128 = 256,000. Each NAT IP provides 64,512 ports. For manual allocation, 4 NAT IPs (4 * 64,512 = 258,048 ports) with 128 ports per VM meets the requirement (Option E). In auto-allocation mode, setting the minimum ports per VM to 128 forces Cloud NAT to automatically allocate 4 NAT IPs (Option D). Option A uses insufficient NAT IPs. Option B with two gateways and default ports (64 per VM) falls short. Option C’s default proxy (64 ports per VM) also fails. Thus, D and E are correct.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Your company has deployed 2000 VMs in a private subnet of your VPC in the us-east1 region. Each VM requires at least 128 concurrent TCP connections to a public repository for downloading software updates and packages over the internet. You must implement a Cloud NAT gateway to enable outbound NAT for these VMs while ensuring all 2000 VMs can simultaneously establish connections. Which two approaches achieve this? (Select two.)
A
Configure the NAT gateway in manual allocation mode, allocate 2 NAT IP addresses, and update the minimum number of ports per VM to 256.
B
Create a second Cloud NAT gateway with the default minimum number of ports configured per VM to 64.
C
Use the default Cloud NAT gateway's NAT proxy to dynamically scale using a single NAT IP address.
D
Use the default Cloud NAT gateway to automatically scale to the required number of NAT IP addresses, and update the minimum number of ports per VM to 128.
E
Configure the NAT gateway in manual allocation mode, allocate 4 NAT IP addresses, and update the minimum number of ports per VM to 128.