Google Cloud Professional Cloud Security Engineer — Question 48

Your team wants to make sure Compute Engine instances running in your production project do not have public IP addresses. The frontend application Compute
Engine instances will require public IPs. The product engineers have the Editor role to modify resources. Your team wants to enforce this requirement.
How should your team meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C, as it directly establishes a policy that restricts public IP usage only to the frontend instances, fulfilling the requirement. Option A does not address the need for public IPs specifically for the frontend. Option B removes necessary permissions for the engineers, which is not the solution. Option D does not enforce the public IP restriction effectively across the instances.