GCP ACE · Question 30 · Domain 3.5: Deploying and implementing networking resources
You have a VPC network with several Compute Engine instances. You want to allow incoming HTTP (port 80) traffic from the public internet, but ONLY to specific instances that serve as web servers. You want to manage this using network tags.
Which TWO actions must you take? (Select TWO)
You have a VPC network with several Compute Engine instances. You want to allow incoming HTTP (port 80) traffic from the public internet, but ONLY to specific instances that serve as web servers. You want to manage this using network tags.
Which TWO actions must you take? (Select TWO)
Answer options:
Create an ingress firewall rule allowing tcp:80 with the source range 0.0.0.0/0
Set the target tags of the firewall rule to 'web-server' and apply the 'web-server' tag to the specific instances
Set the source tags of the firewall rule to 'web-server'
Create an egress firewall rule allowing tcp:80 to 0.0.0.0/0
Apply the 'http-server' tag to all instances in the VPC
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Associate Cloud Engineer Practice Exam 5
50 questions · hints · full answers · grading
Expert