Google Cloud Professional Cloud Network Engineer — Question 193

Your company uses Compute Engine instances that are exposed to the public internet. Each compute instance has a single network interface with a single public IP address. You need to block any connection attempt that originates from internet clients with IP addresses that belong to the BGP_ASN_TOBLOCK BGP ASN. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because a Cloud Armor network edge security policy is specifically designed to block or allow traffic based on network sources, including BGP ASNs. Option A refers to a backend security policy, which is not suitable for this use case, while options C and D do not provide the correct type of policy required for managing source ASN traffic.