Courseiva
Configuring Network ServicesmediumMultiple SelectObjective-mapped

PCNE HTTP path-based routing Practice Question

A company wants to expose an internal HTTP service running on Compute Engine instances to other VPCs in the same project using a load balancer. The load balancer must support HTTP path-based routing and preserve the client source IP. Which load balancer types meet these requirements? (Choose two.)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

External HTTP(S) Load Balancer (regional) [CORRECT]

Both the External HTTP(S) Load Balancer (regional) and the Internal HTTP(S) Load Balancer support HTTP path-based routing and preserve the client source IP via the X-Forwarded-For header. The External regional LB can be configured with a public IP, while the Internal LB uses a private IP within the VPC. Both are suitable for exposing an internal HTTP service to other VPCs in the same project, depending on whether internet access is needed.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Internal TCP/UDP Load Balancer [wrong]

    Why it's wrong here

    Internal TCP/UDP Load Balancer does not support HTTP path-based routing.

  • Global external HTTP(S) Load Balancer [wrong]

    Why it's wrong here

    Global external HTTP(S) Load Balancer supports the features but is global; the question does not specify global scope, but regional is acceptable.

  • External HTTP(S) Load Balancer (regional) [CORRECT]

    Why this is correct

    External HTTP(S) Load Balancer (regional) supports HTTP path-based routing and preserves client source IP. Correct.

  • Internal HTTP(S) Load Balancer [CORRECT]

    Why this is correct

    Internal HTTP(S) Load Balancer supports HTTP path-based routing and preserves client source IP. Correct.

  • External TCP/UDP Network Load Balancer [wrong]

    Why it's wrong here

    External TCP/UDP Network Load Balancer does not support HTTP path-based routing.

About these practice questions

Courseiva writes every PCNE question from scratch — 961 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.