Configuring Encrypted Private Connectivity Between Separate Organizations
Short answer
B Configure a VPC peering connection between your organization's VPC network and the third party's that is controlled by VPC firewall rules.
Question
will consume the application also run on Compute Engine in a separate Google Cloud organization. You need to configure a secure network connection between
the Compute Engine instances. You have the following requirements:
✑ The network connection must be encrypted.
✑ The communication between servers must be over private IP addresses.
What should you do?
Key Takeaways
The main trap is confusing VPC Peering with Cloud VPN; while VPN encrypts, it often relies on public internet transit, whereas VPC Peering provides direct, encrypted private IP connectivity on Google's backbone.
To connect Compute Engine instances across separate organizations with encryption and private IPs, configure VPC peering, which utilizes Google's encrypted backbone.
Common mistake: Choosing Cloud VPN (A) because it explicitly mentions encryption, ignoring that VPC Peering also provides encryption on Google's backbone while better satisfying the private IP constraint for inter-VPC traffic.
Expert Analysis
The scenario requires establishing a secure network connection between Compute Engine instances in separate Google Cloud organizations. The two mandatory constraints are that the connection must be encrypted and use private IP addresses.
Option A (Cloud VPN) creates an encrypted tunnel over the public internet. While it encrypts traffic, the underlying transport typically involves public IP routing between gateways, which conflicts with the strict requirement for communication solely over private IPs within a managed backbone context, although hybrid scenarios exist, VPC Peering is the native solution for inter-VPC private connectivity.
Option B (VPC Peering) connects two VPC networks directly. Google’s documentation confirms that all VM-to-VM traffic within peered VPC networks is automatically encrypted on Google’s internal backbone. This satisfies both requirements: encryption (via Google’s infrastructure) and private IP communication (via direct internal routing). Since the entities are in different organizations, global VPC peering is the correct mechanism.
Option C (VPC Service Controls) defines security perimeters to prevent data exfiltration but does not itself establish the network connectivity path between the two VPCs. It controls access to services, not the transport layer itself.
Option D (Apigee) exposes APIs over HTTP/HTTPS, which uses TLS encryption, but this requires exposing the service via an API gateway rather than establishing a direct network connection between the instances as requested. Additionally, it abstracts the network layer, moving away from the "network connection" requirement.
Official Reference
https://cloud.google.com/vpc/docs/vpc-peering
This link opens the official vendor documentation in a new tab.
Exam Strategy
When asked for a network connection between VPCs that must be private and encrypted, prioritize VPC Peering or Private Service Connect over Cloud VPN. Remember that Google encrypts all internal traffic (including peered VPCs) by default on its backbone, so you do not need to manually configure IPsec tunnels for encryption if using native GCP networking products.
Frequently Asked Questions
Does VPC Peering encrypt traffic?
Can I use VPC Peering between different organizations?
Community Votes
60% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 24 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 24
-
GHOST1985 👍 4 Answered BGoogle encrypts and authenticates data in transit at one or more network layers when data moves outside physical boundaries not controlled by Google or on behalf of Google. All VM-to-VM traffic within a VPC network and peered VPC networks is encrypted. https://cloud.google.com/docs/security/encryption-in-transit#cio-level_summary
-
desertlotus1211 👍 4https://cloud.google.com/docs/security/encryption-in-transit#:~:text=All%20VM%2Dto%2DVM%20traffic,End%20(GFE)%20using%20TLS. All VM-to-VM traffic within a VPC network and peered VPC networks is encrypted. So for this fact and what I written below - Answer B.
-
BPzen 👍 3 Answered AEncrypted Network Connection: A Cloud VPN connection encrypts traffic between the two VPC networks using IPsec. This satisfies the requirement for encryption. Private IP Communication: Cloud VPN enables communication between the two VPC networks over private IP addresses by establishing a secure tunnel. Control via Firewall Rules: Both organizations can manage traffic using VPC firewall rules, providing granular control over allowed communication. Why Not the Other Options? B. Configure a VPC peering connection between your organization's VPC network and the third party's that is controlled by VPC firewall rules: VPC peering does not encrypt traffic between networks. It does not satisfy the requirement for encryption.
-
soltium 👍 3A and B is correct, Cloud VPN are encrypted, VPC Peering might be unencrypted but this docs said it's encrypted. https://cloud.google.com/docs/security/encryption-in-transit#virtual_machine_to_virtual_machine
-
Littleivy 👍 3 Answered BB VPC Network Peering gives you several advantages over using external IP addresses or VPNs to connect networks https://cloud.google.com/vpc/docs/vpc-peering
Show 19 more comments
-
Kouuupobol 👍 3 Answered AAnswer is A, because it is explicitly said that trafic must be encrypted. Moreover, communication within the VPN use private IPs.
-
TonytheTiger 👍 3B: https://cloud.google.com/vpc/docs/vpc-peering
-
deony 👍 2i don't think that Cloud VPN use public IP, but encrypted. ref: https://cloud.google.com/network-connectivity/docs/vpn/concepts/overview > Traffic traveling between the two networks is encrypted by one VPN gateway and then decrypted by the other VPN gateway. This action protects your data as it travels over the internet. but, with cloud interconnect, Cloud VPN can use private IP. i think it's too heavy works using VPN with cloud interconnect instead of using VPC peering.
-
AzureDP900 👍 2B. Configure a VPC peering connection between your organization's VPC network and the third party's that is controlled by VPC firewall rules.
-
ppandher 👍 2It is encrypted by default at Network layer.
-
alleinallein 👍 2Why not A? Any arguments?
-
lolanczos 👍 1 Answered BB is correct because VPC peering establishes a private connection between VPC networks, allowing the Compute Engine instances to communicate using private IP addresses over Google’s encrypted backbone network. Option A (Cloud VPN) uses an encrypted tunnel but relies on public IP addresses; Option C (VPC Service Controls) is meant for securing service perimeters rather than direct network connectivity; and Option D (Apigee) is designed for API management, not for facilitating private network connections. Google Cloud. (n.d.). VPC Network Peering. Retrieved from https://cloud.google.com/vpc/docs/vpc-peering
-
desertlotus1211 👍 1So I think this question makes on sense... If it's server to server calls then TLS/HTTPS/SSL is being used. So the answer can be VPC Peering since the APIs are encrypted. It's poorly worded and you will use service accont any communications and calls. You can usd VPN, but you need a cloud router on both side, policy routing, etc. for the CEs to talk. Thoughts?
-
juanmacoellocloudsecarch 👍 1 Answered BVPN works over Public IP so that's make no sense for this question. And It says "net connection must be encrypted" but is not asking you how and if you need to configure or not. If you use VPC peering is only via private IP address and VPC peering is backbone encrypted so, B.
-
TonytheTiger 👍 1Sorry - Ans C - Key point "separate Google Cloud Organization" Private Service Connect allows private consumption of services across VPC networks that belong to different groups, teams, projects, or organizations. https://cloud.google.com/vpc/docs/private-service-connect
-
fad3r 👍 1You are right and wrong, You are right that yes Private Service Connect does indeed do this. You are wrong because that is not what C says. It says VPC Service Controls which is definitely wrong.
-
desertlotus1211 👍 1Also ask for private IP communication, so technically no routing (policy or other) should be involved
-
aygitci 👍 1 Answered Athe traffic between the VPCs is not encrypted by default.
-
desertlotus1211 👍 1All it asked for encryption...
-
deony 👍 1typo: i don't think -> i think
-
desertlotus1211 👍 1I meant to say NO sense....
-
desertlotus1211 👍 1A is still on encrypted.
-
irmingard_examtopics 👍 1 Answered AB is not encrypted.
-
TNT87 👍 1 Answered BAnswer B
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.