πŸ”

PCNE β€” questions

Page 4 of 13 Β· 255 total questions.

Topic 1 Β· Question 61

You want to establish a dedicated connection to Google that can access Cloud SQL via a public IP address and that does not require a third-party service provider. Which connection type should you choose?

  • ACarrier Peering
  • BDirect Peering (correct answer)
  • CDedicated Interconnect
  • DPartner Interconnect
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Direct Peering.

Topic 1 Β· Question 62

You are configuring a new instance of Cloud Router in your Organization's Google Cloud environment to allow connection across a new Dedicated Interconnect to your data center Sales, Marketing, and IT each have a service project attached to the Organization's host project. Where should you create the Cloud Router instance?

  • AVPC network in all projects
  • BVPC network in the IT Project
  • CVPC network in the Host Project (correct answer)
  • DVPC network in the Sales, Marketing, and IT Projects
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: VPC network in the Host Project

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 63

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?

  • ACreate two firewall rules: one to block all traffic with priority 0, and another to allow port 22 with priority 1000.
  • BCreate two firewall rules: one to block all traffic with priority 65536, and another to allow port 3389 with priority 1000.
  • CCreate a single firewall rule to allow port 22 with priority 1000. (correct answer)
  • DCreate a single firewall rule to allow port 3389 with priority 1000.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a single firewall rule to allow port 22 with priority 1000.

Topic 1 Β· Question 64

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?

  • AOne of the VPN sessions is configured incorrectly. (correct answer)
  • BA firewall is blocking the traffic across the second VPN connection.
  • CYou do not have a load balancer to load-balance the network traffic.
  • DBGP sessions are not established between both on-premises routers and the Cloud Router.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: One of the VPN sessions is configured incorrectly.

Topic 1 Β· Question 65

You need to define an address plan for a future new GKE cluster in your 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?

  • A/21
  • B/22 (correct answer)
  • C/23
  • D/25
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: /22.

Topic 1 Β· Question 66

You have created a firewall with rules that only allow traffic over HTTP, HTTPS, and SSH ports. While testing, you specifically try to reach the server over multiple ports and protocols; however, you do not see any denied connections in the firewall logs. You want to resolve the issue. What should you do?

  • AEnable logging on the default Deny Any Firewall Rule.
  • BEnable logging on the VM Instances that receive traffic.
  • CCreate a logging sink forwarding all firewall logs with no filters.
  • DCreate an explicit Deny Any rule and enable logging on the new rule. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an explicit Deny Any rule and enable logging on the new rule.

Topic 1 Β· Question 67 Β· Select all that apply

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.)

  • AConnect both projects using Cloud VPN.
  • BConnect the VPCs in project code-dev and data-dev using VPC Network Peering. (correct answer)
  • CEnable Shared VPC in one project (e. g., code-dev), and make the second project (e. g., data-dev) a service project.
  • DEnable firewall rules to allow all ingress traffic from all subnets of project code-dev to all instances in project data-dev, and vice versa. (correct answer)
  • ECreate 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.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Connect the VPCs in project code-dev and data-dev using VPC Network Peering. Option 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.

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 68

You need to create a GKE cluster in an existing VPC that is accessible from on-premises. You must meet the following requirements: β€’ IP ranges for pods and services must be as small as possible. β€’ The nodes and the master must not be reachable from the internet. β€’ You must be able to use kubectl commands from on-premises subnets to manage the cluster. How should you create the GKE cluster?

  • A"Β’ Create a private cluster that uses VPC advanced routes. "Β’ Set the pod and service ranges as /24. "Β’ Set up a network proxy to access the master.
  • B"Β’ Create a VPC-native GKE cluster using GKE-managed IP ranges. "Β’ Set the pod IP range as /21 and service IP range as /24. "Β’ Set up a network proxy to access the master.
  • C"Β’ Create a VPC-native GKE cluster using user-managed IP ranges. "Β’ Enable a GKE cluster network policy, set the pod and service ranges as /24. "Β’ Set up a network proxy to access the master. "Β’ Enable master authorized networks.
  • D"Β’ Create a VPC-native GKE cluster using user-managed IP ranges. "Β’ Enable privateEndpoint on the cluster master. "Β’ Set the pod and service ranges as /24. "Β’ Set up a network proxy to access the master. "Β’ Enable master authorized networks. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: "Β’ Create a VPC-native GKE cluster using user-managed IP ranges. "Β’ Enable privateEndpoint on the cluster master. "Β’ Set the pod and service ranges as /24. "Β’ Set up a network proxy to access the master. "Β’ Enable mas...

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 69 Β· Select all that apply

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.)

  • ACreate a new health check using the gcloud command line tool. (correct answer)
  • BCreate a new health check using the VPC Network section in the GCP Console.
  • CCreate a new health check, or select an existing one, when you complete the load balancer's backend configuration in the GCP Console. (correct answer)
  • DCreate a new legacy health check using the gcloud command line tool.
  • ECreate a new legacy health check using the Health checks section in the GCP Console.
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Create a new health check using the gcloud command line tool. Option C: Create a new health check, or select an existing one, when you complete the load balancer's backend configuration in the GCP Console.

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 1 Β· Question 70

You are in the early stages of planning a migration to GCP. You want to test the functionality of your hybrid cloud design before you start to implement it in production. The design includes services running on a Compute Engine Virtual Machine instance that need to communicate to on-premises servers using private IP addresses. The on-premises servers have connectivity to the internet, but you have not yet established any Cloud Interconnect connections. You want to choose the lowest cost method of enabling connectivity between your instance and on-premises servers and complete the test in 24 hours. Which connectivity method should you choose?

  • ACloud VPN (correct answer)
  • B50-Mbps Partner VLAN attachment
  • CDedicated Interconnect with a single VLAN attachment
  • DDedicated Interconnect, but don't provision any VLAN attachments
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Cloud VPN

Explanation

Cloud VPN provides encrypted IPsec connectivity between on premises and a VPC. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 71

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?

  • ADynamic routing using Cloud Router
  • BRoute-based routing using default traffic selectors
  • CPolicy-based routing using a custom local traffic selector (correct answer)
  • DPolicy-based routing using the default local traffic selector
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Policy-based routing using a custom local traffic selector.

Topic 1 Β· Question 72 Β· Select all that apply

You have enabled HTTP(S) load balancing for your application, and your application developers have reported that HTTP(S) requests are not being distributed correctly to your Compute Engine Virtual Machine instances. You want to find data about how the request are being distributed. Which two methods can accomplish this? (Choose two.)

  • AOn the Load Balancer details page of the GCP Console, click on the Monitoring tab, select your backend service, and look at the graphs. (correct answer)
  • BIn Stackdriver Error Reporting, look for any unacknowledged errors for the Cloud Load Balancers service.
  • CIn Stackdriver Monitoring, select Resources > Metrics Explorer and search for https/request_bytes_count metric.
  • DIn Stackdriver Monitoring, select Resources > Google Cloud Load Balancers and review the Key Metrics graphs in the dashboard.
  • EIn Stackdriver Monitoring, create a new dashboard and track the https/backend_request_count metric for the load balancer. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: On the Load Balancer details page of the GCP Console, click on the Monitoring tab, select your backend service, and look at the graphs. Option E: In Stackdriver Monitoring, create a new dashboard and track the https/backend_request_count metric for the load balancer.

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale. Cloud Operations (formerly Stackdriver) provides monitoring, logging, and tracing for reliability.

Topic 1 Β· Question 73

You want to use Partner Interconnect to connect your on-premises network with your VPC. You already have an Interconnect partner. What should you first?

  • ALog in to your partner's portal and request the VLAN attachment there.
  • BAsk your Interconnect partner to provision a physical connection to Google.
  • CCreate a Partner Interconnect type VLAN attachment in the GCP Console and retrieve the pairing key. (correct answer)
  • DRun gcloud compute interconnect attachments partner update / --region --admin-enabled.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a Partner Interconnect type VLAN attachment in the GCP Console and retrieve the pairing key.

Explanation

Partner Interconnect provides private connectivity to Google Cloud through a service provider.

Topic 1 Β· Question 74

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?

  • ACreate a Google Group for the WebServices Team. (correct answer)
  • BCreate a G Suite Domain for the WebServices Team.
  • CCreate a new Cloud Identity Domain for the WebServices Team.
  • DCreate a new Custom Role for all members of the WebServices Team.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a Google Group for the WebServices Team.

Topic 1 Β· Question 75

You are using the gcloud command line tool to create a new custom role in a project by coping a predefined role. You receive this error message: INVALID_ARGUMENT: Permission resourcemanager.projects.list is not valid What should you do?

  • AAdd the resourcemanager.projects.get permission, and try again.
  • BTry again with a different role with a new name but the same permissions.
  • CRemove the resourcemanager.projects.list permission, and try again. (correct answer)
  • DAdd the resourcemanager.projects.setIamPolicy permission, and try again.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Remove the resourcemanager.projects.list permission, and try again.

Topic 1 Β· Question 76

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?

  • AAssign a public IP address to the instance.
  • BAssign a new reserved internal IP address to the instance.
  • CChange the instance's current internal IP address to static. (correct answer)
  • DAdd custom metadata to the instance with key internal-address and value reserved.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Change the instance's current internal IP address to static.

Topic 1 Β· Question 77

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?

  • AThe less specific VPC subnet route is taking priority.
  • BThe more specific VPC subnet route is taking priority. (correct answer)
  • CThe on-premises router is not advertising a route for the database server.
  • DA cloud firewall rule that blocks traffic to the on-premises database server was created during the change.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: The more specific VPC subnet route is taking priority.

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 78

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?

  • AConfigure global load balancing to point 172.16.45.0/24 to the correct instance.
  • BCreate unique DNS records for each service that sends traffic to the desired IP address.
  • CConfigure an alias-IP range of 172.16.45.0/24 on the virtual instances within the VPC subnet of 10.1.1.0/24. (correct answer)
  • DUse VPC peering to allow traffic to route between the 10.1.0.0/24 network and the 172.16.45.0/24 network.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option 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.

Explanation

A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 Β· Question 79

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?

  • AHTTP(S) load balancer
  • BNetwork load balancer
  • CInternal load balancer
  • DTCP/SSL proxy load balancer (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: TCP/SSL proxy load balancer

Explanation

A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 1 Β· Question 80

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?

  • AConfigure the existing Cloud Routers to advertise the Google API's public virtual IP addresses.
  • BUse Private Google Access for on-premises hosts with restricted.googleapis.com virtual IP addresses. (correct answer)
  • CConfigure the existing Cloud Routers to advertise a default route, and use Cloud NAT to translate traffic from your on-premises network.
  • DAdd Direct Peering links, and use them for connectivity to Google APIs that use public virtual IP addresses.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use Private Google Access for on-premises hosts with restricted.googleapis.com virtual IP addresses.

Explanation

Private Google Access lets internal instances reach Google APIs without external IPs.

Showing questions 61–80 of 255 Β· Page 4 of 13