BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Security Engineer Exam - Topic 3 Question 122 Discussion

Posted by Cherilyn on Aug 14, 2026 at 09:36 AM

Your DevOps team uses Packer to build Compute Engine images by using this process:

1 Create an ephemeral Compute Engine VM.

2 Copy a binary from a Cloud Storage bucket to the VM's file system.

3 Update the VM's package manager.

4 Install external packages from the internet onto the VM.

Your security team just enabled the organizational policy. consrraints/compure.vnExtemallpAccess. to restrict the usage of public IP Addresses on VMs. In response your DevOps team updated their scripts to remove public IP addresses on the Compute Engine VMs however the build pipeline is failing due to connectivity issues.

What should you do?

Choose 2 answers

Suggested Answer: A, E

Provision a Cloud NAT Instance:

Cloud NAT (Network Address Translation) allows instances without external IP addresses to access the internet securely.

In the Google Cloud Console, navigate to the VPC Network section and select Cloud NAT.

Create a new Cloud NAT configuration, specifying the VPC and region where your Compute Engine VMs are deployed.

Configure Cloud NAT:

Ensure that the Cloud NAT instance is configured to provide outbound internet connectivity for the VMs in your specified subnet.

This setup allows the VMs to access the internet for package updates and external installations without requiring public IP addresses.

Enable Private Google Access:

Private Google Access allows VMs in a subnet to reach Google APIs and services using internal IP addresses.

In the Google Cloud Console, navigate to the VPC Network section and select Subnets.

Edit the subnet used by your Compute Engine VMs and enable Private Google Access.

Update DevOps Scripts:

Ensure that your DevOps scripts are updated to work with the new network configuration.

Test the build process to confirm that the VMs can access necessary resources and complete the build pipeline successfully.


Cloud NAT Documentation

Private Google Access

Get Premium Professional Cloud Security Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
21 comments · newest first
AM
Amber 2 days ago
This question is tricky. Connectivity is key.
RO
Ronnie 7 days ago
Exactly! We need to adapt without compromising security.
KA
Kaycee 12 days ago
Right! A and E keep security tight while ensuring connectivity.
JA
Jarvis 17 days ago
B seems risky. We don’t want to expose the VM.
AN
Antonette 22 days ago
Agreed! E helps with private access. No public IPs needed.
SH
Shannon 28 days ago
I think A and E are solid choices. Cloud NAT is essential.
RO
Ronnie 1 month ago
This question is tricky. Connectivity issues are a pain.
MI
Mireya 1 month ago
D) Cloud VPN is overkill for this scenario.
MA
Margurite 1 month ago
C) Updating VPC routes won't solve the public IP issue.
EL
Elliot 2 months ago
Surprised they didn't consider E) Private Google Access first!
MA
Malika 2 months ago
I disagree, B) HTTP load balancer seems unnecessary here.
WI
William 2 months ago
A) Cloud NAT is the way to go for outbound traffic!
ME
Merilyn 2 months ago
C) is a bad idea, messing with VPC routes can cause more issues.
FE
Felix 2 months ago
Definitely need to enable Private Google Access, that’s a must!
AN
Annette 2 months ago
Wait, can you really use Cloud NAT for this? Sounds too easy!
RE
Reyes 3 months ago
I disagree, B) could work too if you need inbound connections.
BE
Benedict 3 months ago
A) and E) seem like the best options here.
JA
Jaime 3 months ago
I think we discussed that HTTP load balancers are more for inbound connections, so B might not be relevant here. I’m leaning towards A and E.
XU
Xuan 3 months ago
I practiced a question similar to this, and I feel like using a Cloud VPN might be overkill for just accessing the internet. D seems less likely.
AZ
Azalee 3 months ago
I'm not entirely sure, but I think enabling Private Google Access could help with connectivity issues, so maybe E?
KA
Kanisha 4 months ago
I remember something about Cloud NAT being used for VMs without public IPs, so A seems like a good choice.
0/2000 characters

Save Cancel