Google Cloud Professional Cloud Developer — Question 202

You manage a microservices application on Google Kubernetes Engine (GKE) using Istio. You secure the communication channels between your microservices by implementing an Istio AuthorizationPolicy, a Kubernetes NetworkPolicy, and mTLS on your GKE cluster. You discover that HTTP requests between two Pods to specific URLs fail, while other requests to other URLs succeed. What is the cause of the connection issue?

Answer options

Correct answer: C

Explanation

The correct answer is C because the Istio AuthorizationPolicy can restrict access to specific paths, which would cause certain HTTP requests to fail while allowing others. Option A is incorrect as it would affect all traffic, not just specific URLs. Option B is not relevant since the issue is related to authorization and not port configuration. Option D is also wrong because if mTLS is in permissive mode, it should still allow traffic, albeit unencrypted.