PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #227
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…
The correct answer is B. Provision a Cloud NAT instance in the same VPC and region as the Compute Engine VM. C. Enable Private Google Access on the subnet that the Compute Engine VM is deployed within. Provision a Cloud NAT instance (Option B): Cloud NAT allows your Compute Engine instances without public IP addresses to access the internet while preserving the security restrictions imposed by your organizational policy. By provisioning a Cloud NAT instance in the same VPC…
Question
Options
- AProvision an HTTP load balancer with the VM in an unmanaged instance group to allow inbound
- BProvision a Cloud NAT instance in the same VPC and region as the Compute Engine VM.
- CEnable Private Google Access on the subnet that the Compute Engine VM is deployed within.
- DUpdate the VPC routes to allow traffic to and from the internet.
- EProvision a Cloud VPN tunnel in the same VPC and region as the Compute Engine VM.
How the community answered
(39 responses)- A21% (8)
- B62% (24)
- D10% (4)
- E8% (3)
Explanation
Provision a Cloud NAT instance (Option B): Cloud NAT allows your Compute Engine instances without public IP addresses to access the internet while preserving the security restrictions imposed by your organizational policy. By provisioning a Cloud NAT instance in the same VPC and region as your Compute Engine VMs, you enable outbound connectivity for these VMs. Enable Private Google Access (Option C): Enabling Private Google Access on the subnet where your Compute Engine VMs are deployed allows these instances to access Google Cloud services over the private IP address range. This can help with accessing external resources needed during the Packer image build process without exposing the VMs to the public internet.
Topics
Community Discussion
No community discussion yet for this question.