Professional Cloud Network Engineer Practice Questions

Google Cloud Professional Cloud Network Engineer exam preparation

Professional Cloud Network Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud Network Engineer free question 9 / 10 · Domain 5: Managing, monitoring, and troubleshooting network operations

A VM in service project S uses a shared subnet of host project H. In which project do the VPC Flow Logs normally appear?

  1. Cloud Logging of service project S, which owns the VM
  2. The default project of the administrator who views the logs
  3. The project that contains the service account of the VM
  4. Cloud Logging of host project H, which owns the network
Show the answer and explanation

Answer: D

Why this is correct
The flow logs documentation says that the data is sent to Logging in the Google Cloud project of the VPC network that reported the flow, and that for resources in Shared VPC networks, logs are reported in the host project. The logs of the VM in S therefore appear in H. The administrator who analyzes the traffic should look at the host project, or route the logs from there.

Why the other options are wrong
"The default project of the administrator who views the logs" … Logs are not moved to the default project of whoever views them. They are written to the project of the reporting network.
"Cloud Logging of service project S, which owns the VM" … Searching only the project that owns the VM misses the flow logs of the shared network, which are written in the host project.
"The project that contains the service account of the VM" … The project of the service account that runs the VM does not decide where the logs are written.

Key point
Keep track of who owns the VM resources and who owns the network resources. For centralized analysis, design log routing from the storage location as well.

Go to the Professional Cloud Network Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set