🔍

PCNE — questions

Page 2 of 13 · 255 total questions.

Topic 1 · Question 21

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?

  • ADouble the MTU on your on-premises VPN gateway from 1460 bytes to 2920 bytes.
  • BCreate two VPN tunnels on the same Cloud VPN gateway that point to the same destination VPN gateway IP address.
  • CAdd 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. (correct answer)
  • DAdd 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.
Reveal answer & explanation
Correct answer: C

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

Explanation

Cloud VPN provides encrypted IPsec connectivity between on premises and a VPC.

Topic 1 · Question 22

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?

  • AUpdate the TTL for the zone.
  • BSet the zone to the TRANSFER state.
  • CDisable DNSSEC at your domain registrar. (correct answer)
  • DTransfer ownership of the domain to a new registrar.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Disable DNSSEC at your domain registrar.

Topic 1 · Question 23

You have an application hosted on a Compute Engine virtual machine instance that cannot communicate with a resource outside of its subnet. When you review the flow and firewall logs, you do not see any denied traffic listed. During troubleshooting you find: "¢ Flow logs are enabled for the VPC subnet, and all firewall rules are set to log. "¢ The subnetwork logs are not excluded from Stackdriver. "¢ The instance that is hosting the application can communicate outside the subnet. "¢ Other instances within the subnet can communicate outside the subnet. "¢ The external resource initiates communication. What is the most likely cause of the missing log lines?

  • AThe traffic is matching the expected ingress rule.
  • BThe traffic is matching the expected egress rule.
  • CThe traffic is not matching the expected ingress rule. (correct answer)
  • DThe traffic is not matching the expected egress rule.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: The traffic is not matching the expected ingress rule.

Topic 1 · Question 24

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?

  • AYou have not configured compression in Cloud CDN.
  • BYou have configured the web servers and Cloud CDN with different compression types.
  • CThe web servers behind the load balancer are configured with different compression types.
  • DYou have to configure the web servers to compress responses even if the request has a Via header. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: You have to configure the web servers to compress responses even if the request has a Via header.

Topic 1 · Question 25

You have a web application that is currently hosted in the us-central1 region. Users experience high latency when traveling in Asia. You've configured a network load balancer, but users have not experienced a performance improvement. You want to decrease the latency. What should you do?

  • AConfigure a policy-based route rule to prioritize the traffic.
  • BConfigure an HTTP load balancer, and direct the traffic to it. (correct answer)
  • CConfigure Dynamic Routing for the subnet hosting the application.
  • DConfigure the TTL for the DNS zone to decrease the time between updates.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure an HTTP load balancer, and direct the traffic to it.

Explanation

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

Topic 1 · Question 26 · Select all that apply

You have an application running on Compute Engine that uses BigQuery to generate some results that are stored in Cloud Storage. You want to ensure that none of the application instances have external IP addresses. Which two methods can you use to accomplish this? (Choose two.)

  • AEnable Private Google Access on all the subnets. (correct answer)
  • BEnable Private Google Access on the VPC.
  • CEnable Private Services Access on the VPC.
  • DCreate network peering between your VPC and BigQuery.
  • ECreate a Cloud NAT, and route the application traffic via NAT gateway. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: Enable Private Google Access on all the subnets. Option E: Create a Cloud NAT, and route the application traffic via NAT gateway.

Explanation

Cloud NAT lets private instances reach the internet for outbound traffic without external IPs. Private Google Access lets internal instances reach Google APIs without external IPs.

Topic 1 · Question 27

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?

  • ACreate 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.
  • BCreate 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.
  • CCreate 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.
  • DCreate 1 VPC within the shared VPC Host Project, and share individual subnets with the Service Projects to filter access between the specific networks. (correct answer)
Reveal answer & explanation
Correct answer: D

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

Explanation

Shared VPC centralizes network administration by sharing one VPC across multiple projects. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 · Question 28

You are adding steps to a working automation that uses a service account to authenticate. You need to drive the automation the ability to retrieve files from a Cloud Storage bucket. Your organization requires using the least privilege possible. What should you do?

  • AGrant the compute.instanceAdmin to your user account.
  • BGrant the iam.serviceAccountUser to your user account.
  • CGrant the read-only privilege to the service account for the Cloud Storage bucket. (correct answer)
  • DGrant the cloud-platform privilege to the service account for the Cloud Storage bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Grant the read-only privilege to the service account for the Cloud Storage bucket.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 1 · Question 29

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?

  • AApply an additional IAM role to the Google API's service account to allow custom mode networks.
  • BUpdate the VPC firewall to allow the Cloud Deployment Manager to access the custom mode networks.
  • CExplicitly reference the custom mode networks in the Cloud Armor whitelist.
  • DExplicitly reference the custom mode networks in the Deployment Manager templates. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Explicitly reference the custom mode networks in the Deployment Manager templates.

Explanation

Deployment Manager provisions Google Cloud infrastructure as code.

Topic 1 · Question 30 · Select all that apply

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

  • AGetIamPolicy() via REST API
  • BsetIamPolicy() via REST API (correct answer)
  • Cgcloud pubsub add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor
  • Dgcloud projects add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor (correct answer)
  • EEnter an email address in the Add members field, and select the desired role from the drop-down menu in the GCP Console.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: setIamPolicy() via REST API Option D: gcloud projects add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor

Explanation

Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 1 · Question 31

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?

  • ATune TCP parameters on the on-premises servers. (correct answer)
  • BCompress files using utilities like tar to reduce the size of data being sent.
  • CRemove the -m flag from the gsutil command to enable single-threaded transfers.
  • DUse the perfdiag parameter in your gsutil command to enable faster performance: gsutil perfdiag gs://[BUCKET NAME].
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Tune TCP parameters on the on-premises servers. This option meets the real-time / low-latency performance requirement.

Topic 1 · Question 32

You work for a multinational enterprise that is moving to GCP. These are the cloud requirements: "¢ An on-premises data center located in the United States in Oregon and New York with Dedicated Interconnects connected to Cloud regions us-west1 (primary HQ) and us-east4 (backup) "¢ Multiple regional offices in Europe and APAC "¢ Regional data processing is required in europe-west1 and australia-southeast1 "¢ Centralized Network Administration Team Your security and compliance team requires a virtual inline security appliance to perform L7 inspection for URL filtering. You want to deploy the appliance in us- west1. What should you do?

  • A"¢ Create 2 VPCs in a Shared VPC Host Project. "¢ Configure a 2-NIC instance in zone us-west1-a in the Host Project. "¢ Attach NIC0 in VPC #1 us-west1 subnet of the Host Project. "¢ Attach NIC1 in VPC #2 us-west1 subnet of the Host Project. "¢ Deploy the instance. "¢ Configure the necessary routes and firewall rules to pass traffic through the instance. (correct answer)
  • B"¢ Create 2 VPCs in a Shared VPC Host Project. "¢ Configure a 2-NIC instance in zone us-west1-a in the Service Project. "¢ Attach NIC0 in VPC #1 us-west1 subnet of the Host Project. "¢ Attach NIC1 in VPC #2 us-west1 subnet of the Host Project. "¢ Deploy the instance. "¢ Configure the necessary routes and firewall rules to pass traffic through the instance.
  • C"¢ Create 1 VPC in a Shared VPC Host Project. "¢ Configure a 2-NIC instance in zone us-west1-a in the Host Project. "¢ Attach NIC0 in us-west1 subnet of the Host Project. "¢ Attach NIC1 in us-west1 subnet of the Host Project "¢ Deploy the instance. "¢ Configure the necessary routes and firewall rules to pass traffic through the instance.
  • D"¢ Create 1 VPC in a Shared VPC Service Project. "¢ Configure a 2-NIC instance in zone us-west1-a in the Service Project. "¢ Attach NIC0 in us-west1 subnet of the Service Project. "¢ Attach NIC1 in us-west1 subnet of the Service Project "¢ Deploy the instance. "¢ Configure the necessary routes and firewall rules to pass traffic through the instance.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: "¢ Create 2 VPCs in a Shared VPC Host Project. "¢ Configure a 2-NIC instance in zone us-west1-a in the Host Project. "¢ Attach NIC0 in VPC #1 us-west1 subnet of the Host Project. "¢ Attach NIC1 in VPC #2 us-west1 subn...

Explanation

Shared VPC centralizes network administration by sharing one VPC across multiple projects. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 · Question 33

You are designing a Google Kubernetes Engine (GKE) cluster for your organization. The current cluster size is expected to host 10 nodes, with 20 Pods per node and 150 services. Because of the migration of new services over the next 2 years, there is a planned growth for 100 nodes, 200 Pods per node, and 1500 services. You want to use VPC-native clusters with alias IP ranges, while minimizing address consumption. How should you design this topology?

  • ACreate a subnet of size/25 with 2 secondary ranges of: /17 for Pods and /21 for Services. Create a VPC-native cluster and specify those ranges. (correct answer)
  • BCreate a subnet of size/28 with 2 secondary ranges of: /24 for Pods and /24 for Services. Create a VPC-native cluster and specify those ranges. When the services are ready to be deployed, resize the subnets.
  • CUse gcloud container clusters create [CLUSTER NAME]--enable-ip-alias to create a VPC-native cluster.
  • DUse gcloud container clusters create [CLUSTER NAME] to create a VPC-native cluster.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a subnet of size/25 with 2 secondary ranges of: /17 for Pods and /21 for Services. Create a VPC-native cluster and specify those ranges.

Explanation

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

Topic 1 · Question 34

Your company has recently expanded their EMEA-based operations into APAC. Globally distributed users report that their SMTP and IMAP services are slow. Your company requires end-to-end encryption, but you do not have access to the SSL certificates. Which Google Cloud load balancer should you use?

  • ASSL proxy load balancer
  • BNetwork load balancer
  • CHTTPS load balancer
  • DTCP proxy load balancer (correct answer)
Reveal answer & explanation
Correct answer: D

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

Explanation

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

Topic 1 · Question 35 · Select all that apply

Your company is working with a partner to provide a solution for a customer. Both your company and the partner organization are using GCP. There are applications in the partner's network that need access to some resources in your company's VPC. There is no CIDR overlap between the VPCs. Which two solutions can you implement to achieve the desired results without compromising the security? (Choose two.)

  • AVPC peering (correct answer)
  • BShared VPC
  • CCloud VPN (correct answer)
  • DDedicated Interconnect
  • ECloud NAT
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: VPC peering Option C: Cloud VPN

Explanation

Cloud VPN provides encrypted IPsec connectivity between on premises and a VPC. VPC Network Peering privately connects two VPC networks without a gateway. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 · Question 36

You have a storage bucket that contains the following objects: [1] [1] [1] [1] 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?

  • AAdd an appropriate lifecycle rule on the storage bucket.
  • BIssue a cache invalidation command with pattern /folder-a/*. (correct answer)
  • CMake sure that all the objects with prefix folder-a are not shared publicly.
  • DDisable Cloud CDN on the storage bucket. Wait 90 seconds. Re-enable Cloud CDN on the storage bucket.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Issue a cache invalidation command with pattern /folder-a/*.

Topic 1 · Question 37 · Select all that apply

Your company is running out of network capacity to run a critical application in the on-premises data center. You want to migrate the application to GCP. You also want to ensure that the Security team does not lose their ability to monitor traffic to and from Compute Engine instances. Which two products should you incorporate into the solution? (Choose two.)

  • AVPC flow logs (correct answer)
  • BFirewall logs (correct answer)
  • CCloud Audit logs
  • DStackdriver Trace
  • ECompute Engine instance system logs
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: VPC flow logs Option B: Firewall logs

Explanation

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

Topic 1 · Question 38

You want to apply a new Cloud Armor policy to an application that is deployed in Google Kubernetes Engine (GKE). You want to find out which target to use for your Cloud Armor policy. Which GKE resource should you use?

  • AGKE Node
  • BGKE Pod
  • CGKE Cluster
  • DGKE Ingress (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: GKE Ingress

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads.

Topic 1 · Question 39

You need to establish network connectivity between three Virtual Private Cloud networks, Sales, Marketing, and Finance, so that users can access resources in all three VPCs. You configure VPC peering between the Sales VPC and the Finance VPC. You also configure VPC peering between the Marketing VPC and the Finance VPC. After you complete the configuration, some users cannot connect to resources in the Sales VPC and the Marketing VPC. You want to resolve the problem. What should you do?

  • AConfigure VPC peering in a full mesh. (correct answer)
  • BAlter the routing table to resolve the asymmetric route.
  • CCreate network tags to allow connectivity between all three VPCs.
  • DDelete the legacy network and recreate it to allow transitive peering.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure VPC peering in a full mesh.

Explanation

VPC Network Peering privately connects two VPC networks without a gateway. A VPC provides a global, software-defined private network for your Google Cloud resources.

Topic 1 · Question 40

You create multiple Compute Engine virtual machine instances to be used at TFTP servers. Which type of load balancer should you use?

  • AHTTP(S) load balancer
  • BSSL proxy load balancer
  • CTCP proxy load balancer
  • DNetwork load balancer (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Network load balancer

Explanation

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

Showing questions 2140 of 255 · Page 2 of 13