Skip to main content

Associate Cloud Engineer practice question · Configuring access and security

VMs inside a VPC Service Controls perimeter use Private Google Access to reach Google APIs.

VMs inside a VPC Service Controls perimeter use Private Google Access to reach Google APIs. The team is choosing between restricted.googleapis.com and private.googleapis.com for DNS resolution of the API endpoints. What is the key difference between the two?

  • Arestricted.googleapis.com serves only APIs supported by VPC Service Controls; private.googleapis.com also serves unsupported APIs
  • Bprivate.googleapis.com serves only APIs supported by VPC Service Controls; restricted.googleapis.com also serves unsupported APIs
  • Crestricted.googleapis.com can be used only from on-premises hosts; private.googleapis.com only from VMs in the VPC
  • Drestricted.googleapis.com applies perimeter rules to API calls; private.googleapis.com bypasses all perimeter checks
Show the answer and explanation

Correct answer: A) restricted.googleapis.com serves only APIs supported by VPC Service Controls; private.googleapis.com also serves unsupported APIs

restricted.googleapis.com serves only APIs supported by VPC Service Controls, which helps prevent exfiltration through unprotected services. private.googleapis.com reaches most Google APIs, including unsupported ones.

Why each option is right or wrong

  • A) Correct. The restricted VIP denies access to Google APIs and services that VPC Service Controls doesn't support, which helps prevent exfiltration through unprotected services. The private VIP allows access to most Google APIs, including ones VPC Service Controls doesn't support.
  • B) Incorrect. This reverses the two. The restricted VIP is the one limited to services that VPC Service Controls supports.
  • C) Incorrect. Both VIPs can be used from VMs in the VPC and from on-premises hosts connected through Cloud VPN or Cloud Interconnect. The difference is which APIs each one serves, not where clients are located.
  • D) Incorrect. Using the private VIP does not bypass the perimeter: requests to protected services are still checked by VPC Service Controls. The difference is that the private VIP does not block access to unsupported services.
Exam domain
Configuring access and security · ~20% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.