Topic 1 Question 282
You have a VM instance running in a VPC with single-stack subnets. You need to ensure that the VM instance has a fixed IP address so that other services hosted in the same VPC can communicate with the VM. You want to follow Google-recommended practices while minimizing cost. What should you do?
Promote the existing IP address of the VM to become a static external IP address.
Promote the existing IP address of the VM to become a static internal IP address.
Reserve a new static external IPv6 address and assign the new IP address to the VM.
Reserve a new static external IP address and assign the new IP address to the VM.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
B is the correct answer.
👍 1Ciupaz2024/12/05 - 正解だと思う選択肢: B
A. Promote the existing IP address of the VM to become a static external IP address.-> Incorrect you do not need an external IP because all the devices are within the same natework. B. Promote the existing IP address of the VM to become a static internal IP address.-> Correct Internal Static IP allows communication with all the devices within the same VPC while maintaining the same IP. C. Reserve a new static external IPv6 address and assign the new IP address to the VM.-> Incorrect. You do not need to define IPv6 IP D. Reserve a new static external IP address and assign the new IP address to the VM -> Incorrect you do not need an external IP
👍 126b39bb2024/12/07 - 正解だと思う選択肢: B
Fixed IP Address for Communication Within the Same VPC:
Since the services need to communicate within the same VPC and you want a fixed IP address, the best practice is to use a static internal IP address. This ensures that the VM will always have the same internal IP, which can be used for communication between services within the same VPC. To minimize cost while ensuring that the VM instance has a fixed IP for internal communication within the VPC, promote the existing internal IP address to be static. This follows Google-recommended practices and ensures cost-effectiveness.
👍 1sahuprashant1232024/12/10
シャッフルモード