Exercises

Kubernetes Ingress and HTTP Traffic Routing Quiz

Assess your practical understanding of Kubernetes Ingress for exposing web applications. This quiz covers Ingress controllers, host- and path-based routing, path types, TLS secrets, default backends, readiness, namespaces, forwarded headers, WebSockets, status reporting, and controller-specific features. Questions range from foundational concepts to troubleshooting common routing and availability problems in cloud-hosted Kubernetes environments.

Answer the questions below and check the explanation for each answer.

0/16 answered

  1. 1

    What is the primary purpose of a Kubernetes Ingress resource?

  2. 2

    In the diagram, component X watches Ingress resources and configures the traffic-handling proxy. What is component X?

    Question 2
  3. 3

    Which Kubernetes field normally selects the controller intended to implement an Ingress?

  4. 4

    Which pathType requires the complete request path to match the configured path exactly?

  5. 5

    The diagram shows Prefix rules for /api and /api/v1 under the same host. Which backend receives a request for /api/v1/users?

    Question 5
  6. 6

    Which data is normally stored in a Kubernetes TLS Secret used by an Ingress?

  7. 7

    What does an Ingress default backend handle?

  8. 8

    The diagram shows an HTTPS connection ending at the Ingress proxy, followed by an HTTP connection to the application Service. Where is TLS terminated?

    Question 8
  9. 9

    Why can creating an Ingress resource fail to make an application externally reachable?

  10. 10

    The Service behind an Ingress selects three Pods, but one Pod is not ready. Which Pods should normally receive new requests through the Service?

    Question 10
  11. 11

    Under the standard Kubernetes Ingress API, where must a backend Service referenced by an Ingress normally exist?

  12. 12

    The diagram shows two requests entering the same Ingress: store.example.com and admin.example.com. Which feature sends them to different Services?

    Question 12
  13. 13

    Which HTTP header is commonly used by a reverse proxy to pass the original client IP address to a backend application?

  14. 14

    Which HTTP headers are central to establishing a WebSocket protocol upgrade through a reverse proxy?

  15. 15

    The diagram shows a valid host and path rule leading to a Service with no ready endpoints. What is the most likely cause of the failed response?

    Question 15
  16. 16

    A team wants to send 10% of traffic to a canary release using an Ingress controller's annotations. What portability limitation should they recognize?

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate