PROFESSIONAL-CLOUD-DEVELOPER · Question #78
PROFESSIONAL-CLOUD-DEVELOPER Question #78: Real Exam Question with Answer & Explanation
The correct answer is C: Ensure that clients use Compute Engine internal DNS by connecting to the instance name with. 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/doc
Question
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked 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?
Options
- AReserve a static external IP address and assign it to an HTTP(S) load balancing service's
- BReserve a static external IP address and assign it to an HTTP(S) load balancing service's
- CEnsure that clients use Compute Engine internal DNS by connecting to the instance name with
- DEnsure that clients use Compute Engine internal DNS by connecting to the instance name with
Explanation
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
Topics
Community Discussion
No community discussion yet for this question.