New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Network Engineer Exam - Topic 9 Question 110 Discussion

Actual exam question for Google's Professional Cloud Network Engineer exam
Question #: 110
Topic #: 9
[All Professional Cloud Network Engineer Questions]

Your team deployed two applications in GKE that are exposed through an external Application Load Balancer. When queries are sent to www.mountkirkgames.com/sales and www.mountkirkgames.com/get-an-analysis, the correct pages are displayed. However, you have received complaints that www.mountkirkgames.com yields a 404 error. You need to resolve this error. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

The 404 error is occurring because there is no default backend defined for requests to the root URL. Defining the default backend in the Ingress YAML file ensures that requests to www.mountkirkgames.com are routed to the correct service.


Contribute your Thoughts:

0/2000 characters
Linsey
2 months ago
Wait, why would we need to add a path rule for *?
upvoted 0 times
...
Carrol
3 months ago
I think option A is the way to go!
upvoted 0 times
...
Graciela
3 months ago
Sounds like a default backend issue.
upvoted 0 times
...
Lavera
3 months ago
I’m surprised this wasn’t caught earlier!
upvoted 0 times
...
Thaddeus
3 months ago
Definitely not C, that won't fix the 404.
upvoted 0 times
...
Johanna
3 months ago
I recall that the Service YAML file usually handles traffic routing, but I think the Ingress is more relevant here. I might lean towards option A or B, but I'm not completely confident.
upvoted 0 times
...
Justa
4 months ago
I practiced a similar question where we had to set up path rules in the Ingress. I wonder if option B is the right choice since it mentions directing to the base service.
upvoted 0 times
...
Desmond
4 months ago
I'm not entirely sure, but I feel like adding a new path rule for the wildcard character could help. It seems like a common solution for handling 404 errors.
upvoted 0 times
...
Jin
4 months ago
I think we might need to check the Ingress YAML file first. I remember something about defining a default backend to handle requests that don't match any specific path.
upvoted 0 times
...
Denae
4 months ago
This seems like a pretty straightforward problem. I think I'll just go with option A and review the Ingress YAML file, define the default backend, and reapply the YAML. That should do the trick.
upvoted 0 times
...
Zoila
4 months ago
I've got a strategy for this. First, I'll review the Ingress YAML and make sure the default backend is properly defined. If that doesn't work, I'll try adding the new path rule for the * character to the Ingress YAML.
upvoted 0 times
...
Reita
5 months ago
I'm a bit confused here. Should I be looking at the Service YAML file instead? I'm not sure if the issue is with the Ingress or the Service configuration.
upvoted 0 times
...
Suzi
5 months ago
Okay, this seems straightforward. I'll review the Ingress YAML and add a new path rule for the * character to direct it to the base service. That should resolve the 404 error.
upvoted 0 times
...
Frederick
5 months ago
Hmm, this looks like a tricky one. I think I'll start by reviewing the Ingress YAML file and see if I can find the issue with the default backend configuration.
upvoted 0 times
...
Francine
5 months ago
I'm leaning towards option C, it makes more sense to me.
upvoted 0 times
...
Clemencia
6 months ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Barb
7 months ago
Hmm, this one's a bit of a head-scratcher. Good thing I brought my trusty pocket calculator to help me crunch the numbers. Option B it is!
upvoted 0 times
...
Katina
7 months ago
Option B is the correct answer. Gotta love those tricky 404 errors, am I right? Time to unleash my inner Kubernetes wizard!
upvoted 0 times
...
Felix
7 months ago
I'm a bit confused. Why not just update the Service YAML file instead of the Ingress YAML? Wouldn't that be easier?
upvoted 0 times
...
Chantay
7 months ago
I think the answer is A.
upvoted 0 times
...
Carma
7 months ago
I agree with Minna. Updating the Ingress YAML to handle the wildcard path is the logical solution here.
upvoted 0 times
...
Minna
7 months ago
Option B seems like the way to go. Defining a default backend in the Ingress YAML file should resolve the 404 error on the root domain.
upvoted 0 times
Ena
6 months ago
User 1: Option B seems like the way to go.
upvoted 0 times
...
...

Save Cancel