Free Google (Professional-Cloud-Network-Engineer) Certification Sample Questions with Online Practice Test [Q31-Q49]

Share

Free Google (Professional-Cloud-Network-Engineer) Certification Sample Questions with Online Practice Test

Professional-Cloud-Network-Engineer  Certification Study Guide Pass Professional-Cloud-Network-Engineer Fast


Configure Network Services

  • Configure & Maintain Cloud DNS: The applicants should demonstrate competence in the management of records and zones, migration of Cloud DNS, Cloud DNS, DNS Security, Internal DNS, Global service with Anycast, and Integration of on-premises DNS with GCP;
  • Enable other Network Services: This module includes canary releases, health checks for instance groups, enabling of the private API access, and distribution of the backend instances with the use of regional managed instance groups.
  • Configure Load Balancing: The considerations for this subsection include the creation of backend services, security & firewall, network load balancer, SSL & TCP proxy load balancers, session affinity, internal load balancer, capacity scaling, and HTTP load balancer;

The Professional-Cloud-Network-Engineer certification exam is part of the Google Cloud Certified program, which is designed to validate the skills and knowledge of professionals who work with Google Cloud technologies. This program offers a range of certifications across different levels and areas of expertise, including cloud architecture, data engineering, and machine learning. The program is designed to provide a clear path for professionals who want to gain recognition for their skills and expertise in working with Google Cloud.


The exam covers a wide range of topics related to cloud networking, including network design, implementation, optimization, and security. Professionals taking this exam should have a strong understanding of networking concepts, such as IP addressing, routing, and subnetting. They should also be familiar with Google Cloud Platform services, such as Virtual Private Cloud (VPC), Cloud Load Balancing, and Cloud Armor.

 

NEW QUESTION # 31
You created a new VPC network named Dev with a single subnet. You added a firewall rule for the network Dev to allow HTTP traffic only and enabled logging. When you try to log in to an instance in the subnet via Remote Desktop Protocol, the login fails. You look for the Firewall rules logs in Stackdriver Logging, but you do not see any entries for blocked traffic. You want to see the logs for blocked traffic.
What should you do?

  • A. Check the VPC flow logs for the instance.
  • B. Create a new firewall rule with priority 65500 to deny all traffic, and enable logs.
  • C. Try connecting to the instance via SSH, and check the logs.
  • D. Create a new firewall rule to allow traffic from port 22, and enable logs.

Answer: B

Explanation:
Ingress packets in VPC Flow Logs are sampled after ingress firewall rules. If an ingress firewall rule denies inbound packets, those packets are not sampled by VPC Flow Logs. We want to see the logs for blocked traffic so we have to look for them in firewall logs. https://cloud.google.com/vpc/docs/flow-logs#key_properties


NEW QUESTION # 32
You have an application that is running in a managed instance group. Your development team has released an updated instance template which contains a new feature which was not heavily tested. You want to minimize impact to users if there is a bug in the new template.
How should you update your instances?

  • A. Using the new instance template, perform a rolling update across all instances in the instance group.
    Verify the new feature once the rollout completes.
  • B. Deploy a new instance group and canary the updated template in that group.
    Verify the new feature in the new canary instance group, and then update the original instance group.
  • C. Manually patch some of the instances, and then perform a rolling restart on the instance group.
  • D. Perform a canary update by starting a rolling update and specifying a target size for your instances to receive the new template.
    Verify the new feature on the canary instances, and then roll forward to the rest of the instances.

Answer: B

Explanation:
https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances


NEW QUESTION # 33
You work for a university that is migrating to GCP.
These are the cloud requirements:
- On-premises connectivity with 10 Gbps
- Lowest latency access to the cloud
- Centralized Networking Administration Team
New departments are asking for on-premises connectivity to their projects.
You want to deploy the most cost-efficient interconnect solution for connecting the campus to Google Cloud.
What should you do?

  • A. Use Shared VPC, and deploy the VLAN attachments and Interconnect in the host project.
  • B. Use Shared VPC, and deploy the VLAN attachments in the service projects.
    Connect the VLAN attachment to the Shared VPC's host project.
  • C. Use standalone projects, and deploy the VLAN attachments in the individual projects.
    Connect the VLAN attachment to the standalone projects' Interconnects.
  • D. Use standalone projects and deploy the VLAN attachments and Interconnects in each of the individual projects.

Answer: B


NEW QUESTION # 34
Your company has just launched a new critical revenue-generating web application. You deployed the application for scalability using managed instance groups, autoscaling, and a network load balancer as frontend. One day, you notice severe bursty traffic that caused autoscaling to reach the maximum number of instances, and users of your application cannot complete transactions. After an investigation, you think it is a DDOS attack. You want to quickly restore user access to your application and allow successful transactions while minimizing cost.
Which two steps should you take? (Choose two.)

  • A. Increase the maximum autoscaling backend to accommodate the severe bursty traffic.
  • B. Use Cloud Armor to blacklist the attacker's IP addresses.
  • C. Create a global HTTP(s) load balancer and move your application backend to this load balancer.
  • D. Shut down the entire application in GCP for a few hours. The attack will stop when the application is offline.
  • E. SSH into the backend compute engine instances, and view the auth logs and syslogs to further understand the nature of the attack.

Answer: A,E


NEW QUESTION # 35
You have created an HTTP(S) load balanced service. You need to verify that your backend instances are responding properly.
How should you configure the health check?

  • A. Set proxy-header to the default value, and set hostto include a custom host header that identifies the health check.
  • B. Set request-pathto a specific URL used for health checking, and set proxy-headerto PROXY_V1.
  • C. Set request-path to a specific URL used for health checking, and set responseto a string that the backend service will always return in the response body.
  • D. Set request-path to a specific URL used for health checking, and set hostto include a custom host header that identifies the health check.

Answer: D

Explanation:
Explanation/Reference: https://cloud.google.com/load-balancing/docs/health-checks


NEW QUESTION # 36
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?

  • A. Disable DNSSEC at your domain registar.
  • B. Set the zone to the TRANSFER state.
  • C. Update the TTL for the zone.
  • D. Transfer ownership of the domain to a new registar.
    Before disabling DNSSEC for a managed zone you want to use, you must deactivate DNSSEC at your domain registrar to ensure that DNSSEC-validating resolvers can still resolve names in the zone.

Answer: A


NEW QUESTION # 37
You need to enable Cloud CDN for all the objects inside a storage bucket. You want to ensure that all the objects in the storage bucket can be served by the CDN.
What should you do in the GCP Console?

  • A. Create a new TCP load balancer, select the storage bucket as a backend, and then enable Cloud CDN on the backend.
  • B. Create a new SSL proxy load balancer, select the storage bucket as a backend, and then enable Cloud CDN on the backend.
  • C. Create a new cloud storage bucket, and then enable Cloud CDN on it.
  • D. Create a new HTTP load balancer, select the storage bucket as a backend, enable Cloud CDN on the backend, and make sure each object inside the storage bucket is shared publicly.

Answer: C


NEW QUESTION # 38
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. /23
  • C. /22
  • D. /25

Answer: C

Explanation:
https://cloud.google.com/kubernetes-engine/docs/how-to/alias-ips#cluster_sizing_secondary_range_pods Reference:
https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr
https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips#defaults_limits


NEW QUESTION # 39
All the instances in your project are configured with the custom metadata enable-oslogin value set to FALSE and to block project-wide SSH keys. None of the instances are set with any SSH key, and no project-wide SSH keys have been configured. Firewall rules are set up to allow SSH sessions from any IP address range. You want to SSH into one instance.
What should you do?

  • A. Set the custom metadata enable-oslogin to TRUE, and SSH into the instance using a third-party tool like putty or ssh.
  • B. Generate a new SSH key pair. Verify the format of the public key and add it to the project.
    SSH into the instance using a third-party tool like putty or ssh.
  • C. Generate a new SSH key pair. Verify the format of the private key and add it to the instance.
    SSH into the instance using a third-party tool like putty or ssh.
  • D. Open the Cloud Shell SSH into the instance using gcloud compute ssh.

Answer: A

Explanation:
https://cloud.google.com/compute/docs/storing-retrieving-metadata


NEW QUESTION # 40
You need to restrict access to your Google Cloud load-balanced application so that only specific IP addresses can connect.
What should you do?

  • A. Create a secure perimeter using the Access Context Manager feature of VPC Service Controls and restrict access to the source IP range of the allowed clients and Google health check IP ranges.
  • B. Tag the backend instances "application," and create a firewall rule with target tag "application" and the source IP range of the allowed clients and Google health check IP ranges.
  • C. Create a secure perimeter using VPC Service Controls, and mark the load balancer as a service restricted to the source IP range of the allowed clients and Google health check IP ranges.
  • D. Label the backend instances "application," and create a firewall rule with the target label "application" and the source IP range of the allowed clients and Google health check IP ranges.

Answer: B

Explanation:
Explanation/Reference: https://link.springer.com/chapter/10.1007/978-1-4842-1004-8_4


NEW QUESTION # 41
You are using a third-party next-generation firewall to inspect traffic. You created a custom route of 0.0.0.0/0 to route egress traffic to the firewall. You want to allow your VPC instances without public IP addresses to access the BigQuery and Cloud Pub/Sub APIs, without sending the traffic through the firewall.
Which two actions should you take? (Choose two.)

  • A. Create a set of custom static routes to send traffic to the internal IP addresses of Google APIs and services via the default internet gateway.
  • B. Create a set of custom static routes to send traffic to the external IP addresses of Google APIs and services via the default internet gateway.
  • C. Turn on Private Services Access at the VPC level.
  • D. Turn on Private Google Access at the VPC level.
  • E. Turn on Private Google Access at the subnet level.

Answer: B,E

Explanation:
https://cloud.google.com/vpc/docs/private-access-options#pga Private Google Access VM instances that only have internal IP addresses (no external IP addresses) can use Private Google Access. They can reach the _external IP addresses_ of Google APIs and services.


NEW QUESTION # 42
You have two Google Cloud projects in a perimeter to prevent data exfiltration. You need to move a third project inside the perimeter; however, the move could negatively impact the existing environment. You need to validate the impact of the change. What should you do?

  • A. Monitor the Resource Manager audit logs inside the perimeter.
  • B. Enable Firewall Rules Logging inside the third project.
  • C. Modify the existing VPC Service Controls policy to include the new project in dry run mode.
  • D. Enable VPC Flow Logs inside the third project, and monitor the logs for negative impact.

Answer: C


NEW QUESTION # 43
You have created several preemptible Linux virtual machine instances using Google Compute Engine. You want to properly shut down your application before the virtual machines are preempted. What should you do?

  • A. Create a shutdown script and use it as the value for a new metadata entry with the key shutdown- script in the Cloud Platform Console when you create the new virtual machine instance.
  • B. Create a shutdown script, registered as a xinetd service in Linux, and use the gcloud compute instances add-metadata command to specify the service URL as the value for a new metadata entry with the key shutdown-script-url
  • C. Create a shutdown script named shutdown in the /etc/ directory.
  • D. Create a shutdown script registered as a xinetd service in Linux and configure a StackDriver endpoint check to call the service.

Answer: A

Explanation:
Running Shutdown Scripts "Create and run shutdown scripts that execute commands right before an instance is terminated or restarted, on a best-effort basis. This is useful if you rely on automated scripts to start up and shut down instances, allowing instances time to clean up or perform tasks, such as exporting logs, or syncing with other systems."
https://cloud.google.com/compute/docs/shutdownscript
To setup Shutdown Scripts, go to GCP console and follow the steps:
Compute Engine -> VM instance -> Create Instance -> (Expand) Management, disks, networking, SSH keys Enter the key "shutdown-script" and proper value


NEW QUESTION # 44
In your Google Cloud organization, you have two folders: Dev and Prod. You want a scalable and consistent way to enforce the following firewall rules for all virtual machines (VMs) with minimal cost:
Port 8080 should always be open for VMs in the projects in the Dev folder.
Any traffic to port 8080 should be denied for all VMs in your projects in the Prod folder.
What should you do?

  • A. Use Anthos Config Connector to enforce a security policy to open port 8080 on the Dev VMs and deny traffic to port 8080 on the Prod VMs.
  • B. Create and associate a firewall policy with the Dev folder with a rule to open port 8080. Create and associate a firewall policy with the Prod folder with a rule to deny traffic to port 8080.
  • C. Create a Shared VPC for the Dev projects and a Shared VPC for the Prod projects. Create a VPC firewall rule to open port 8080 in the Shared VPC for Dev. Create a firewall rule to deny traffic to port 8080 in the Shared VPC for Prod. Deploy VMs to those Shared VPCs.
  • D. In all VPCs for the Dev projects, create a VPC firewall rule to open port 8080. In all VPCs for the Prod projects, create a VPC firewall rule to deny traffic to port 8080.

Answer: B


NEW QUESTION # 45
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?

  • A. Use VPC peering to allow traffic to route between the 10.1.0.0/24 network and the 172.16.45.0/24 network.
  • B. 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.
  • C. Configure global load balancing to point 172.16.45.0/24 to the correct instance.
  • D. Create unique DNS records for each service that sends traffic to the desired IP address.

Answer: D


NEW QUESTION # 46
You created a new VPC network named Dev with a single subnet. You added a firewall rule for the network Dev to allow HTTP traffic only and enabled logging. When you try to log in to an instance in the subnet via Remote Desktop Protocol, the login fails. You look for the Firewall rules logs in Stackdriver Logging, but you do not see any entries for blocked traffic. You want to see the logs for blocked traffic.
What should you do?

  • A. Create a new firewall rule with priority 65500 to deny all traffic, and enable logs.
  • B. Try connecting to the instance via SSH, and check the logs.
  • C. Check the VPC flow logs for the instance.
  • D. Create a new firewall rule to allow traffic from port 22, and enable logs.

Answer: C


NEW QUESTION # 47
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.)

  • A. Open a Cloud Support ticket under the Cloud Interconnect category.
  • B. Contact your cross-connect provider and inform them that Google automatically sent the LOA/CFA to them via email, and to complete the connection.
  • C. Download the LOA-CFA from the Hybrid Connectivity section of the GCP Console.
  • D. Check the email for the account of the NOC contact that you specified during the ordering process.
  • E. Run gcloud compute interconnects describe <interconnect>.

Answer: B,D

Explanation:
https://cloud.google.com/network-connectivity/docs/interconnect/how-to/dedicated/retrieving-loas


NEW QUESTION # 48
Your company has recently installed a Cloud VPN tunnel between your on-premises data center and your Google Cloud Virtual Private Cloud (VPC). You need to configure access to the Cloud Functions API for your on-premises servers. The configuration must meet the following requirements:
Certain data must stay in the project where it is stored and not be exfiltrated to other projects.
Traffic from servers in your data center with RFC 1918 addresses do not use the internet to access Google Cloud APIs.
All DNS resolution must be done on-premises.
The solution should only provide access to APIs that are compatible with VPC Service Controls.
What should you do?

  • A. Create an A record for restricted.googleapis.com using the 199.36.153.4/30 address range.
    Create a CNAME record for *.googleapis.com that points to the A record.
    Configure your on-premises routers to use the Cloud VPN tunnel as the next hop for the addresses you used in the A record.
    Configure your on-premises firewalls to allow traffic to the restricted.googleapis.com addresses.
  • B. Create an A record for private.googleapis.com using the 199.36.153.8/30 address range.
    Create a CNAME record for *.googleapis.com that points to the A record.
    Configure your on-premises routers to use the Cloud VPN tunnel as the next hop for the addresses you used in the A record.
    Remove the default internet gateway from the VPC where your Cloud VPN tunnel terminates.
  • C. Create an A record for private.googleapis.com using the 199.36.153.8/30 address range.
    Create a CNAME record for *.googleapis.com that points to the A record.
    Configure your on-premises routers to use the Cloud VPN tunnel as the next hop for the addresses you used in the A record.
    Configure your on-premises firewalls to allow traffic to the private.googleapis.com addresses.
  • D. Create an A record for restricted.googleapis.com using the 199.36.153.4/30 address range.
    Create a CNAME record for *.googleapis.com that points to the A record.
    Configure your on-premises routers to use the Cloud VPN tunnel as the next hop for the addresses you used in the A record.
    Remove the default internet gateway from the VPC where your Cloud VPN tunnel terminates.

Answer: D


NEW QUESTION # 49
......

Get Perfect Results with Premium Professional-Cloud-Network-Engineer Dumps Updated 155 Questions: https://www.trainingdump.com/Google/Professional-Cloud-Network-Engineer-practice-exam-dumps.html

Professional-Cloud-Network-Engineer Dumps PDF 2023 Program Your Preparation EXAM SUCCESS: https://drive.google.com/open?id=1108IdL_j2R4u9b34bHl6XOVCNLA0oI0n

0
0
0
0