Recall & Review
beginner
What is a firewall rule in Google Cloud Platform?
A firewall rule in GCP controls the traffic allowed to and from virtual machine instances by specifying which connections are permitted or denied based on IP addresses, ports, and protocols.
Click to reveal answer
beginner
What are the main components of a GCP firewall rule?
The main components are: direction (ingress or egress), priority (order of evaluation), action (allow or deny), targets (which instances the rule applies to), source or destination IP ranges, protocols, and ports.
Click to reveal answer
intermediate
How does priority affect firewall rules in GCP?
Priority is a number where lower values have higher priority. GCP evaluates rules from lowest to highest priority and applies the first matching rule to the traffic.
Click to reveal answer
beginner
What is the difference between ingress and egress firewall rules?
Ingress rules control incoming traffic to instances, while egress rules control outgoing traffic from instances.
Click to reveal answer
intermediate
Why is it important to specify targets in firewall rules?
Specifying targets ensures that the firewall rule applies only to certain VM instances or groups, helping to limit exposure and improve security.
Click to reveal answer
In GCP firewall rules, what does a lower priority number mean?
✗ Incorrect
Lower priority numbers mean higher priority and are evaluated before rules with higher numbers.
Which direction does an ingress firewall rule control?
✗ Incorrect
Ingress rules control incoming traffic to VM instances.
What action can a firewall rule perform in GCP?
✗ Incorrect
Firewall rules can either allow or deny traffic based on the rule configuration.
Why should you specify IP ranges in a firewall rule?
✗ Incorrect
IP ranges specify which sources or destinations the rule applies to, controlling traffic flow.
What happens if no firewall rule matches the ingress traffic in GCP?
✗ Incorrect
By default, GCP denies ingress traffic that does not match any firewall rule.
Explain how firewall rules control traffic in Google Cloud Platform.
Think about how rules decide which traffic is allowed or blocked.
You got /6 concepts.
Describe the importance of priority and targets in GCP firewall rules.
Consider how rules are applied and to which resources.
You got /4 concepts.