Courseiva
Implementing a Virtual Private CloudhardMultiple ChoiceObjective-mapped

PCNE Implementing a Virtual Private Cloud Practice Question

Two organizations have their own GCP projects with VPCs that are peered. They want to allow a service in VPC-A to be consumed by VPC-B using Private Service Connect. What configuration is required in VPC-A?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create a Private Service Connect service attachment and publish the service.

The producer (VPC-A) must create a Private Service Connect service attachment that publishes the service. This attachment is associated with a load balancer or a service. Option A is incorrect because the endpoint is created in the consumer VPC (VPC-B). Option B is incorrect because VPC peering is not used with Private Service Connect (the services can be across organizations without peering). Option D is incorrect because Private Google Access is unrelated to publishing services.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a Private Service Connect endpoint in VPC-A.

    Why it's wrong here

    Endpoints are created in the consumer VPC, not the producer.

  • Enable Private Google Access on the subnet where the service resides.

    Why it's wrong here

    Private Google Access is for accessing Google APIs, not for publishing services.

  • Create a Private Service Connect service attachment and publish the service.

    Why this is correct

    The producer publishes the service via a service attachment.

  • Create a VPC peering connection with VPC-B.

    Why it's wrong here

    Private Service Connect does not require VPC peering.

About these practice questions

This PCNE question is part of Courseiva's 961-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.