Labour Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Google Cloud Certified - Professional Cloud Network Engineer Question and Answers

Google Cloud Certified - Professional Cloud Network Engineer

Last Update May 1, 2024
Total Questions : 170

We are offering FREE Professional-Cloud-Network-Engineer Google exam questions. All you do is to just go and sign up. Give your details, prepare Professional-Cloud-Network-Engineer free exam questions and then go for complete pool of Google Cloud Certified - Professional Cloud Network Engineer test questions that will help you more.

Professional-Cloud-Network-Engineer pdf

Professional-Cloud-Network-Engineer PDF

$35  $99.99
Professional-Cloud-Network-Engineer Engine

Professional-Cloud-Network-Engineer Testing Engine

$42  $119.99
Professional-Cloud-Network-Engineer PDF + Engine

Professional-Cloud-Network-Engineer PDF + Testing Engine

$56  $159.99
Questions 1

Your company has a single Virtual Private Cloud (VPC) network deployed in Google Cloud with on-premises connectivity already in place. You are deploying a new application using Google Kubernetes Engine (GKE), which must be accessible only from the same VPC network and on-premises locations. You must ensure that the GKE control plane is exposed to a predefined list of on-premises subnets through private connectivity only. What should you do?

Options:

A.  

Create a GKE private cluster with a private endpoint for the control plane. Configure VPC Networking Peering export/import routes and custom route advertisements on the Cloud Routers. Configure authorized networks to specify the desired on-premises subnets.

B.  

Create a GKE private cluster with a public endpoint for the control plane. Configure VPC Networking Peering export/import routes and custom route advertisements on the Cloud Routers.

C.  

Create a GKE private cluster with a private endpoint for the control plane. Configure authorized networks to specify the desired on-premises subnets.

D.  

Create a GKE public cluster. Configure authorized networks to specify the desired on-premises subnets.

Discussion 0
Questions 2

You are deploying an application that runs on Compute Engine instances. You need to determine how to expose your application to a new customer You must ensure that your application meets the following requirements

• Maps multiple existing reserved external IP addresses to the Instance

• Processes IP Encapsulating Security Payload (ESP) traffic

What should you do?

Options:

A.  

Configure a target pool, and create protocol forwarding rules for each external IP address.

B.  

Configure a backend service, and create an external network load balancer for each external IP address

C.  

Configure a target instance, and create a protocol forwarding rule for each external IP address to be mapped to the instance.

D.  

Configure the Compute Engine Instances' network Interface external IP address from None to Ephemeral Add as many external IP addresses as required

Discussion 0
Questions 3

Your company has 10 separate Virtual Private Cloud (VPC) networks, with one VPC per project in a single region in Google Cloud. Your security team requires each VPC network to have private connectivity to the main on-premises location via a Partner Interconnect connection in the same region. To optimize cost and operations, the same connectivity must be shared with all projects. You must ensure that all traffic between different projects, on-premises locations, and the internet can be inspected using the same third-party appliances. What should you do?

Options:

A.  

Configure the third-party appliances with multiple interfaces and specific Partner Interconnect VLAN attachments per project. Create the relevant routes on the third-party appliances and VPC networks.

B.  

Configure the third-party appliances with multiple interfaces, with each interface connected to a separate VPC network. Create separate VPC networks for on- premises and internet connectivity. Create the relevant routes on the third-party appliances and VPC networks.

C.  

Consolidate all existing projects’ subnetworks into a single VP

C.  

Create separate VPC networks for on-premises and internet connectivity. Configure the third-party appliances with multiple interfaces, with each interface connected to a separate VPC network. Create the relevant routes on the third-party appliances and VPC networks.

D.  

Configure the third-party appliances with multiple interfaces. Create a hub VPC network for all projects, and create separate VPC networks for on-premises and internet connectivity. Create the relevant routes on the third-party appliances and VPC networks. Use VPC Network Peering to connect all projects’ VPC networks to the hub VPC. Export custom routes from the hub VPC and import on all projects’ VPC networks.

Discussion 0
Questions 4

Your organization uses a hub-and-spoke architecture with critical Compute Engine instances in your Virtual Private Clouds (VPCs). You are responsible for the design of Cloud DNS in Google Cloud. You need to be able to resolve Cloud DNS private zones from your on-premises data center and enable on-premises name resolution from your hub-and-spoke VPC design. What should you do?

Options:

A.  

Configure a private DNS zone in the hub VPC, and configure DNS forwarding to the on-premises server.

Configure DNS peering from the spoke VPCs to the hub VPC.

B.  

Configure a DNS policy in the hub VPC to allow inbound query forwarding from the spoke VPCs.

Configure the spoke VPCs with a private zone, and set up DNS peering to the hub VPC.

C.  

Configure a DNS policy in the spoke VPCs, and configure your on-premises DNS as an alternate DNS server.

Configure the hub VPC with a private zone, and set up DNS peering to each of the spoke VPCs.

D.  

Configure a DNS policy in the hub VPC, and configure the on-premises DNS as an alternate DNS server.

Configure the spoke VPCs with a private zone, and set up DNS peering to the hub VPC.

Discussion 0
Questions 5

You recently configured Google Cloud Armor security policies to manage traffic to your application. You discover that Google Cloud Armor is incorrectly blocking some traffic to your application. You need to identity the web application firewall (WAF) rule that is incorrectly blocking traffic. What should you do?

Options:

A.  

Enable firewall logs, and view the logs in Firewall Insights.

B.  

Enable HTTP(S) Load Balancing logging with sampling rate equal to 1, and view the logs in Cloud Logging.

C.  

Enable VPC Flow Logs, and view the logs in Cloud Logging.

D.  

Enable Google Cloud Armor audit logs, and view the logs on the Activity page in the Google Cloud Console.

Discussion 0
Questions 6

After a network change window one of your company’s applications stops working. The application uses an on-premises database server that no longer receives any traffic from the application. The database server IP address is 10.2.1.25. You examine the change request, and the only change is that 3 additional VPC subnets were created. The new VPC subnets created are 10.1.0.0/16, 10.2.0.0/16, and 10.3.1.0/24/ The on-premises router is advertising 10.0.0.0/8.

What is the most likely cause of this problem?

Options:

A.  

The less specific VPC subnet route is taking priority.

B.  

The more specific VPC subnet route is taking priority.

C.  

The on-premises router is not advertising a route for the database server.

D.  

A cloud firewall rule that blocks traffic to the on-premises database server was created during the change.

Discussion 0
Questions 7

You are configuring load balancing for a standard three-tier (web, application, and database) application. You have configured an external HTTP(S) load balancer for the web servers. You need to configure load balancing for the application tier of servers. What should you do?

Options:

A.  

Configure a forwarding rule on the existing load balancer for the application tier.

B.  

Configure equal cost multi-path routing on the application servers.

C.  

Configure a new internal HTTP(S) load balancer for the application tier.

D.  

Configure a URL map on the existing load balancer to route traffic to the application tier.

Discussion 0
Questions 8

You have several microservices running in a private subnet in an existing Virtual Private Cloud (VPC). You need to create additional serverless services that use Cloud Run and Cloud Functions to access the microservices. The network traffic volume between your serverless services and private microservices is low. However, each serverless service must be able to communicate with any of your microservices. You want to implement a solution that minimizes cost. What should you do?

Options:

A.  

Deploy your serverless services to the serverless VPC. Peer the serverless service VPC to the existing VPC. Configure firewall rules to allow traffic between the serverless services and your existing microservices.

B.  

Create a serverless VPC access connector for each serverless service. Configure the connectors to allow traffic between the serverless services and your existing microservices.

C.  

Deploy your serverless services to the existing VP

C.  

Configure firewall rules to allow traffic between the serverless services and your existing microservices.

D.  

Create a serverless VPC access connector. Configure the serverless service to use the connector for communication to the microservices.

Discussion 0
Questions 9

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?

Options:

A.  

None

B.  

Client IP

C.  

Client IP and protocol

D.  

Client IP, port and protocol

Discussion 0
Questions 10

In your company, two departments with separate GCP projects (code-dev and data-dev) in the same organization need to allow full cross-communication between all of their virtual machines in GCP. Each department has one VPC in its project and wants full control over their network. Neither department intends to recreate its existing computing resources. You want to implement a solution that minimizes cost.

Which two steps should you take? (Choose two.)

Options:

A.  

Connect both projects using Cloud VPN.

B.  

Connect the VPCs in project code-dev and data-dev using VPC Network Peering.

C.  

Enable Shared VPC in one project (e. g., code-dev), and make the second project (e. g., data-dev) a service project.

D.  

Enable firewall rules to allow all ingress traffic from all subnets of project code-dev to all instances in project data-dev, and vice versa.

E.  

Create a route in the code-dev project to the destination prefixes in project data-dev and use nexthop as the default gateway, and vice versa.

Discussion 0
Questions 11

You are in the process of deploying an internal HTTP(S) load balancer for your web server virtual machine (VM) Instances What two prerequisite tasks must be completed before creating the load balancer?

Choose 2 answers

Options:

A.  

Choose a region.

B.  

Create firewall rules for health checks

C.  

Reserve a static IP address for the load balancer

D.  

Determine the subnet mask for a proxy-only subnet.

E.  

Determine the subnet mask for Serverless VPC Access.

Discussion 0
Questions 12

You have the following firewall ruleset applied to all instances in your Virtual Private Cloud (VPC):

You need to update the firewall rule to add the following rule to the ruleset:

You are using a new user account. You must assign the appropriate identity and Access Management (IAM) user roles to this new user account before updating the firewall rule. The new user account must be able to apply the update and view firewall logs. What should you do?

Options:

A.  

Assign the compute.securityAdmin and logging.viewer rule to the new user account. Apply the new firewall rule with a priority of 50.

B.  

Assign the compute.securityAdmin and logging.bucketWriter role to the new user account. Apply the new firewall rule with a priority of 150.

C.  

Assign the compute.orgSecurityPolicyAdmin and logging.viewer role to the new user account. Apply the new firewall rule with a priority of 50.

D.  

Assign the compute.orgSecurityPolicyAdmin and logging.bucketWriter role to the new user account. Apply the new firewall rule with a priority of 150.

Discussion 0
Questions 13

You converted an auto mode VPC network to custom mode. Since the conversion, some of your Cloud Deployment Manager templates are no longer working. You want to resolve the problem.

What should you do?

Options:

A.  

Apply an additional IAM role to the Google API’s service account to allow custom mode networks.

B.  

Update the VPC firewall to allow the Cloud Deployment Manager to access the custom mode networks.

C.  

Explicitly reference the custom mode networks in the Cloud Armor whitelist.

D.  

Explicitly reference the custom mode networks in the Deployment Manager templates.

Discussion 0
Questions 14

You are designing an IP address scheme for new private Google Kubernetes Engine (GKE) clusters. Due to IP address exhaustion of the RFC 1918 address space In your enterprise, you plan to use privately used public IP space for the new clusters. You want to follow Google-recommended practices. What should you do after designing your IP scheme?

Options:

A.  

Create the minimum usable RFC 1918 primary and secondary subnet IP ranges for the clusters. Re-use the secondary address range for the pods across multiple private GKE clusters

B.  

Create the minimum usable RFC 1918 primary and secondary subnet IP ranges for the clusters Re-use the secondary address range for the services across multiple private GKE clusters

C.  

Create privately used public IP primary and secondary subnet ranges for the clusters. Create a private GKE cluster with the following options selected and

D.  

Create privately used public IP primary and secondary subnet ranges for the clusters. Create a private GKE cluster With the following options selected --disable-default-snat, —enable-ip-alias, and—enable-private-nodes

Discussion 0
Questions 15

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?

Options:

A.  

Enable Data Access audit logs of the VPC. Analyze the logs and get the source IP addresses from the subnetworks.get field.

B.  

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

C.  

Enable VPC Flow Logs for the VP

C.  

Analyze the logs and get the source IP addresses from the src_location field.

D.  

Enable Data Access audit logs of the subnet. Analyze the logs and get the source IP addresses from the networks.get field.

Discussion 0
Questions 16

You need to define an address plan for a future new Google Kubernetes Engine (GKE) cluster in your Virtual Private Cloud (VPC). This will be a VPC-native cluster, and the default Pod IP range allocation will be used. You must pre-provision all the needed VPC subnets and their respective IP address ranges before cluster creation. The cluster will initially have a single node, but it will be scaled to a maximum of three nodes if necessary. You want to allocate the minimum number of Pod IP addresses. Which subnet mask should you use for the Pod IP address range?

Options:

A.  

/21

B.  

/22

C.  

/23

D.  

/25

Discussion 0
Questions 17

Your company’s on-premises network is connected to a VPC using a Cloud VPN tunnel. You have a static route of 0.0.0.0/0 with the VPN tunnel as its next hop defined in the VPC. All internet bound traffic currently passes through the on-premises network. You configured Cloud NAT to translate the primary IP addresses of Compute Engine instances in one region. Traffic from those instances will now reach the internet directly from their VPC and not from the on-premises network. Traffic from the virtual machines (VMs) is not translating addresses as expected. What should you do?

Options:

A.  

Lower the TCP Established Connection Idle Timeout for the NAT gateway.

B.  

Add firewall rules that allow ingress and egress of the external NAT IP address, have a target tag that is on the Compute Engine instances, and have a priority value higher than the priority value of the default route to the VPN gateway.

C.  

Add a default static route to the VPC with the default internet gateway as the next hop, the network tag associated with the Compute Engine instances, and a higher priority than the priority of the default route to the VPN tunnel.

D.  

Increase the default min-ports-per-vm setting for the Cloud NAT gateway.

Discussion 0
Questions 18

You are deploying a global external TCP load balancing solution and want to preserve the source IP address of the original layer 3 payload.

Which type of load balancer should you use?

Options:

A.  

HTTP(S) load balancer

B.  

Network load balancer

C.  

Internal load balancer

D.  

TCP/SSL proxy load balancer

Discussion 0
Questions 19

You recently deployed Compute Engine instances in regions us-west1 and us-east1 in a Virtual Private Cloud (VPC) with default routing configurations. Your company security policy mandates that virtual machines (VMs) must not have public IP addresses attached to them. You need to allow your instances to fetch updates from the internet while preventing external access. What should you do?

Options:

A.  

Create a Cloud NAT gateway and Cloud Router in both us-west1 and us-east1.

B.  

Create a single global Cloud NAT gateway and global Cloud Router in the VPC.

C.  

Change the instances’ network interface external IP address from None to Ephemeral.

D.  

Create a firewall rule that allows egress to destination 0.0.0.0/0.

Discussion 0
Questions 20

You want to create a service in GCP using IPv6.

What should you do?

Options:

A.  

Create the instance with the designated IPv6 address.

B.  

Configure a TCP Proxy with the designated IPv6 address.

C.  

Configure a global load balancer with the designated IPv6 address.

D.  

Configure an internal load balancer with the designated IPv6 address.

Discussion 0
Questions 21

You need to create the network infrastructure to deploy a highly available web application in the us-east1 and us-west1 regions. The application runs on Compute Engine instances, and it does not require the use of a database. You want to follow Google-recommended practices. What should you do?

Options:

A.  

Create one VPC with one subnet in each region.

Create a regional network load balancer in each region with a static IP address.

Enable Cloud CDN on the load balancers.

Create an A record in Cloud DNS with both IP addresses for the load balancers.

B.  

Create one VPC with one subnet in each region.

Create a global load balancer with a static IP address.

Enable Cloud CDN and Google Cloud Armor on the load balancer.

Create an A record using the IP address of the load balancer in Cloud DNS.

C.  

Create one VPC in each region, and peer both VPCs.

Create a global load balancer.

Enable Cloud CDN on the load balancer.

Create a CNAME for the load balancer in Cloud DNS.

D.  

Create one VPC with one subnet in each region.

Create an HTTP(S) load balancer with a static IP address.

Choose the standard tier for the network.

Enable Cloud CDN on the load balancer.

Create a CNAME record using the load balancer’s IP address in Cloud DNS.

Discussion 0
Questions 22

You are using a 10-Gbps direct peering connection to Google together with the gsutil tool to upload files to Cloud Storage buckets from on-premises servers. The on-premises servers are 100 milliseconds away from the Google peering point. You notice that your uploads are not using the full 10-Gbps bandwidth available to you. You want to optimize the bandwidth utilization of the connection.

What should you do on your on-premises servers?

Options:

A.  

Tune TCP parameters on the on-premises servers.

B.  

Compress files using utilities like tar to reduce the size of data being sent.

C.  

Remove the -m flag from the gsutil command to enable single-threaded transfers.

D.  

Use the perfdiag parameter in your gsutil command to enable faster performance: gsutil perfdiag gs://[BUCKET NAME].

Discussion 0
Questions 23

You are designing a shared VPC architecture. Your network and security team has strict controls over which routes are exposed between departments. Your Production and Staging departments can communicate with each other, but only via specific networks. You want to follow Google-recommended practices.

How should you design this topology?

Options:

A.  

Create 2 shared VPCs within the shared VPC Host Project, and enable VPC peering between them. Use firewall rules to filter access between the specific networks.

B.  

Create 2 shared VPCs within the shared VPC Host Project, and create a Cloud VPN/Cloud Router between them. Use Flexible Route Advertisement (FRA) to filter access between the specific networks.

C.  

Create 2 shared VPCs within the shared VPC Service Project, and create a Cloud VPN/Cloud Router between them. Use Flexible Route Advertisement (FRA) to filter access between the specific networks.

D.  

Create 1 VPC within the shared VPC Host Project, and share individual subnets with the Service Projects to filter access between the specific networks.

Discussion 0
Questions 24

You are creating a new application and require access to Cloud SQL from VPC instances without public IP addresses.

Which two actions should you take? (Choose two.)

Options:

A.  

Activate the Service Networking API in your project.

B.  

Activate the Cloud Datastore API in your project.

C.  

Create a private connection to a service producer.

D.  

Create a custom static route to allow the traffic to reach the Cloud SQL API.

E.  

Enable Private Google Access.

Discussion 0
Questions 25

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?

Options:

A.  

Dynamic routing using Cloud Router

B.  

Route-based routing using default traffic selectors

C.  

Policy-based routing using a custom local traffic selector

D.  

Policy-based routing using the default local traffic selector

Discussion 0
Questions 26

You have recently been put in charge of managing identity and access management for your organization. You have several projects and want to use scripting and automation wherever possible. You want to grant the editor role to a project member.

Which two methods can you use to accomplish this? (Choose two.)

Options:

A.  

GetIamPolicy() via REST API

B.  

setIamPolicy() via REST API

C.  

gcloud pubsub add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor

D.  

gcloud projects add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor

E.  

Enter an email address in the Add members field, and select the desired role from the drop-down menu in the GCP Console.

Discussion 0
Questions 27

You are designing a new application that has backends internally exposed on port 800. The application will be exposed externally using both IPv4 and IPv6 via TCP on port 700. You want to ensure high availability for this application. What should you do?

Options:

A.  

Create a network load balancer that used backend services containing one instance group with two instances.

B.  

Create a network load balancer that uses a target pool backend with two instances.

C.  

Create a TCP proxy that uses a zonal network endpoint group containing one instance.

D.  

Create a TCP proxy that uses backend services containing an instance group with two instances.

Discussion 0
Questions 28

You have configured Cloud CDN using HTTP(S) load balancing as the origin for cacheable content. Compression is configured on the web servers, but responses served by Cloud CDN are not compressed.

What is the most likely cause of the problem?

Options:

A.  

You have not configured compression in Cloud CDN.

B.  

You have configured the web servers and Cloud CDN with different compression types.

C.  

The web servers behind the load balancer are configured with different compression types.

D.  

You have to configure the web servers to compress responses even if the request has a Via header.

Discussion 0
Questions 29

You successfully provisioned a single Dedicated Interconnect. The physical connection is at a colocation facility closest to us-west2. Seventy-five percent of your workloads are in us-east4, and the remaining twenty-five percent of your workloads are in us-central1. All workloads have the same network traffic profile. You need to minimize data transfer costs when deploying VLAN attachments. What should you do?

Options:

A.  

Keep the existing Dedicated interconnect. Deploy a VLAN attachment to a Cloud Router in us-west2, and use VPC global routing to access workloads in us-east4 and us-central1.

B.  

Keep the existing Dedicated Interconnect. Deploy a VLAN attachment to a Cloud Router in us-east4, and deploy another VLAN attachment to a Cloud Router in us-central1.

C.  

Order a new Dedicated Interconnect for a colocation facility closest to us-east4, and use VPC global routing to access workloads in us-central1.

D.  

Order a new Dedicated Interconnect for a colocation facility closest to us-central1, and use VPC global routing to access workloads in us-east4.

Discussion 0
Questions 30

You ate planning to use Terraform to deploy the Google Cloud infrastructure for your company, The design must meet the following requirements

• Each Google Cloud project must represent an Internal project that your team Will work on

• After an Internal project is finished, the infrastructure must be deleted

• Each Internal project must have Its own Google Cloud project owner to manage the Google Cloud resources.

• You have 10—100 projects deployed at a time

While you are writing the Terraform code, you need to ensure that the deployment is simple and the code is reusable With

centralized management What should you do?

Options:

A.  

Create a Single project and additional VPCs for each internal project

B.  

Create a Single Shared VPC and attach each Google Cloud project as a service project

C.  

Create a Single project and Single VPC for each internal project

D.  

Create a Shared VPC and service project for each internal project

Discussion 0
Questions 31

You configured Cloud VPN with dynamic routing via Border Gateway Protocol (BGP). You added a custom route to advertise a network that is reachable over the VPN tunnel. However, the on-premises clients still cannot reach the network over the VPN tunnel. You need to examine the logs in Cloud Logging to confirm that the appropriate routers are being advertised over the VPN tunnel. Which filter should you use in Cloud Logging to examine the logs?

Options:

A.  

resource.type= “gce_router”

B.  

resource.type= “gce_network_region”

C.  

resource.type= “vpn_tunnel”

D.  

resource.type= “vpn_gateway”

Discussion 0
Questions 32

Your on-premises data center has 2 routers connected to your GCP 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 the same 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.

•The VPN logs have no-proposal-chosen lines when the VPNs are connecting.

•BGP session is not established between one on-premises router and the Cloud Router.

What is the most likely cause of this problem?

Options:

A.  

One of the VPN sessions is configured incorrectly.

B.  

A firewall is blocking the traffic across the second VPN connection.

C.  

You do not have a load balancer to load-balance the network traffic.

D.  

BGP sessions are not established between both on-premises routers and the Cloud Router.

Discussion 0
Questions 33

One instance in your VPC is configured to run with a private IP address only. You want to ensure that even if this instance is deleted, its current private IP address will not be automatically assigned to a different instance.

In the GCP Console, what should you do?

Options:

A.  

Assign a public IP address to the instance.

B.  

Assign a new reserved internal IP address to the instance.

C.  

Change the instance’s current internal IP address to static.

D.  

Add custom metadata to the instance with key internal-address and value reserved.

Discussion 0
Questions 34

Your company’s Google Cloud-deployed, streaming application supports multiple languages. The application development team has asked you how they should support splitting audio and video traffic to different backend Google Cloud storage buckets. They want to use URL maps and minimize operational overhead. They are currently using the following directory structure:

/fr/video

/en/video

/es/video

/../video

/fr/audio

/en/audio

/es/audio

/../audio

Which solution should you recommend?

Options:

A.  

Rearrange the directory structure, create a URL map and leverage a path rule such as /video/* and /audio/*.

B.  

Rearrange the directory structure, create DNS hostname entries for video and audio and leverage a path rule such as /video/* and /audio/*.

C.  

Leave the directory structure as-is, create a URL map and leverage a path rule such as \/[a-z]{2}\/video and

\/[a-z]{2}\/audio.

D.  

Leave the directory structure as-is, create a URL map and leverage a path rule such as /*/video and /*/ audio.

Discussion 0
Questions 35

You have the networking configuration shown in the diagram. A pair of redundant Dedicated Interconnect connections (int-Igal and int-Iga2) terminate on the same Cloud Router. The Interconnect connections terminate on two separate on-premises routers. You are advertising the same prefixes from the Border Gateway Protocol (BGP) sessions associated with the Dedicated Interconnect connections. You need to configure one connection as Active for both ingress and egress traffic. If the active Interconnect connection fails, you want the passive Interconnect connection to automatically begin routing all traffic Which two actions should you take to meet this requirement? (Choose Two)

Options:

A.  

Configure the advertised route priority > 10,200 on the active Interconnect connection.

B.  

Advertise a lower MED on the passive Interconnect connection from the on-premises router

C.  

Configure the advertised route priority as 200 for the BGP session associated with the active Interconnect connection.

D.  

Configure the advertised route priority as 200 for the BGP session associated with the passive Interconnect connection.

E.  

Advertise a lower MED on the active Interconnect connection from the on-premises router

Discussion 0
Questions 36

You are increasing your usage of Cloud VPN between on-premises and GCP, and you want to support more traffic than a single tunnel can handle. You want to increase the available bandwidth using Cloud VPN.

What should you do?

Options:

A.  

Double the MTU on your on-premises VPN gateway from 1460 bytes to 2920 bytes.

B.  

Create two VPN tunnels on the same Cloud VPN gateway that point to the same destination VPN gateway IP address.

C.  

Add a second on-premises VPN gateway with a different public IP address. Create a second tunnel on the existing Cloud VPN gateway that forwards the same IP range, but points at the new on-premises gateway IP.

D.  

Add a second Cloud VPN gateway in a different region than the existing VPN gateway. Create a new tunnel on the second Cloud VPN gateway that forwards the same IP range, but points to the existing on-premises VPN gateway IP address.

Discussion 0
Questions 37

Your company has defined a resource hierarchy that includes a parent folder with subfolders for each department. Each department defines their respective project and VPC in the assigned folder and has the appropriate permissions to create Google Cloud firewall rules. The VPCs should not allow traffic to flow between them. You need to block all traffic from any source, including other VPCs, and delegate only the intra-VPC firewall rules to the respective departments. What should you do?

Options:

A.  

Create a VPC firewall rule in each VPC to block traffic from any source, with priority 0.

B.  

Create a VPC firewall rule in each VPC to block traffic from any source, with priority 1000.

C.  

Create two hierarchical firewall policies per department's folder with two rules in each: a high-priority rule that matches traffic from the private CIDRs assigned to the respective VPC and sets the action to allow, and another lower-priority rule that blocks traffic from any other source.

D.  

Create two hierarchical firewall policies per department's folder with two rules in each: a high-priority rule that matches traffic from the private CIDRs assigned to the respective VPC and sets the action to goto_next, and another lower-priority rule that blocks traffic from any other source.

Discussion 0
Questions 38

You are responsible for configuring firewall policies for your company in Google Cloud. Your security team has a strict set of requirements that must be met to configure firewall rules.

Always allow Secure Shell (SSH) from your corporate IP address.

Restrict SSH access from all other IP addresses.

There are multiple projects and VPCs in your Google Cloud organization. You need to ensure that other VPC firewall rules cannot bypass the security team’s requirements. What should you do?

Options:

A.  

Configure a hierarchical firewall policy to the organization node to allow TCP port 22 for your corporate IP address with priority 0.

Configure a hierarchical firewall policy to the organization node to deny TCP port 22 for all IP addresses with priority 1.

B.  

Configure a VPC firewall rule to allow TCP port 22 for your corporate IP address with priority 0.

Configure a VPC firewall rule to deny TCP port 22 for all IP addresses with priority 1.

C.  

Configure a VPC firewall rule to allow TCP port 22 for your corporate IP address with priority 1.

Configure a VPC firewall rule to deny TCP port 22 for all IP addresses with priority 0.

D.  

Configure a hierarchical firewall policy to the organization node to allow TCP port 22 for your corporate IP address with priority 1

Configure a hierarchical firewall policy to the organization node to deny TCP port 22 for all IP addresses with priority 0.

Discussion 0
Questions 39

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?

Options:

A.  

Create a Cloud Armor Policy rule that denies traffic and review necessary logs.

B.  

Create a Cloud Armor Policy rule that denies traffic, enable preview mode, and review necessary logs.

C.  

Create a VPC Firewall rule that denies traffic, enable logging and set enforcement to disabled, and review necessary logs.

D.  

Create a VPC Firewall rule that denies traffic, enable logging and set enforcement to enabled, and review necessary logs.

Discussion 0
Questions 40

Your organization has a new security policy that requires you to monitor all egress traffic payloads from your virtual machines in region us-west2. You deployed an intrusion detection system (IDS) virtual appliance in the same region to meet the new policy. You now need to integrate the IDS into the environment to monitor all egress traffic payloads from us-west2. What should you do?

Options:

A.  

Enable firewall logging, and forward all filtered egress firewall logs to the IDS.

B.  

Enable VPC Flow Logs. Create a sink in Cloud Logging to send filtered egress VPC Flow Logs to the IDS.

C.  

Create an internal TCP/UDP load balancer for Packet Mirroring, and add a packet mirroring policy filter for egress traffic.

D.  

Create an internal HTTP(S) load balancer for Packet Mirroring, and add a packet mirroring policy filter for egress traffic.

Discussion 0
Questions 41

Your end users are located in close proximity to us-east1 and europe-west1. Their workloads need to communicate with each other. You want to minimize cost and increase network efficiency.

How should you design this topology?

Options:

A.  

Create 2 VPCs, each with their own regions and individual subnets. Create 2 VPN gateways to establish connectivity between these regions.

B.  

Create 2 VPCs, each with their own region and individual subnets. Use external IP addresses on the instances to establish connectivity between these regions.

C.  

Create 1 VPC with 2 regional subnets. Create a global load balancer to establish connectivity between the regions.

D.  

Create 1 VPC with 2 regional subnets. Deploy workloads in these subnets and have them communicate using private RFC1918 IP addresses.

Discussion 0
Questions 42

You are creating an instance group and need to create a new health check for HTTP(s) load balancing.

Which two methods can you use to accomplish this? (Choose two.)

Options:

A.  

Create a new health check using the gcloud command line tool.

B.  

Create a new health check using the VPC Network section in the GCP Console.

C.  

Create a new health check, or select an existing one, when you complete the load balancer’s backend configuration in the GCP Console.

D.  

Create a new legacy health check using the gcloud command line tool.

E.  

Create a new legacy health check using the Health checks section in the GCP Console.

Discussion 0
Questions 43

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?

Options:

A.  

Add an appropriate lifecycle rule on the storage bucket.

B.  

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

C.  

Make sure that all the objects with prefix folder-a are not shared publicly.

D.  

Disable Cloud CDN on the storage bucket. Wait 90 seconds. Re-enable Cloud CDN on the storage bucket.

Discussion 0
Questions 44

Your organization has a Google Cloud Virtual Private Cloud (VPC) with subnets in us-east1, us-west4, and europe-west4 that use the default VPC configuration. Employees in a branch office in Europe need to access the resources in the VPC using HA VPN. You configured the HA VPN associated with the Google Cloud VPC for your organization with a Cloud Router deployed in europe-west4. You need to ensure that the users in the branch office can quickly and easily access all resources in the VPC. What should you do?

Options:

A.  

Create custom advertised routes for each subnet.

B.  

Configure each subnet’s VPN connections to use Cloud VPN to connect to the branch office.

C.  

Configure the VPC dynamic routing mode to Global.

D.  

Set the advertised routes to Global for the Cloud Router.

Discussion 0
Questions 45

You are disabling DNSSEC for one of your Cloud DNS-managed zones. You removed the DS records from your zone file, waited for them to expire from the cache, and disabled DNSSEC for the zone. You receive reports that DNSSEC validating resolves are unable to resolve names in your zone.

What should you do?

Options:

A.  

Update the TTL for the zone.

B.  

Set the zone to the TRANSFER state.

C.  

Disable DNSSEC at your domain registar.

D.  

Transfer ownership of the domain to a new registar.

Discussion 0
Questions 46

You created a new VPC for your development team. You want to allow access to the resources in this VPC via SSH only.

How should you configure your firewall rules?

Options:

A.  

Create two firewall rules: one to block all traffic with priority 0, and another to allow port 22 with priority 1000.

B.  

Create two firewall rules: one to block all traffic with priority 65536, and another to allow port 3389 with priority 1000.

C.  

Create a single firewall rule to allow port 22 with priority 1000.

D.  

Create a single firewall rule to allow port 3389 with priority 1000.

Discussion 0
Questions 47

You are migrating to Cloud DNS and want to import your BIND zone file.

Which command should you use?

Options:

A.  

gcloud dns record-sets import ZONE_FILE --zone MANAGED_ZONE

B.  

gcloud dns record-sets import ZONE_FILE --replace-origin-ns --zone MANAGED_ZONE

C.  

gcloud dns record-sets import ZONE_FILE --zone-file-format --zone MANAGED_ZONE

D.  

gcloud dns record-sets import ZONE_FILE --delete-all-existing --zone MANAGED ZONE

Discussion 0
Questions 48

You need to configure the Border Gateway Protocol (BGP) session for a VPN tunnel you just created between two Google Cloud VPCs, 10.1.0.0/16 and 172.16.0.0/16. You have a Cloud Router (router-1) in the 10.1.0.0/16 network and a second Cloud Router (router-2) in the 172.16.0.0/16 network. Which configuration should you use for the BGP session?

Options:

A.  

B.  

C.  

D.  

Discussion 0
Questions 49

You need to configure a Google Kubernetes Engine (GKE) cluster. The initial deployment should have 5 nodes with the potential to scale to 10 nodes. The maximum number of Pods per node is 8. The number of services could grow from 100 to up to 1024. How should you design the IP schema to optimally meet this requirement?

Options:

A.  

Configure a /28 primary IP address range for the node IP addresses. Configure a (25 secondary IP range for the Pods. Configure a /22 secondary IP range for the Services.

B.  

Configure a /28 primary IP address range for the node IP addresses. Configure a /25 secondary IP range for the Pods. Configure a /21 secondary IP range for the Services.

C.  

Configure a /28 primary IP address range for the node IP addresses. Configure a /28 secondary IP range for the Pods. Configure a /21 secondary IP range for the Services.

D.  

Configure a /28 primary IP address range for the node IP addresses. Configure a /24 secondary IP range for the Pads. Configure a /22 secondary IP range for the Services.

Discussion 0
Questions 50

You are responsible for designing a new connectivity solution between your organization's on-premises data center and your Google Cloud Virtual Private Cloud (VPC) network Currently, there Is no end-to-end connectivity. You must ensure a service level agreement (SLA) of 99.99% availability What should you do?

Options:

A.  

Use one Dedicated Interconnect connection in a single metropolitan area. Configure one Cloud Router and enable global routing in the VPC.

B.  

Use a Direct Peering connection between your on-premises data center and Google Cloud. Configure Classic VPN with two tunnels and one Cloud Router.

C.  

Use two Dedicated Interconnect connections in a single metropolitan area. Configure one Cloud Router and enable global routing in the VP

C.  

D.  

Use HA VPN. Configure one tunnel from each Interface of the VPN gateway to connect to the corresponding interfaces on the peer gateway on-premises. Configure one Cloud Router and enable global routing in the VPC.

Discussion 0
Questions 51

You have deployed a proof-of-concept application by manually placing instances in a single Compute Engine zone. You are now moving the application to production, so you need to increase your application availability and ensure it can autoscale.

How should you provision your instances?

Options:

A.  

Create a single managed instance group, specify the desired region, and select Multiple zones for the location.

B.  

Create a managed instance group for each region, select Single zone for the location, and manually distribute instances across the zones in that region.

C.  

Create an unmanaged instance group in a single zone, and then create an HTTP load balancer for the instance group.

D.  

Create an unmanaged instance group for each zone, and manually distribute the instances across the desired zones.

Discussion 0