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?
A) 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.
B) 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.
C) 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/ . 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/ .
D) Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/. https://[API_NAME]/[API_VERSION]/.
Correct Answer:
Verified
Q6: You plan to make a simple HTML
Q7: Your company has a BigQuery dataset named
Q8: You have two tables in an ANSI-SQL
Q9: Your teammate has asked you to review
Q10: You want to upload files from an
Q12: You are building a new API. You
Q13: Your service adds text to images that
Q14: You are writing a single-page web application
Q15: You are load testing your server application.
Q16: You are deploying your application to a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents