Google Cloud Professional Cloud Network Engineer — Question 208

Your organization requires that all SMTP traffic to your cloud environment is blocked, except for traffic that originates from your corporate network. Your organization also requires that only specific VPCs across your Google Cloud projects will allow SMTP access from your corporate network. You need to configure a security policy that will enable this connectivity. What should you do?

Answer options

Correct answer: C

Explanation

Option C is correct because it correctly allows SMTP traffic from the corporate network while denying it from all other sources, and it ensures the proper association of the firewall policy at the organization level. Option A incorrectly allows egress traffic from the corporate network without proper restriction. Option B mistakenly allows all SMTP traffic from 0.0.0.0/0, which does not meet the requirement. Option D also denies all traffic but fails to appropriately allow traffic originating from the corporate network.