ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 198 - Professional Cloud Network Engineer discussion

Report
Export

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

A.

Review the Ingress YAML file. Define the default backend. Reapply the YAML.

Answers
A.

Review the Ingress YAML file. Define the default backend. Reapply the YAML.

B.

Review the Ingress YAML file. Add a new path rule for the * character that directs to the base service. Reapply the YAML.

Answers
B.

Review the Ingress YAML file. Add a new path rule for the * character that directs to the base service. Reapply the YAML.

C.

Review the Service YAML file. Define a default backend. Reapply the YAML.

Answers
C.

Review the Service YAML file. Define a default backend. Reapply the YAML.

D.

Review the Service YAML file. Add a new path rule for the * character that directs to the base service. Reapply the YAML.

Answers
D.

Review the Service YAML file. Add a new path rule for the * character that directs to the base service. Reapply the YAML.

Suggested answer: A

Explanation:

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.abc123.com are routed to the correct service.

asked 29/10/2024
RAHULREDDY BIRADAVOLU
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first