Google certification · Exam Professional-Cloud-Network-Engineer

Professional-Cloud-Network-Engineer Mock Exam Page 2

Google Cloud Certified - Professional Cloud Network Engineer

Free Professional-Cloud-Network-Engineer mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free Professional-Cloud-Network-Engineer questions

11–20 of 45 free
Question 11 Choose 1

You want to use Cloud Interconnect to connect your on-premises network to a GCP VPC.
You cannot meet Google at one of its point-of-presence (POP) locations, and your onpremises
router cannot run a Border Gateway Protocol (BGP) configuration.
Which connectivity model should you use?

Show answerHide answer

Correct answer: D

Partner Interconnect with a layer 3 partner

Explanation

https://cloud.google.com/networkconnectivity/
docs/interconnect/concepts/partner-overview
For Layer 3 connections, your service provider establishes a BGP session between your
Cloud Routers and their edge routers for each VLAN attachment. You don't need to
configure BGP on your on-premises router. Google and your service provider automatically
set the correct configurations.
https://cloud.google.com/network-connectivity/docs/interconnect/concepts/partneroverview#
connectivity-type

Question 12 Choose 1

Your company has recently installed a Cloud VPN tunnel between your on-premises data
center and your Google Cloud Virtual Private Cloud (VPC). You need to configure access
to the Cloud Functions API for your on-premises servers. The configuration must meet the
following requirements:
Certain data must stay in the project where it is stored and not be exfiltrated to other
projects.
Traffic from servers in your data center with RFC 1918 addresses do not use the internet to
access Google Cloud APIs.
All DNS resolution must be done on-premises.
The solution should only provide access to APIs that are compatible with VPC Service
Controls.
What should you do?

Show answerHide answer

Correct answer: C

Create an A record for restricted.googleapis.com using the 199.36.153.4/30 address range.
Create a CNAME record for *.googleapis.com that points to the A record.
Configure your on-premises routers to use the Cloud VPN tunnel as the next hop for the
addresses you used in the A record.
Remove the default internet gateway from the VPC where your Cloud VPN tunnel
terminates.

Question 13 Choose 1

You want to deploy a VPN Gateway to connect your on-premises network to GCP. You are
using a non BGP-capable on-premises VPN device. You want to minimize downtime and
operational overhead when your network grows. The device supports only IKEv2, and you
want to follow Google-recommended practices.
What should you do?

Show answerHide answer

Correct answer: B

• Create a Cloud VPN instance.• Create a policy-based VPN tunnel.• Configure the
appropriate local and remote traffic selectors to match your local and remote networks.•
Configure the appropriate static routes.

Explanation

Explanation: https://cloud.google.com/network-connectivity/docs/vpn/how-to/creatingstatic-
vpns#creating_a_gateway_and_tunnel

Question 14 Choose 2

Your company has just launched a new critical revenue-generating web application. You
deployed the application for scalability using managed instance groups, autoscaling, and a
network load balancer as frontend. One day, you notice severe bursty traffic that the
caused autoscaling to reach the maximum number of instances, and users of your
application cannot complete transactions. After an investigation, you think it as a DDOS
attack. You want to quickly restore user access to your application and allow successful
transactions while minimizing cost.
Which two steps should you take? (Choose two.)

Show answerHide answer

Correct answer: B, E

Increase the maximum autoscaling backend to accommodate the severe bursty traffic

SSH into the backend compute engine instances, and view the auth logs and syslogs to
further understand the nature of the attack.

Question 15 Choose 1

You are trying to update firewall rules in a shared VPC for which you have been assigned
only Network Admin permissions. You cannot modify the firewall rules. Your organization
requires using the least privilege necessary. Which level of permissions should you request?

Show answerHide answer

Correct answer: A

Security Admin privileges from the Shared VPC Admin

Explanation

Explanation: A Shared VPC Admin can define a Security Admin by granting an IAM
member the Security Admin (compute.securityAdmin) role to the host project. Security
Admins manage firewall rules and SSL certificates.

Question 16 Choose 1

You have deployed a new internal application that provides HTTP and TFTP services to
on-premises hosts. You want to be able to distribute traffic across multiple Compute Engine
instances, but need to ensure that clients are sticky to a particular instance across both
services.
Which session affinity should you choose?

Show answerHide answer

Correct answer: B

Client IP

Question 17 Choose 1

You suspect that one of the virtual machines (VMs) in your default Virtual Private Cloud
(VPC) is under a denial-of-service attack. You need to analyze the incoming traffic for the
VM to understand where the traffic is coming from. What should you do?

Show answerHide answer

Correct answer: B

Enable VPC Flow Logs for the subnet. Analyze the logs and get the source IP
addresses from the connection field.

Question 18 Choose 1

You are configuring an HA VPN connection between your Virtual Private Cloud (VPC) and
on-premises network. The VPN gateway is named VPN_GATEWAY_1. You need to
restrict VPN tunnels created in the project to only connect to your on-premises VPN public
IP address: 203.0.113.1/32. What should you do?

Show answerHide answer

Correct answer: B

Configure the Resource Manager constraint constraints/compute.restrictVpnPeerIPs to
use an allowList consisting of only the 203.0.113.1/32 address.

Question 19 Choose 1

You have a storage bucket that contains the following objects:
- folder-a/image-a-1.jpg
- folder-a/image-a-2.jpg
- folder-b/image-b-1.jpg
- folder-b/image-b-2.jpg
Cloud CDN is enabled on the storage bucket, and all four objects have been successfully cached. You want to remove the cached copies of all the objects with the prefix folder-a, using the minimum number of commands.
What should you do?

Show answerHide answer

Correct answer: B

Issue a cache invalidation command with pattern /folder-a/*.

Question 20 Choose 1

You want to implement an IPSec tunnel between your on-premises network and a VPC via
Cloud VPN. You need to restrict reachability over the tunnel to specific local subnets, and
you do not have a device capable of speaking Border Gateway Protocol (BGP).
Which routing option should you choose?

Show answerHide answer

Correct answer: C

Policy-based routing using a custom local traffic selector

Full mock exam

Sit the Professional-Cloud-Network-Engineer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Professional-Cloud-Network-Engineer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Professional-Cloud-Network-Engineer mock exam
  • 65questions per mock
  • 105 mintime limit
  • 153questions in the bank
  • Newmock on every attempt