Google Professional Cloud Network Engineer Exam Practice Questions (P. 2)
- Full Access (308 questions)
- One Year of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
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?
Your organization requires using the least privilege necessary.
Which level of permissions should you request?
- ASecurity Admin privileges from the Shared VPC Admin.Most Voted
- BService Project Admin privileges from the Shared VPC Admin.
- CShared VPC Admin privileges from the Organization Admin.
- DOrganization Admin privileges from the Organization Admin.
Correct Answer:
A
Reference:
https://cloud.google.com/vpc/docs/shared-vpc
A
Reference:
https://cloud.google.com/vpc/docs/shared-vpc
send
light_mode
delete
Question #12
You want to create a service in GCP using IPv6.
What should you do?
What should you do?
- ACreate the instance with the designated IPv6 address.
- BConfigure a TCP Proxy with the designated IPv6 address.
- CConfigure a global load balancer with the designated IPv6 address.Most Voted
- DConfigure an internal load balancer with the designated IPv6 address.
Correct Answer:
C
GPT-4o - Answer
Configuring a TCP Proxy with a designated IPv6 address is currently the correct approach when setting up services that necessitate IPv6 capabilities in GCP. This method ensures that your service can handle IPv6 requests effectively, even though configuring a Global Load Balancer with an IPv6 might also seem feasible. However, it's critical to note that directly assigning an IPv6 address to an instance or internal load balancer won't suffice, as they require specific subnet configurations within a VPC to support IPv6.
send
light_mode
delete
Question #13
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?
What should you do?
- A"¢ Create a Cloud VPN instance. "¢ Create a policy-based VPN tunnel per subnet. "¢ Configure the appropriate local and remote traffic selectors to match your local and remote networks. "¢ Create the appropriate static routes.
- 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.Most Voted
- C"¢ Create a Cloud VPN instance. "¢ Create a route-based VPN tunnel. "¢ Configure the appropriate local and remote traffic selectors to match your local and remote networks. "¢ Configure the appropriate static routes.
- D"¢ Create a Cloud VPN instance. "¢ Create a route-based VPN tunnel. "¢ Configure the appropriate local and remote traffic selectors to 0.0.0.0/0. "¢ Configure the appropriate static routes.
Correct Answer:
D
Reference:
https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing
D
Reference:
https://cloud.google.com/vpn/docs/concepts/choosing-networks-routing
send
light_mode
delete
Question #14
Your company just completed the acquisition of Altostrat (a current GCP customer). Each company has a separate organization in GCP and has implemented a custom DNS solution. Each organization will retain its current domain and host names until after a full transition and architectural review is done in one year.
These are the assumptions for both GCP environments.
"¢ Each organization has enabled full connectivity between all of its projects by using Shared VPC.
"¢ Both organizations strictly use the 10.0.0.0/8 address space for their instances, except for bastion hosts (for accessing the instances) and load balancers for serving web traffic.
"¢ There are no prefix overlaps between the two organizations.
"¢ Both organizations already have firewall rules that allow all inbound and outbound traffic from the 10.0.0.0/8 address space.
"¢ Neither organization has Interconnects to their on-premises environment.
You want to integrate networking and DNS infrastructure of both organizations as quickly as possible and with minimal downtime.
Which two steps should you take? (Choose two.)
These are the assumptions for both GCP environments.
"¢ Each organization has enabled full connectivity between all of its projects by using Shared VPC.
"¢ Both organizations strictly use the 10.0.0.0/8 address space for their instances, except for bastion hosts (for accessing the instances) and load balancers for serving web traffic.
"¢ There are no prefix overlaps between the two organizations.
"¢ Both organizations already have firewall rules that allow all inbound and outbound traffic from the 10.0.0.0/8 address space.
"¢ Neither organization has Interconnects to their on-premises environment.
You want to integrate networking and DNS infrastructure of both organizations as quickly as possible and with minimal downtime.
Which two steps should you take? (Choose two.)
- AProvision Cloud Interconnect to connect both organizations together.
- BSet up some variant of DNS forwarding and zone transfers in each organization.Most Voted
- CConnect VPCs in both organizations using Cloud VPN together with Cloud Router.Most Voted
- DUse Cloud DNS to create A records of all VMs and resources across all projects in both organizations.
- ECreate a third organization with a new host project, and attach all projects from your company and Altostrat to it using shared VPC.
Correct Answer:
BC
GPT-4o - Answer
The selection of Cloud VPN alongside Cloud Router (C) enables secure and direct connectivity between the two organizations' VPCs relying on common IP addressing, offering a quick route to integration without altering existing setups. On the other hand, creating A records via Cloud DNS (D) in a unified approach simplifies DNS management across both organizations, facilitating immediate access to resources irrespective of organizational boundaries. Both choices align with the goal of minimal downtime and the swift unification of network infrastructures, while abiding by the present DNS and domain retention directives. Always ensure each solution matches organizational strategies and compliance.
send
light_mode
delete
Question #15
Your on-premises data center has 2 routers connected to your Google Cloud environment through a VPN on each router. All applications are working correctly; however, all of the traffic is passing across a single VPN instead of being load-balanced across the 2 connections as desired.
During troubleshooting you find:
"¢ Each on-premises router is configured with a unique ASN.
"¢ Each on-premises router is configured with the same routes and priorities.
"¢ Both on-premises routers are configured with a VPN connected to a single Cloud Router.
"¢ BGP sessions are established between both on-premises routers and the Cloud Router.
"¢ Only 1 of the on-premises router's routes are being added to the routing table.
What is the most likely cause of this problem?
During troubleshooting you find:
"¢ Each on-premises router is configured with a unique ASN.
"¢ Each on-premises router is configured with the same routes and priorities.
"¢ Both on-premises routers are configured with a VPN connected to a single Cloud Router.
"¢ BGP sessions are established between both on-premises routers and the Cloud Router.
"¢ Only 1 of the on-premises router's routes are being added to the routing table.
What is the most likely cause of this problem?
- AThe on-premises routers are configured with the same routes.
- BA firewall is blocking the traffic across the second VPN connection.
- CYou do not have a load balancer to load-balance the network traffic.
- DThe ASNs being used on the on-premises routers are different.Most Voted
Correct Answer:
D
D
GPT-4o - Answer
When configuring routers for connectivity to Google Cloud, it's critical to use the same ASNs (Autonomous System Numbers) across on-premises routers if load balancing of traffic across multiple VPNs is desired. The routing behavior observed, where only one VPN route is being used, is indeed due to the Cloud Router prioritizing the path with the lower ASN. Unifying the ASNs across all on-premises routers can resolve this issue and enable expected load-balancing behavior.
send
light_mode
delete
Question #16
You have ordered Dedicated Interconnect in the GCP Console and need to give the Letter of Authorization/Connecting Facility Assignment (LOA-CFA) to your cross-connect provider to complete the physical connection.
Which two actions can accomplish this? (Choose two.)
Which two actions can accomplish this? (Choose two.)
- AOpen a Cloud Support ticket under the Cloud Interconnect category.
- BDownload the LOA-CFA from the Hybrid Connectivity section of the GCP Console.Most Voted
- CRun gcloud compute interconnects describe <interconnect>.
- DCheck the email for the account of the NOC contact that you specified during the ordering process.Most Voted
- EContact your cross-connect provider and inform them that Google automatically sent the LOA/CFA to them via email, and to complete the connection.
Correct Answer:
BD
GPT-4o - Answer
Regarding the LOA-CFA for Dedicated Interconnect after ordering from GCP: the document is primarily sent via email to the listed NOC contact, so ensure to check this mailbox. You can directly forward the LOA-CFA to your cross-connect provider from here. Additionally, though not primarily mentioned, it's possible to download the LOA-CFA from the Hybrid Connectivity section in the Google Cloud Console, if necessary. Thus, keeping an eye on the email and facilitating the document to your provider will be your main actions to enable the physical connection set-up.
send
light_mode
delete
Question #17
Your company offers a popular gaming service. Your instances are deployed with private IP addresses, and external access is granted through a global load balancer. You believe you have identified a potential malicious actor, but aren't certain you have the correct client IP address. You want to identify this actor while minimizing disruption to your legitimate users.
What should you do?
What should you do?
- ACreate a Cloud Armor Policy rule that denies traffic and review necessary logs.
- BCreate a Cloud Armor Policy rule that denies traffic, enable preview mode, and review necessary logs.Most Voted
- CCreate a VPC Firewall rule that denies traffic, enable logging and set enforcement to disabled, and review necessary logs.
- DCreate a VPC Firewall rule that denies traffic, enable logging and set enforcement to enabled, and review necessary logs.
Correct Answer:
B
GPT-4o - Answer
The best approach in this situation is to utilize Google Cloud Armor's preview mode, as detailed in Cloud Armor’s documentation regarding security policies. This method allows for the logging of suspect IPs without obstructing traffic—ensuring no legitimate users are inadvertently affected while investigating potential threats. Cloud Armor provides visibility at the application layer, which is critical when dealing with services exposed through a Global Load Balancer, where application-level inspection is essential to pinpoint the original client's IP address.
send
light_mode
delete
Question #18
Your company's web server administrator is migrating on-premises backend servers for an application to GCP. Libraries and configurations differ significantly across these backend servers. The migration to GCP will be lift-and-shift, and all requests to the servers will be served by a single network load balancer frontend.
You want to use a GCP-native solution when possible.
How should you deploy this service in GCP?
You want to use a GCP-native solution when possible.
How should you deploy this service in GCP?
- ACreate a managed instance group from one of the images of the on-premises servers, and link this instance group to a target pool behind your load balancer.
- BCreate a target pool, add all backend instances to this target pool, and deploy the target pool behind your load balancer.Most Voted
- CDeploy a third-party virtual appliance as frontend to these servers that will accommodate the significant differences between these backend servers.
- DUse GCP's ECMP capability to load-balance traffic to the backend servers by installing multiple equal-priority static routes to the backend servers.
Correct Answer:
B
Reference:
https://cloud.google.com/compute/docs/instance-groups/adding-an-instance-group-to-a-load-balancer
B
Reference:
https://cloud.google.com/compute/docs/instance-groups/adding-an-instance-group-to-a-load-balancer
send
light_mode
delete
Question #19
You decide to set up Cloud NAT. After completing the configuration, you find that one of your instances is not using the Cloud NAT for outbound NAT.
What is the most likely cause of this problem?
What is the most likely cause of this problem?
- AThe instance has been configured with multiple interfaces.
- BAn external IP address has been configured on the instance.Most Voted
- CYou have created static routes that use RFC1918 ranges.
- DThe instance is accessible by a load balancer external IP address.
Correct Answer:
B
Reference:
https://www.sovereignsolutionscorp.com/google-cloud-nat/
B
Reference:
https://www.sovereignsolutionscorp.com/google-cloud-nat/
send
light_mode
delete
Question #20
You want to set up two Cloud Routers so that one has an active Border Gateway Protocol (BGP) session, and the other one acts as a standby.
Which BGP attribute should you use on your on-premises router?
Which BGP attribute should you use on your on-premises router?
- AAS-Path
- BCommunity
- CLocal Preference
- DMulti-exit DiscriminatorMost Voted
Correct Answer:
D
Reference:
https://cloud.google.com/router/docs/concepts/overview
D
Reference:
https://cloud.google.com/router/docs/concepts/overview
send
light_mode
delete
All Pages
