Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Network Engineer practice bank has an additional 2,437 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization has two currently unprotected production projects in the same Google Cloud organization: analytics-prod (running BigQuery jobs with service account sa-analytics@analytics-prod.iam.gserviceaccount.com) and datalake-prod (hosting regulated Cloud Storage buckets). You must deploy VPC Service Controls to meet these requirements:
analytics-prod and datalake-prod into separate regular perimeters (Perimeter_Analytics and Perimeter_DataLake), restricting Cloud Storage and BigQuery.sa-analytics to read Cloud Storage objects in datalake-prod while blocking other cross-perimeter traffic.Perimeter_DataLake only from 203.0.113.0/25 on devices with encrypted storage.Which configuration should you implement?
203.0.113.0/25 IP subnetwork and an ENCRYPTED device storage policy. Deploy both Perimeter_Analytics and Perimeter_DataLake as regular perimeters in dry run mode (useExplicitDryRunSpec set to true), attach the access level to Perimeter_DataLake, configure an egress rule on Perimeter_Analytics and a matching ingress rule on Perimeter_DataLake for sa-analytics to access storage.googleapis.com in datalake-prod, and validate audit logs where metadata.dryRun is True before enforcing.This solution combines Access Context Manager context-aware access levels, regular service perimeters, directional egress and ingress policies, and dry run mode to establish isolated security boundaries while staging changes safely. Each project resides in its own regular perimeter (Perimeter_Analytics and Perimeter_DataLake), enforcing strict control over storage.googleapis.com and bigquery.googleapis.com.
analytics-prod and datalake-prod into two distinct regular service perimeters prevents unauthorized data movement between the environments.203.0.113.0/25 CIDR range (ipSubnetworks) and ENCRYPTED storage (devicePolicy, verified by Endpoint Verification) using default AND logic, ensuring analysts can reach Perimeter_DataLake only from approved corporate IPs on compliant devices.Perimeter_Analytics permits sa-analytics to call storage.googleapis.com in datalake-prod, while a corresponding ingress rule on Perimeter_DataLake permits sa-analytics from analytics-prod to access storage.googleapis.com in datalake-prod.useExplicitDryRunSpec: true) logs policy violations with metadata.dryRun set to True in Cloud Audit Logs without denying production requests.storage.googleapis.com) rather than bridging entire perimeters.Using separate perimeters with directional egress and ingress rules enforces least-privilege cross-perimeter exchange, while dry run mode guarantees production continuity during rollout.
203.0.113.0/25 and ENCRYPTED device storage. Deploy both Perimeter_Analytics and Perimeter_DataLake in enforced mode with identical dry run specifications, attach the access level to Perimeter_DataLake, configure an egress rule on Perimeter_Analytics and an ingress rule on Perimeter_DataLake for sa-analytics, and monitor metadata.dryRun audit logs for seven days to confirm no production traffic is blocked.This configuration includes the right access level, egress rule, and ingress rule definitions, but it immediately deploys both Perimeter_Analytics and Perimeter_DataLake in enforced mode alongside identical dry run specifications while expecting metadata.dryRun logs to validate traffic safely.
metadata.dryRun: True entries are generated.metadata.dryRun: True only if the request is not already denied by the enforced configuration and violates the dry run configuration.You initially created both perimeters in dry run mode only (without deploying an enforced configuration simultaneously), verified the metadata.dryRun: True audit logs to ensure no legitimate workflows were flagged, and then promoted the validated policies to enforced mode.
203.0.113.0/25 and ENCRYPTED device storage, and a second specifying the sa-analytics service account. Deploy both Perimeter_Analytics and Perimeter_DataLake in dry run mode (useExplicitDryRunSpec set to true), attach both access levels to Perimeter_DataLake without configuring egress or ingress rules, and inspect audit logs where metadata.dryRun is True before enforcing.This approach uses Access Context Manager basic access levels to evaluate external context (IP ranges, Endpoint Verification device storage encryption, and identity) and stages both perimeters using dry run mode (useExplicitDryRunSpec set to true). However, it relies solely on access levels attached to Perimeter_DataLake to handle cross-perimeter communication instead of directional egress and ingress rules.
Perimeter_Analytics).Perimeter_Analytics restricts Cloud Storage, any call from sa-analytics inside Perimeter_Analytics to a Cloud Storage bucket outside its boundary (datalake-prod) is blocked unless an explicit egress rule is configured on Perimeter_Analytics.Perimeter_DataLake.Instead of using a second access level for sa-analytics, you authored an egress rule on Perimeter_Analytics targeting datalake-prod and storage.googleapis.com, paired with an ingress rule on Perimeter_DataLake allowing analytics-prod and sa-analytics.
203.0.113.0/25 and ENCRYPTED device storage. Deploy both Perimeter_Analytics and Perimeter_DataLake in dry run mode (useExplicitDryRunSpec set to true), attach the access level and an ingress rule for sa-analytics to Perimeter_DataLake, and enable VPC accessible services on Perimeter_Analytics allowing storage.googleapis.com instead of configuring an egress rule, then validate metadata.dryRun logs before enforcing.This configuration properly creates the basic access level, stages both perimeters in dry run mode, and defines an ingress rule on Perimeter_DataLake. However, it substitutes VPC accessible services on Perimeter_Analytics in place of a perimeter egress rule.
Perimeter_Analytics. It does not authorize workloads inside Perimeter_Analytics to access resources located outside the perimeter (such as datalake-prod buckets).sa-analytics inside Perimeter_Analytics attempts to read Cloud Storage objects in datalake-prod, Perimeter_Analytics blocks the outbound cross-perimeter operation because no egress rule authorizes datalake-prod as an allowed destination.FROM client to external resource), and the destination perimeter must permit ingress (FROM external source to internal resource).Instead of relying on VPC accessible services for cross-perimeter routing, you configured an explicit egress policy on Perimeter_Analytics allowing sa-analytics to access storage.googleapis.com in datalake-prod.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated