Google CloudProfessional levelPage 4 of 8

Google Professional Cloud Network Engineer exam dumps: questions 301 to 400 of 789

Page 4 of the free Google Professional Cloud Network Engineer question bank for the Professional Cloud Network Engineer exam. Questions 301 to 400 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated December 2024

Free Google Professional Cloud Network Engineer practice questions

Questions 301 to 305 of 789

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Google Professional Cloud Network Engineer Question 301

Select 3Google Cloud Platform

You are setting up a private GKE cluster in Google Cloud and need to ensure that the control plane endpoint is private while still allowing connectivity to the control plane. Additionally, you want to enable cluster nodes to access Google APIs without using public IP addresses. Which of the following steps should you take to meet these requirements?

  1. A

    Enable the private endpoint option for the cluster.

  2. B

    Disable the public endpoint for the control plane.

  3. C

    Configure a Cloud NAT gateway to provide internet access for the cluster nodes.

  4. D

    Enable Private Google Access on the subnet used by the cluster nodes.

  5. E

    Set up a VPN between the on-premises network and the private control plane endpoint.

Show answer and explanation

Correct answers: A, B, D

Explanation

To configure a private GKE cluster with a private control plane endpoint, you need to enable the private endpoint and disable the public endpoint. Additionally, enabling Private Google Access on the cluster's subnet ensures that the nodes can access Google APIs without public IP addresses. A Cloud NAT gateway is not required in this setup if Private Google Access is enabled, and a VPN is unnecessary unless there is an explicit on-premises connectivity requirement.

  • A. Correct.

    Enabling the private endpoint ensures that the control plane is accessible only through internal private IP addresses.

  • B. Correct.

    Disabling the public endpoint ensures that the control plane is not accessible over the public internet, aligning with the requirement to keep the control plane private.

  • C. Incorrect.

    Cloud NAT is used to provide internet access for private instances, but in this scenario, it is not required since Private Google Access enables nodes to communicate with Google APIs without public IPs.

  • D. Correct.

    Private Google Access allows cluster nodes to access Google APIs (such as Container Registry or Cloud Storage) using private IPs, which fulfills the requirement.

  • E. Incorrect.

    A VPN connection is not necessary for accessing the private control plane endpoint unless there is a specific requirement to connect from an on-premises network.

Google Professional Cloud Network Engineer Question 302

Select 3Google Cloud Platform

You are tasked with creating a private GKE (Google Kubernetes Engine) cluster in a project. The cluster must restrict access to its control plane to a specific set of internal IP ranges while ensuring the nodes do not have external IPs. Which of the following configurations should you apply to meet these requirements?

  1. A

    Enable the private cluster option when creating the GKE cluster.

  2. B

    Configure a specific CIDR range for the master authorized networks.

  3. C

    Ensure that the nodes are created with external IPs to allow outgoing internet traffic.

  4. D

    Set up a Cloud NAT to allow internet access for the nodes without external IPs.

  5. E

    Disable the master authorized networks feature to make the control plane fully private.

Show answer and explanation

Correct answers: A, B, D

Explanation

To create a private GKE cluster with restricted access to the control plane and nodes without external IPs, you need to enable the private cluster feature, configure the master authorized networks with specific CIDR ranges, and use Cloud NAT to ensure nodes can access the internet without external IPs. Disabling master authorized networks is not suitable because it would prevent configuring access to the control plane for a specific set of IP ranges.

  • A. Correct.

    Enabling the private cluster option ensures that the nodes in the cluster do not have external IPs and the control plane is accessible only via private IPs.

  • B. Correct.

    Configuring a CIDR range for the master authorized networks allows you to restrict access to the control plane to specific internal IP ranges.

  • C. Incorrect.

    Creating nodes with external IPs would violate the requirement to have nodes without external IPs. This option is incorrect.

  • D. Correct.

    Setting up a Cloud NAT allows nodes without external IPs to access the internet for things like pulling container images or applying updates. This is necessary for proper functionality.

  • E. Incorrect.

    Disabling the master authorized networks feature would make the control plane fully private, but this would prevent the configuration of specific CIDR ranges for access, which violates the requirements. This option is incorrect.

Google Professional Cloud Network Engineer Question 303

Select 3Google Cloud Platform

You are deploying a Google Kubernetes Engine (GKE) private cluster for your organization's production environment. The cluster must meet the following requirements:

  • The control plane should not be exposed to the public internet.
  • Nodes should communicate with the control plane privately using internal IPs.
  • Developers should be able to access the Kubernetes API from a secure on-premises network using a private endpoint.

Which of the following steps must you take to properly configure the private cluster to meet these requirements?

  1. A

    Enable the private endpoint for the cluster's control plane.

  2. B

    Disable public endpoint access for the control plane.

  3. C

    Enable IP aliasing for the GKE cluster.

  4. D

    Set up a VPN or Interconnect between your on-premises network and the Google Cloud VPC hosting the cluster.

  5. E

    Configure a NAT gateway for internet access from the cluster's nodes.

Show answer and explanation

Correct answers: A, B, D

Explanation

To configure a private GKE cluster with a private control plane endpoint, you must enable the private endpoint, disable public endpoint access, and establish a secure connection (e.g., VPN or Interconnect) between your on-premises network and the Google Cloud VPC. These steps ensure secure access to the Kubernetes API server without exposing the control plane to the public internet. Additional configurations like IP aliasing or NAT gateway setup are not directly relevant to the scenario requirements.

  • A. Correct.

    Correct: Enabling the private endpoint ensures that the Kubernetes API server can be accessed securely through a private IP address, meeting the requirement for private communication with the control plane.

  • B. Correct.

    Correct: Disabling public endpoint access ensures that the control plane is not exposed to the public internet, satisfying the security requirement.

  • C. Incorrect.

    Incorrect: While IP aliasing is required for GKE clusters, it is not directly related to the private control plane endpoint configuration described in this scenario.

  • D. Correct.

    Correct: A VPN or Interconnect is necessary to enable private communication between the on-premises network and the Google Cloud VPC, allowing secure access to the private endpoint.

  • E. Incorrect.

    Incorrect: Configuring a NAT gateway is not required for the control plane or API access. NAT is typically used to enable outbound internet access for the cluster's nodes, which is not mentioned as a requirement in this scenario.

Google Professional Cloud Network Engineer Question 304

Select 3Google Cloud Platform

You are tasked with creating a highly secure Google Kubernetes Engine (GKE) private cluster for a financial application. The private cluster must use a private control plane endpoint to restrict API server access only to internal clients within the organization's network. Which steps must you take to configure this setup correctly?

  1. A

    Enable private endpoints and private nodes for the cluster.

  2. B

    Configure authorized networks to restrict access to the control plane endpoint.

  3. C

    Ensure that a Cloud NAT gateway is configured for outbound internet access from the nodes.

  4. D

    Disable the public endpoint for the control plane.

  5. E

    Use a VPN or Interconnect to connect on-premises resources to the private cluster.

Show answer and explanation

Correct answers: A, B, D

Explanation

To configure a private cluster with a private control plane endpoint, you must enable private endpoints and private nodes to ensure that both the nodes and control plane are fully private. Additionally, configuring authorized networks restricts access to the control plane endpoint to only the approved IP ranges. Disabling the public endpoint ensures there is no external access to the control plane. While Cloud NAT or a VPN/Interconnect can support additional use cases, they are not directly required for this specific setup.

  • A. Correct.

    Correct: Enabling private endpoints and private nodes is required to ensure both the nodes and control plane endpoint are private.

  • B. Correct.

    Correct: Configuring authorized networks ensures that only specific internal IP ranges can access the private control plane endpoint.

  • C. Incorrect.

    Incorrect: While Cloud NAT can be used for outbound internet access from nodes, it is not directly related to configuring the private control plane endpoint.

  • D. Correct.

    Correct: Disabling the public endpoint ensures that the control plane API server is only accessible via the private endpoint.

  • E. Incorrect.

    Incorrect: While a VPN or Interconnect is useful for hybrid connectivity, it is not mandatory for configuring a private control plane endpoint.

Google Professional Cloud Network Engineer Question 305

Single answerGoogle Cloud Platform

You are managing a GKE cluster for your organization's development team. For security purposes, you need to restrict access to the Kubernetes API server (control plane) of the cluster so that only specific IP ranges can interact with it. How can you achieve this?

  1. A

    Configure authorized networks for the cluster's control plane using the GCP Console or gcloud CLI.

  2. B

    Configure Kubernetes Network Policies to restrict access to the control plane.

  3. C

    Deploy a firewall rule to block all traffic to the control plane except for specific IP ranges.

  4. D

    Modify the kubeconfig file to include only the allowed IP ranges.

Show answer and explanation

Correct answer: A

Explanation

To restrict access to the Kubernetes API server (control plane), you must configure authorized networks, which define specific IP ranges that are allowed to connect to the control plane. This can be done using the GCP Console or the gcloud CLI. Other options, such as using Network Policies, firewall rules, or modifying kubeconfig, do not achieve this objective.

  • A. Correct.

    This is correct. Configuring authorized networks for the Kubernetes API server (control plane) allows you to restrict access to only specific IP ranges. This can be done using the GCP Console or the gcloud CLI.

  • B. Incorrect.

    This is incorrect. Kubernetes Network Policies are used to control traffic between Pods within the cluster and cannot restrict access to the Kubernetes control plane.

  • C. Incorrect.

    This is incorrect. Firewall rules alone cannot control access to the Kubernetes API server. Authorized networks are the appropriate method for this purpose.

  • D. Incorrect.

    This is incorrect. Modifying the kubeconfig file does not restrict access to the control plane but instead configures how a client interacts with it.

Timed practice exam

Take a Google Professional Cloud Network Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Google Professional Cloud Network Engineer practice questions 301 to 400 of 789

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 8 pages of up to 100 questions.

  1. 301.You are setting up a private GKE cluster in Google Cloud and need to ensure that the control plane endpoint...
  2. 302.You are tasked with creating a private GKE (Google Kubernetes Engine) cluster in a project. The cluster must...
  3. 303.You are deploying a Google Kubernetes Engine (GKE) private cluster for your organization's production...
  4. 304.You are tasked with creating a highly secure Google Kubernetes Engine (GKE) private cluster for a financial...
  5. 305.You are managing a GKE cluster for your organization's development team. For security purposes, you need to...
  6. 306.You are managing a GKE cluster for your organization. The cluster control plane is set up to allow access...
  7. 307.You are managing a Google Kubernetes Engine (GKE) cluster and need to restrict access to the Kubernetes...
  8. 308.You are managing a Google Kubernetes Engine (GKE) cluster and need to restrict access to the control plane...
  9. 309.Your company has a Google Kubernetes Engine (GKE) cluster with a private control plane. The development team...
  10. 310.Your organization is migrating a microservices-based application to Google Cloud and plans to use Cloud...
  11. 311.Your organization is implementing a service mesh on Google Cloud using Anthos Service Mesh. You are tasked...
  12. 312.You are tasked with deploying a multi-service application in Google Kubernetes Engine (GKE) and want to...
  13. 313.Your organization has deployed a microservices application on Google Kubernetes Engine (GKE) and wants to use...
  14. 314.Your organization is deploying a microservices-based application on Google Kubernetes Engine (GKE) and wants...
  15. 315.You are deploying a GKE cluster to host workloads that require advanced networking features, such as...
  16. 316.You are a network engineer tasked with enabling GKE Dataplane V2 for a new Google Kubernetes Engine (GKE)...
  17. 317.Your organization is deploying a new GKE cluster and requires advanced networking capabilities such as...
  18. 318.You are configuring a Google Kubernetes Engine (GKE) cluster for a production environment and need to enable...
  19. 319.You are managing a Google Kubernetes Engine (GKE) cluster for a financial services application that requires...
  20. 320.You are configuring a Compute Engine instance in a private subnet to access external APIs on the internet....
  21. 321.You are configuring a Kubernetes cluster on Google Kubernetes Engine (GKE) to allow Pods in a private cluster...
  22. 322.You are designing a Google Kubernetes Engine (GKE) cluster for a workload that needs to communicate with...
  23. 323.You are configuring a Google Kubernetes Engine (GKE) cluster in Google Cloud. The cluster has multiple...
  24. 324.Your organization has deployed a Google Kubernetes Engine (GKE) cluster for hosting internal microservices....
  25. 325.You have deployed a GKE cluster to host a microservices-based application. To ensure secure communication...
  26. 326.You are managing a Google Kubernetes Engine (GKE) cluster for your organization. The cluster runs several...
  27. 327.You are configuring network policies for a Google Kubernetes Engine (GKE) cluster to ensure that only the...
  28. 328.You are deploying a new application in Google Kubernetes Engine (GKE) that handles sensitive customer data....
  29. 329.You are managing a Kubernetes cluster in Google Kubernetes Engine (GKE) for your organization. The cluster...
  30. 330.A team is deploying a GKE cluster and wants to ensure there are sufficient IP ranges for both Pods and...
  31. 331.You are managing a GKE cluster using VPC-native (alias IPs) networking. The cluster has exhausted its current...
  32. 332.You are deploying a GKE (Google Kubernetes Engine) cluster in a VPC-native mode. Your organization wants to...
  33. 333.You are managing a GKE cluster that is nearing its Pod IP range limit due to increased workloads. You need to...
  34. 334.You are managing a GKE cluster in a VPC-native mode with alias IPs enabled. The cluster has reached its...
  35. 335.Your organization is deploying a Cloud Next Generation Firewall (NGFW) in Google Cloud to protect its...
  36. 336.Your organization has deployed Cloud Next Generation Firewall (NGFW) in Google Cloud. You are tasked with...
  37. 337.You are tasked with configuring Cloud Next Generation Firewall (NGFW) rules for your organization’s Google...
  38. 338.Your organization has deployed a Cloud Next Generation Firewall (NGFW) for a project on Google Cloud. To...
  39. 339.You are tasked with configuring Cloud Next Generation Firewall (NGFW) rules for a project in Google Cloud....
  40. 340.Your company has a GKE cluster running in Google Cloud. The cluster's pods need to access an external API...
  41. 341.You are a network engineer for a company hosting multiple applications in Google Cloud. Your team wants to...
  42. 342.You are tasked with setting up a Google Kubernetes Engine (GKE) cluster that requires external HTTP/HTTPS...
  43. 343.You are designing a multi-tier application on Google Cloud. The application consists of a web front end, an...
  44. 344.You are designing a Google Cloud network architecture for a multi-tier application. The application consists...
  45. 345.You are designing a network for a company that requires all virtual machines in a specific subnet to only...
  46. 346.Your company is running a multi-region application hosted in Google Cloud. The application requires that all...
  47. 347.You are setting up a multi-region application on Google Cloud that requires secure communication between VM...
  48. 348.Your company has a Compute Engine instance running in the us-central1 region. This instance hosts a web...
  49. 349.You are designing a network architecture for a global e-commerce platform hosted on Google Cloud. The...
  50. 350.Your organization is deploying a new application on Google Cloud. The deployment requires fine-grained...
  51. 351.You are designing a Google Cloud environment for a company that has strict security requirements. Virtual...
  52. 352.You are setting up a firewall rule in Google Cloud to allow ingress traffic on port 443 for a specific set of...
  53. 353.Your organization is using Google Cloud Platform to host a web application. You need to configure a firewall...
  54. 354.You are designing a Google Cloud network for a retail application that has multiple environments:...
  55. 355.Your organization has been using Google Cloud firewall rules to control traffic in a shared VPC environment....
  56. 356.Your organization uses Google Cloud and currently manages network security with a large number of VPC...
  57. 357.Your organization has been using Google Cloud firewall rules to control traffic across multiple projects. To...
  58. 358.Your organization has been using Google Cloud firewall rules for network traffic control. To streamline...
  59. 359.Your organization is currently using VPC firewall rules to manage network security but wants to transition to...
  60. 360.You are tasked with configuring a firewall rule in your Google Cloud Virtual Private Cloud (VPC) network to...
  61. 361.You are managing a VPC network in Google Cloud and need to create a firewall rule that allows SSH traffic to...
  62. 362.You are managing a VPC network in Google Cloud and need to configure a firewall rule to allow incoming...
  63. 363.Your company has deployed a new web application on Google Cloud that uses a managed instance group behind an...
  64. 364.You are tasked with configuring a firewall rule in Google Cloud to allow HTTP traffic from external users to...
  65. 365.You are managing a Google Cloud project with multiple VMs and have been asked to enable firewall rule logging...
  66. 366.You are a network engineer managing a Google Cloud environment. Your organization has requested that you...
  67. 367.You are managing a Google Cloud infrastructure for a company that wants to monitor firewall rule activity in...
  68. 368.Your organization is experiencing unexpected network traffic behavior and wants to investigate the issue. To...
  69. 369.You are tasked with enabling firewall rules logging for a specific VPC firewall rule in your Google Cloud...
  70. 370.Your organization uses Google Cloud and has multiple projects under a single folder in Google Cloud Resource...
  71. 371.Your organization has a multi-folder GCP structure with Folder-A and Folder-B, both under the Organization...
  72. 372.Your organization has a Google Cloud environment with multiple projects under a single folder. You need to...
  73. 373.Your organization has a Google Cloud project named 'prod-environment' under a folder 'production' in the...
  74. 374.Your company uses Google Cloud and has a folder structure with multiple projects under different folders. You...
  75. 375.Your company has deployed a multi-tier application in Google Cloud. The frontend is hosted in a managed...
  76. 376.Your company has implemented Google Cloud's Intrusion Prevention System (IPS) to enhance network security....
  77. 377.Your organization has deployed several applications in Google Cloud and wants to utilize the Intrusion...
  78. 378.You are tasked with securing your organization's workloads on Google Cloud by enabling Intrusion Prevention...
  79. 379.Your organization is hosting a web application on Google Cloud using Compute Engine instances behind a Google...
  80. 380.You are configuring a firewall rule in Google Cloud to allow outbound HTTPS traffic from your Virtual Machine...
  81. 381.Your organization hosts a set of applications in Google Cloud that need to communicate with specific external...
  82. 382.Your company has a Google Cloud project where you need to allow outbound HTTP and HTTPS traffic only to...
  83. 383.Your company hosts its applications on Google Cloud and uses Cloud NAT to provide internet access to virtual...
  84. 384.You are a Cloud Network Engineer managing a Google Cloud environment for a company. The company wants to...
  85. 385.You are designing a load balancing solution for a web application running in multiple regions on Google...
  86. 386.Your organization is hosting a web application on Google Cloud. The application has users worldwide, and you...
  87. 387.You are designing a global application hosted on Google Cloud that requires low-latency access for users in...
  88. 388.Your company has deployed a web application on Google Cloud using Compute Engine instances in multiple...
  89. 389.You are tasked with configuring load balancing for a web application hosted on Google Cloud. The application...
  90. 390.You are configuring backend services for a new application on Google Cloud. The application has two...
  91. 391.A company wants to deploy a global web application using Google Cloud. They need to ensure that their backend...
  92. 392.You are designing a highly scalable backend for a web application hosted on Google Cloud. The application...
  93. 393.You are setting up a backend service for an application deployed on Google Cloud. The application requires...
  94. 394.You are designing a load-balanced application on Google Cloud that serves both HTTP and HTTPS traffic. The...
  95. 395.Your organization hosts a web application on Google Cloud and uses a managed instance group (MIG) to ensure...
  96. 396.You are designing a scalable and highly available web application on Google Cloud. The application must...
  97. 397.You are tasked with deploying a scalable, highly available web application on Google Cloud. The application...
  98. 398.You are tasked with setting up a highly available backend service on Google Cloud. The service must...
  99. 399.You are tasked with deploying a highly available and scalable web application on Google Cloud. The...
  100. 400.You are configuring a backend service for a global external HTTP(S) load balancer in Google Cloud. The...