← 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/**?
- A.It decides which requests match this route
- B.It adds a header to the response
- C.It authenticates the user
- 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 →