Google Cloud Professional Cloud Security Engineer — Question 318

Your organization utilizes Cloud Run services within multiple projects underneath the non-production folder which requires primarily internal communication. Some services need external access to approved fully qualified domain names (FQDN) while other external traffic must be blocked. Internal applications must not be exposed. You must achieve this granular control with allowlists overriding broader restrictions only for designated VPCs. What should you do?

Answer options

Correct answer: B

Explanation

Option B is correct because it provides a folder-level deny-all rule while allowing specific FQDNs through dedicated policies for the relevant VPCs, ensuring precise control. Option A fails because a global-level policy could unintentionally allow traffic across VPCs. Option C's project-level deny-all could be too broad and complicate management. Option D relies on IP address filtering, which does not align with the requirement of using FQDNs.