You have the following Shared VPC design. VPC Flow Logs is configured for Subnet-1 in the host VPC. You also want to monitor flow logs for Subnet-2. What should you do?
A.
Configure a VPC Flow Logs filter for Subnet-2 in the host project VPC.
B.
Configure VPC Flow Logs in the service project VPC for Subnet-2.
C.
Configure Packet Mirroring in both the host and service project VPCs.
D.
Configure a firewall rule to permit Subnet-2 IP addresses outbound in the host project VPC.
A compute engine can't have multiple NICs in the same VPC, so in the figure the VPCs are two (even if with the same name), one in the host project and one in the service project. So the answer is B
A Shared VPC network is a VPC network defined in a host project and made available as a centrally shared network for eligible resources in service projects
It's B. Service project has it's own VPC where the Subnet-2 is located and it has nothing to do with Host Project and Shared VPC.
If the Subnet-2 was the part of Host project Shared VPC then correct answer would be B.
A Shared VPC network is a VPC network defined in a host project and made available as a centrally shared network for eligible resources in service projects
"In Shared VPC networks, logs only appear in the host project, not the service projects. Make sure you look for the logs in the host project."
https://cloud.google.com/vpc/docs/using-flow-logs
I go with A
Option B is incorrect because logs for VPC Flow Logs do not appear in the service projects in a Shared VPC setup.
Option C is unrelated to monitoring flow logs and would not achieve the desired result.
Option D is also unrelated to monitoring flow logs and would not achieve the desired result.
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Cris0303
Highly Voted 6 months, 1 week agomaverick89
5 months, 1 week agod07d3be
Most Recent 6 days, 13 hours ago832f53c
2 months, 4 weeks agonkastanas
3 months, 3 weeks agoanshad666
4 months, 3 weeks agodesertlotus1211
8 months, 1 week agozzaric
8 months, 2 weeks agozzaric
8 months, 2 weeks agogonlafer
9 months agoPeppaPig
9 months, 1 week agodesertlotus1211
8 months, 1 week agodesertlotus1211
8 months, 1 week agodesertlotus1211
8 months, 1 week agoPeppaPig
2 months, 2 weeks ago[Removed]
9 months, 2 weeks ago[Removed]
9 months, 2 weeks ago