Your company has a 3-tier solution running on Compute Engine. The configuration of the current infrastructure is shown below. Each tier has a service account that is associated with all instances within it. You need to enable communication on TCP port 8080 between tiers as follows: * Instances in tier #1 must communicate with tier #2. * Instances in tier #2 must communicate with tier #3. What should you do?
A. 1. Create an ingress firewall rule with the following settings: * Targets: all instances * Source filter: IP ranges (with the range set to 10.0.2.0/24) * Protocols: allow all 2. Create an ingress firewall rule with the following settings: * Targets: all instances * Source filter: IP ranges (with the range set to 10.0.1.0/24) * Protocols: allow all
B. 1. Create an ingress firewall rule with the following settings: * Targets: all instances with tier #2 service account * Source filter: all instances with tier #1 service account * Protocols: allow TCP:8080 2. Create an ingress firewall rule with the following settings: * Targets: all instances with tier #3 service account * Source filter: all instances with tier #2 service account * Protocols: allow TCP: 8080
C. 1. Create an ingress firewall rule with the following settings: * Targets: all instances with tier #2 service account * Source filter: all instances with tier #1 service account * Protocols: allow all 2. Create an ingress firewall rule with the following settings: * Targets: all instances with tier #3 service account * Source filter: all instances with tier #2 service account * Protocols: allow all
D. 1. Create an egress firewall rule with the following settings: * Targets: all instances * Source filter: IP ranges (with the range set to 10.0.2.0/24) * Protocols: allow TCP: 8080 2. Create an egress firewall rule with the following settings: * Targets: all instances * Source filter: IP ranges (with the range set to 10.0.1.0/24) * Protocols: allow TCP: 8080