Google Cloud Professional Cloud Network Engineer · Domain 6 · 13% of exam

Configuring, implementing and managing a cloud network security solution

Drill 20 practice questions focused entirely on Configuring, implementing and managing a cloud network security solution for the Google Cloud PCNE exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.

Verified answer20 questions
Question 1 of 20

A retail company runs a public storefront behind a global external Application Load Balancer with a Cloud Armor security policy attached to the backend service. During a flash sale, the site experiences a sudden surge of HTTP requests that appear to originate from thousands of distinct IP addresses with subtly varied request patterns, overwhelming the backends. The security team cannot manually author rate-limit or IP-deny rules fast enough to keep pace with the shifting attack signatures. Which Cloud Armor capability should they enable to automatically detect and generate a suggested mitigation rule for this Layer 7 volumetric attack?

Reviewed for accuracy · Report an issue
Question 2 of 20

Your company serves static assets from a Cloud Storage backend bucket behind a global external Application Load Balancer with Cloud CDN enabled. Security wants to block requests from a list of known malicious IP ranges as early as possible—ideally at Google's edge and even for cached content served by CDN—before those requests reach the backend bucket or consume cache resources. Which Cloud Armor configuration meets this requirement?

Reviewed for accuracy · Report an issue
Question 3 of 20

Your security team wants to allow a large SaaS partner's published IP ranges to reach your global external Application Load Balancer while blocking all other source IPs. The partner distributes their egress ranges as a curated list that Google maintains and updates automatically. You must implement this in a Cloud Armor security policy with minimal ongoing maintenance and without exceeding rule limits from listing hundreds of individual CIDRs. Which approach should you use?

Reviewed for accuracy · Report an issue
Question 4 of 20

A retail company runs a public web application behind a global external Application Load Balancer, protected by a Cloud Armor security policy. The security team enables the preconfigured SQL injection (sqli-v33-stable) WAF rule at its default sensitivity. Immediately, legitimate users report that they can no longer submit product reviews containing text like "O'Brien's shop is great", and logs show these requests are being blocked by the sqli rule. The team must keep strong SQLi protection but stop blocking valid review submissions. What is the most appropriate action?

Reviewed for accuracy · Report an issue
Question 5 of 20

You manage a Google Cloud Armor security policy attached to a global external Application Load Balancer serving a production e-commerce site. Your security team wants to introduce a new WAF rule that blocks requests matching a broad regular expression, but they are concerned it may inadvertently block legitimate customer traffic. They need to evaluate the real-world impact of the rule against live production traffic before it actually starts denying any requests. What should you configure?

Reviewed for accuracy · Report an issue
Question 6 of 20

An e-commerce company runs a public web application behind a global external Application Load Balancer protected by Google Cloud Armor. During flash sales, individual clients sometimes send bursts of requests to the /api/checkout path, degrading the backend for everyone. The security team wants to allow legitimate traffic to continue but automatically throttle any single client IP that exceeds 100 requests per minute to that path, without permanently blocking the client. Which Cloud Armor configuration meets this requirement?

Reviewed for accuracy · Report an issue
Question 7 of 20

Your company runs a fleet of Compute Engine VMs without external IP addresses in a subnet that uses Cloud NAT for internet egress. A SaaS partner requires that all outbound requests to their API originate from a small, fixed set of source IP addresses that you must provide to them for allowlisting. Currently the Cloud NAT gateway is configured with automatic NAT IP address allocation. What should you do to meet the partner's requirement while continuing to allow egress?

Reviewed for accuracy · Report an issue
Question 8 of 20

A financial services company runs Compute Engine VMs with no external IP addresses in a private subnet. The security team requires two things for internet egress: (1) all outbound HTTP/HTTPS traffic must be restricted to an approved list of FQDNs (e.g., only *.partnerbank.com and api.provider.net), and (2) any non-HTTP(S) egress that is still permitted must be source-NATed through a predictable set of static IP addresses so partners can allowlist them. What should you deploy to meet BOTH requirements with the least operational overhead?

Reviewed for accuracy · Report an issue
Question 9 of 20

A large enterprise organizes its Google Cloud resources with an organization node, a 'security-controls' folder, and multiple team folders beneath it. The central security team defines a hierarchical firewall policy attached at the organization level that must enforce a mandatory deny on all inbound RDP (TCP 3389) from the internet, while allowing individual application teams to define their own rules for other traffic in their project-level network firewall policies. However, for a specific range of trusted corporate egress IPs, the security team wants lower-level policies and rules to be able to make the final allow/deny decision for RDP rather than having it blocked at the org level. Which configuration correctly meets these requirements?

Reviewed for accuracy · Report an issue
Question 10 of 20

A financial services company uses a Google Cloud organization with three folders: 'prod', 'dev', and 'shared-services'. The central security team must enforce a non-overridable rule that blocks all inbound RDP (TCP 3389) traffic to every VPC in the organization, while allowing individual project teams to still define their own additional allow/deny rules for other ports. The security team also wants a separate rule in the 'dev' folder that permits SSH (TCP 22) from the corporate CIDR range, but this rule should be evaluatable by lower-level project rules if they choose to override. Which design meets these requirements?

Reviewed for accuracy · Report an issue
Question 11 of 20

Your team applies a global network firewall policy to a VPC. The policy contains two rules: rule at priority 1000 denies all egress to 203.0.113.0/24 on TCP 443, and rule at priority 500 allows egress to 203.0.113.10/32 on TCP 443. A VM in the VPC attempts an HTTPS connection to 203.0.113.10. In addition, an implied allow-egress and implied deny-ingress exist at the VPC level. What is the outcome of the VM's connection, and why?

Reviewed for accuracy · Report an issue
Question 12 of 20

A security engineer manages a global network firewall policy in a Shared VPC host project. Application VMs in multiple service projects need a rule that allows TCP 8443 traffic only between VMs that share a common workload identity, regardless of their IP addresses, which change frequently due to autoscaling. The engineer wants the rule to remain valid even if VMs are recreated with new IPs, and to work across the VPC network. Which approach should the engineer use to define the source and target in the network firewall policy rule?

Reviewed for accuracy · Report an issue
Question 13 of 20

A security engineer is building a global network firewall policy for a VPC. They create a rule at priority 1000 that allows TCP 443 ingress to instances whose target is the service account 'web-sa@project.iam.gserviceaccount.com'. Separately, another engineer creates a rule at priority 900 that denies all ingress to instances with the secure tag 'quarantine'. An instance is running with the service account 'web-sa' AND has the secure tag 'quarantine' applied. Incoming HTTPS traffic to this instance is being dropped. What is the correct explanation?

Reviewed for accuracy · Report an issue
Question 14 of 20

Your company must route all east-west traffic between two application VPCs (VPC-A and VPC-B) through a self-managed firewall virtual appliance running on a Compute Engine VM for deep packet inspection. The appliance VM has two network interfaces: nic0 in VPC-A and nic1 in VPC-B. During testing, traffic reaches the appliance VM but the appliance cannot forward packets destined to the other VPC's subnets, and the packets are dropped. What must you configure to enable the appliance to forward traffic between the two VPCs?

Reviewed for accuracy · Report an issue
Question 15 of 20

A security team deploys a self-managed third-party IDS as a collector behind an internal passthrough load balancer and configures a Packet Mirroring policy to mirror all ingress and egress traffic from a set of production VMs. After deployment, the IDS reports that it can see the packets but cannot inspect the application-layer payloads of most HTTPS sessions to detect threats. The team asks how to enable deep payload inspection of this encrypted traffic. What is the correct guidance?

Reviewed for accuracy · Report an issue
Question 16 of 20

A security team at a financial services company needs to inspect east-west traffic between production application VMs using a third-party intrusion detection system (IDS). The IDS runs on a fleet of self-managed VM appliances that must scale horizontally. Traffic from mirrored production instances must be delivered to these appliances without dropping packets during appliance autoscaling events, and the collector must be reachable from the mirrored sources within the same region. How should the security team configure the Packet Mirroring collector destination?

Reviewed for accuracy · Report an issue
Question 17 of 20

SecureCorp runs a fleet of web servers in a managed instance group (MIG) that autoscales between 5 and 40 instances. The security team deployed a self-managed IDS appliance behind an internal passthrough load balancer as a collector. They need to mirror traffic from ALL current and future web server instances to the IDS, without editing the packet mirroring policy each time the MIG scales. How should they configure the mirrored source in the packet mirroring policy?

Reviewed for accuracy · Report an issue
Question 18 of 20

A security team wants to mirror traffic from a specific group of production web servers to a self-managed intrusion detection appliance for deep packet inspection. The web servers all share the network tag 'web-frontend'. The team wants to avoid mirroring traffic from all other VMs in the same subnet to control the volume of mirrored data and analysis costs. When configuring the Packet Mirroring policy, how should they specify which instances are mirrored?

Reviewed for accuracy · Report an issue
Question 19 of 20

A financial services company runs application VMs in a VPC with no external IP addresses. Compliance requires that all outbound HTTPS traffic to the internet be inspected and restricted so that VMs can only reach an approved allowlist of external hostnames (for example, *.partner-bank.com and api.marketdata.io). The security team wants a fully managed Google Cloud service that enforces these URL/hostname policies with TLS inspection, rather than deploying and maintaining their own proxy fleet. Which approach should you implement?

Reviewed for accuracy · Report an issue
Question 20 of 20

A financial services company runs application VMs in a private subnet (no external IPs) that must reach a specific list of approved SaaS HTTPS endpoints on the internet. Security requires that egress be filtered by fully-qualified domain name (not just IP), that TLS sessions be intercepted and inspected against the allowlist, and that all egress decisions be centrally logged. The team already uses Cloud NAT for other workloads. Which approach meets these requirements?

Reviewed for accuracy · Report an issue

More PCNE practice

Keep going with the other Google Cloud Professional Cloud Network Engineer domains, or take a full timed mock exam.

← Back to PCNE overview