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)
Related Associate Cloud Engineer questions
- A team running GKE needs to let a developer group create and edit Deployments only in the payments namespace of one…Configuring access and security
- A GKE cluster has Google Groups for RBAC enabled, and the team's Google Group is nested in the gke-security-groups…Configuring access and security
- Applications in three VPC networks, each owned by a different team in a different project, must connect to one Cloud SQL…Configuring access and security
- A media company serves premium videos through Cloud CDN using signed URLs with a 7-day expiration.Configuring access and security
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
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.