Google certification · Exam Professional-Cloud-Network-Engineer

Professional-Cloud-Network-Engineer Mock Exam Page 4

Google Cloud Certified - Professional Cloud Network Engineer

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

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

Free Professional-Cloud-Network-Engineer questions

31–40 of 45 free
Question 31 Choose 1

Your company has a single Virtual Private Cloud (VPC) network deployed in Google Cloud
with access from your on-premises network using Cloud Interconnect. You must configure
access only to Google APIs and services that are supported by VPC Service Controls
through hybrid connectivity with a service level agreement (SLA) in place. What should you
do?

Show answerHide answer

Correct answer: B

Use Private Google Access for on-premises hosts with restricted.googleapis.com virtual
IP addresses.

Question 32 Choose 1

You want to configure a NAT to perform address translation between your on-premises
network blocks and GCP.
Which NAT solution should you use?

Show answerHide answer

Correct answer: A

Cloud NAT

Question 33 Choose 1

You are responsible for enabling Private Google Access for the virtual machine (VM)
instances in your Virtual Private Cloud (VPC) to access Google APIs. All VM instances
have only a private IP address and need to access Cloud Storage. You need to ensure that
all VM traffic is routed back to your on-premises data center for traffic scrubbing via your
existing Cloud Interconnect connection. However, VM traffic to Google APIs should remain
in the VPC. What should you do?

Show answerHide answer

Correct answer: C

Configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol
(BGP) with a lower priority (MED) than the default VPC route.
Create a private Cloud DNS zone for googleapis.com, create a CNAME for *
googieapis.com to private googleapis com, and create an A record for
private.googleapis.com that resolves to the addresses in 199 .36.153.8/30.
Create a static route in your VPC for the range 199.36. 153.8/30 with the default internet
gateway as the next hop.

Question 34 Choose 1

You have just deployed your infrastructure on Google Cloud. You now need to configure
the DNS to meet the following requirements:
Your on-premises resources should resolve your Google Cloud zones.
Your Google Cloud resources should resolve your on-premises zones.
You need the ability to resolve “.internal” zones provisioned by Google Cloud.
What should you do?

Show answerHide answer

Correct answer: A

Configure an outbound server policy, and set your alternative name server to be your
on-premises DNS resolver. Configure your on-premises DNS resolver to forward Google
Cloud zone queries to Google's public DNS 8.8.8.8.

Question 35 Choose 1

You need to create a new VPC network that allows instances to have IP addresses in both
the 10.1.1.0/24 network and the 172.16.45.0/24 network.
What should you do?

Show answerHide answer

Correct answer: C

Configure an alias-IP range of 172.16.45.0/24 on the virtual instances within the VPC subnet of 10.1.1.0/24.

Question 36 Choose 1

You need to ensure your personal SSH key works on every instance in your project. You
want to accomplish this as efficiently as possible.
What should you do?

Show answerHide answer

Correct answer: A

Upload your public ssh key to the project Metadata

Explanation

Overview By creating and managing SSH keys, you can let users access a Linux instance
through third-party tools. An SSH key consists of the following files: A public SSH key file
that is applied to instance-level metadata or project-wide metadata. A private SSH key file
that the user stores on their local devices. If a user presents their private SSH key, they
can use a third-party tool to connect to any instance that is configured with the matching
public SSH key file, even if they aren't a member of your Google Cloud project. Therefore,
you can control which instances a user can access by changing the public SSH key
metadata for one or more instances.
https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys#addkey

Question 37 Choose 1

Your organization has a single project that contains multiple Virtual Private Clouds (VPCs).
You need to secure API access to your Cloud Storage buckets and BigQuery datasets by
allowing API access only from resources in your corporate public networks. What should
you do?

Show answerHide answer

Correct answer: B

Create a VPC Service Controls perimeter for your project with an access context policy
that allows your corporate public network IP ranges.

Question 38 Choose 1

You need to configure a static route to an on-premises resource behind a Cloud VPN
gateway that is configured for policy-based routing using the gcloud command.
Which next hop should you choose?

Show answerHide answer

Correct answer: C

The name and region of the Cloud VPN tunnel

Explanation

When you create a route based tunnel using the Cloud Console, Classic VPN performs
both of the following tasks: Sets the tunnel's local and remote traffic selectors to any IP
address (0.0.0.0/0) For each range in Remote network IP ranges, Google Cloud creates a
custom static route whose destination (prefix) is the range's CIDR, and whose next hop is
the tunnel. https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-staticvpns
Reference: https://cloud.google.com/vpn/docs/how-to/creating-static-vpns

Question 39 Choose 1

You are the Organization Admin for your company. One of your engineers is responsible
for setting up multiple host projects across multiple folders and sharing subnets with
service projects. You need to enable the engineer's Identity and Access Management
(IAM) configuration to complete their task in the fewest number of steps. What should you
do?

Show answerHide answer

Correct answer: B

Set up the engineer with Compute Shared VPC Admin IAM role at the organization level.

Question 40 Choose 1

You need to centralize the Identity and Access Management permissions and email
distribution for the WebServices Team as efficiently as possible.
What should you do?

Show answerHide answer

Correct answer: A

Create a Google Group for the WebServices Team.

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