🔥 40% Off Crucial Exams Memberships — Deal ends today!

GCP Professional Cloud Security Engineer Practice Question

Your company runs several GKE clusters and Compute Engine VMs in multiple projects. The security team must detect potential data exfiltration by analyzing egress flow volumes. They want to collect 100 % of VPC Flow Logs from every subnet in every project, centralize them in a single BigQuery dataset with two-year retention, and avoid configuration drift as new projects and subnets are created. As the security engineer, what should you do?

  • Create an organization-level aggregated log sink with the filter resource.type=gce_subnetwork AND logName:"/vpc_flows" that exports to a centralized BigQuery dataset configured for two-year table expiration, and enforce the constraints/compute.requireVPCFlowLogs organization policy to automatically enable Flow Logs on all subnets.

  • Enable Packet Mirroring on every subnet and forward mirrored traffic to Cloud IDS; export Cloud IDS threat findings to a BigQuery dataset that retains data for two years.

  • Turn on firewall rule logging for every VPC and export the logs to Cloud Storage with a two-year lifecycle rule, then query the bucket from BigQuery using external tables.

  • Enable Data Access audit logs in every project and create individual project-level log sinks that export the logs to separate BigQuery datasets with two-year table expiration.

GCP Professional Cloud Security Engineer
Managing operations
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot