Professional Cloud Network Engineer Practice Questions

Google Cloud Professional Cloud Network Engineer exam preparation

Professional Cloud Network Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud Network Engineer free question 5 / 10 · Domain 3: Configuring managed network services

You add a custom request header for authentication to the backend service of an Application Load Balancer. Application requests succeed, but the health check fails with an authentication error. What explains this?

  1. The custom request header is not added to HTTP requests
  2. The custom request header is added to client requests but not to health check probes
  3. The custom request header is added to the first request and omitted afterward
  4. The custom request header is omitted when the backend is in the same zone
Show the answer and explanation

Answer: B

Why this is correct
The custom headers documentation says that the load balancer adds custom request headers only to the client requests, not to the health check probes. If your backend requires a specific header for authorization that is missing from the health check packet, the health check might fail. That matches what you see: real traffic carries the header and passes, while the probes do not carry it and are rejected.

Why the other options are wrong
"The custom request header is added to the first request and omitted afterward" … The header is not limited to the first request of a connection. It is added to client requests.
"The custom request header is omitted when the backend is in the same zone" … Zone placement does not decide whether the header is added. The difference is between client requests and probes.
"The custom request header is not added to HTTP requests" … Using HTTP is not a reason why the header is not added. Application requests do carry it, which is why they succeed.

Key point
Design the authentication and path used for health checks separately from normal requests. Traffic passing does not mean that probes pass.

Go to the Professional Cloud Network Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set