Topic 1 Question 85
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that must be invoked only by multiple clients within the same Virtual Private Cloud (VPC). You want clients to be able to get the IP address of the service. What should you do?
Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Clients should use this IP address to connect to the service.
Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal/.
Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Then, define an A record in Cloud DNS. Clients should use the name of the A record to connect to the service.
Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: B
Letter B.
Explain:
in the question said "must be invoked only by multiple clients within the same VPC", A and C exclude because mention external IP. Letter D exclude because url https://[API_NAME]/[API_VERSION]/ to internal DNS no make sense.
Letter B is correct (https://cloud.google.com/compute/docs/internal-dns)
👍 4ccieman20162022/12/01 - 正解だと思う選択肢: B
answer is b "Virtual Private Cloud networks on Google Cloud have an internal DNS service that lets instances in the same network access each other by using internal DNS names" This name can be used for access: [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal https://cloud.google.com/compute/docs/internal-dns#access_by_internal_DNS
👍 2nosense2022/12/01 - 正解だと思う選択肢: B
B it is
👍 1playpacman2022/12/01
シャッフルモード