Google Professional Cloud Network Engineer exam dumps

Google Professional Cloud Network Engineer practice question 448 of 790

Professional Cloud Network Engineer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Network Engineer Question 448

Select 3Google Cloud Platform

You are a Cloud Network Engineer setting up an Application Load Balancer (ALB) in Google Cloud for a microservices-based application. The application has two services: 'Service A' for old users and 'Service B' for new users. You need to implement traffic splitting where 70% of traffic is routed to 'Service A' and 30% to 'Service B'. Additionally, you want to rewrite all incoming requests with the path '/dashboard' to '/home'. What steps should you take to meet these requirements?

  1. A

    Create two backend services for 'Service A' and 'Service B', and configure a traffic-splitting policy with weights 70 for 'Service A' and 30 for 'Service B'.

  2. B

    Set up a URL rewrite policy on the Application Load Balancer to rewrite '/dashboard' to '/home'.

  3. C

    Set up a traffic mirroring policy to mirror 30% of the traffic from 'Service A' to 'Service B'.

  4. D

    Configure a host-based routing rule to split traffic between 'Service A' and 'Service B'.

  5. E

    Ensure that the health checks for both 'Service A' and 'Service B' are properly configured in their respective backend services.

Show answer and explanation

Correct answers: A, B, E

Explanation

To implement traffic splitting and URL rewriting, you need to configure backend services with specific traffic-splitting weights and set up a URL rewrite policy on the Application Load Balancer. Additionally, proper health checks must be configured to ensure traffic is only routed to healthy backend services. Traffic mirroring and host-based routing are not applicable in this scenario.

  • A. Correct.

    Correct: Creating two backend services and configuring a traffic-splitting policy is the correct approach for distributing traffic between 'Service A' and 'Service B' with specific weights.

  • B. Correct.

    Correct: Setting up a URL rewrite policy can rewrite the path '/dashboard' to '/home' as required.

  • C. Incorrect.

    Incorrect: Traffic mirroring is used to duplicate traffic for testing purposes, not for splitting traffic between two services.

  • D. Incorrect.

    Incorrect: Host-based routing is used to route traffic based on the hostname in the URL, not for traffic splitting.

  • E. Correct.

    Correct: Proper health checks ensure that traffic is only routed to healthy backend services, which is critical for a functioning Application Load Balancer.

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