Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Network Engineer Topic 4 Question 101 Discussion

Actual exam question for Google's Professional Cloud Network Engineer exam
Question #: 101
Topic #: 4
[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:

Gerri
25 days ago
I'm feeling confident about B. Ain't no 404s getting past this guy! *flexes*
upvoted 0 times
Josefa
8 days ago
User1: Alright, let's give it a shot. *flexes*
upvoted 0 times
...
Val
10 days ago
User3: I agree with User2, let's try option B.
upvoted 0 times
...
Danica
11 days ago
User2: Nah, I'm leaning towards option B.
upvoted 0 times
...
Ryan
12 days ago
User1: I think we should go with option A.
upvoted 0 times
...
...
Jerlene
27 days ago
This is a tricky one, but I reckon B is the way to go. Gotta love those Ingress rules, am I right? *winks*
upvoted 0 times
Bettina
7 days ago
User 2: Yeah, that sounds like a good idea. Let's reapply the YAML after making those changes.
upvoted 0 times
...
Tamekia
8 days ago
User 1: I think we should review the Ingress YAML file and add a new path rule for the * character.
upvoted 0 times
...
...
Glory
28 days ago
I think adding a new path rule for the * character in the Service YAML file could be the key to resolving the error.
upvoted 0 times
...
Leslie
1 months ago
I believe reviewing the Service YAML file and defining a default backend could also solve the issue.
upvoted 0 times
...
Artie
1 months ago
I agree with Rosalind. Adding a new path rule for the * character might also help.
upvoted 0 times
...
Rosalind
1 months ago
I think we should review the Ingress YAML file and define the default backend.
upvoted 0 times
...
Barabara
1 months ago
Ha! Looks like someone forgot to set up the homepage. Classic rookie mistake. I'd go with B - can't have the website throwing 404s all over the place.
upvoted 0 times
...
Sanjuana
1 months ago
Hmm, I'm not sure. I'd say C looks good, but D could also work. Better double-check the Service YAML just in case.
upvoted 0 times
...
Francene
1 months ago
I think B is the correct answer. The Ingress YAML should have a catch-all path rule for the * character to direct traffic to the base service.
upvoted 0 times
Kami
1 months ago
Let's review the Ingress YAML file and make sure to reapply it after adding the catch-all path rule.
upvoted 0 times
...
Veronica
1 months ago
I agree, B seems like the right choice. We need to add a new path rule for the * character in the Ingress YAML file.
upvoted 0 times
...
...

Save Cancel