ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 10 - Professional Cloud Network Engineer discussion

Report
Export

You created a new VPC network named Dev with a single subnet. You added a firewall rule for the network Dev to allow HTTP traffic only and enabled logging. When you try to log in to an instance in the subnet via Remote Desktop Protocol, the login fails. You look for the Firewall rules logs in Stackdriver Logging, but you do not see any entries for blocked traffic. You want to see the logs for blocked traffic.

What should you do?

A.
Check the VPC flow logs for the instance.
Answers
A.
Check the VPC flow logs for the instance.
B.
Try connecting to the instance via SSH, and check the logs.
Answers
B.
Try connecting to the instance via SSH, and check the logs.
C.
Create a new firewall rule to allow traffic from port 22, and enable logs.
Answers
C.
Create a new firewall rule to allow traffic from port 22, and enable logs.
D.
Create a new firewall rule with priority 65500 to deny all traffic, and enable logs.
Answers
D.
Create a new firewall rule with priority 65500 to deny all traffic, and enable logs.
Suggested answer: D

Explanation:

Ingress packets in VPC Flow Logs are sampled after ingress firewall rules. If an ingress firewall rule denies inbound packets, those packets are not sampled by VPC Flow Logs. We want to see the logs for blocked traffic so we have to look for them in firewall logs.

https://cloud.google.com/vpc/docs/flow-logs#key_properties

asked 18/09/2024
Ramon Vieira da Rocha
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first