🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Microservices Basics: all 10 questions

Quiz: Microservices Basics · Question 8 of 10

In a gateway route, what is the job of a predicate such as Path=/api/courses/?

In a gateway route, what is the job of a predicate such as Path=/api/courses/**?

  1. A.It decides which requests match this route
  2. B.It adds a header to the response
  3. C.It authenticates the user
  4. D.It sets the target URI
Answer & explanation

Correct answer: It decides which requests match this route

Predicates match requests; filters change requests or responses.

Can you get the rest right without peeking?

Take the timed Quiz: Microservices Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →