JavaThinking.com
Toggle Menu
Home
Online Kotlin Compiler
Tutorials
Spring Boot
Spring Cloud
Spring Data
Spring MVC
Spring Security
Blog
All Posts
Spring Cloud Gateway
Assess how well you know routing,filters,and reactive APIs in Spring Cloud Gateway.
1. What is the primary function of Spring Cloud Gateway?
Database access management
API routing and request filtering
Service registration and discovery
Distributed caching
2. Which of the following are key features of Spring Cloud Gateway?
Route matching based on predicates
Request/response filtering
Integration with service discovery (e.g., Eureka)
Synchronous I/O processing
Circuit breaking integration
3. Spring Cloud Gateway is built on a reactive, non-blocking foundation using Netty.
True
False
4. What is the configuration property prefix used to define routes in Spring Cloud Gateway (format: spring.cloud.gateway.xxx)?
5. Which server runtime does Spring Cloud Gateway rely on for handling requests?
Apache Tomcat
Netty
Jetty
Undertow
6. Which types of filters are supported by Spring Cloud Gateway?
GlobalFilter
GatewayFilter
ControllerFilter
RouteFilter
ServiceFilter
7. Route predicates in Spring Cloud Gateway determine if a request should be routed to a specific target URI.
True
False
8. Spring Cloud Gateway is designed as a modern replacement for which legacy gateway?
Netflix Zuul (v1)
Kong
NGINX
AWS API Gateway
9. In a Spring Cloud Gateway route configuration, what key specifies the target URI to forward matched requests to?
10. Which of the following are examples of Spring Cloud Gateway route predicates?
Path
Method
Host
Weight
RewritePath
Reset
Answered 0 of 0 — 0 correct