Spring Cloud Gateway MCQs with answers Page - 1

Here, you will find a collection of MCQ questions on Spring Cloud Gateway. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Arogya • 3.49K Points
Extraordinary

Q. What is Spring Cloud Gateway?

  • (A) A database management system
  • (B) An API Gateway for routing requests to microservices
  • (C) A frontend framework
  • (D) A logging tool

A

Arogya • 3.49K Points
Extraordinary

Q. Spring Cloud Gateway is built on:

  • (A) Servlet API
  • (B) Spring MVC only
  • (C) Spring WebFlux and Project Reactor
  • (D) JSP

A

Arogya • 3.49K Points
Extraordinary

Q. Which dependency is required for Spring Cloud Gateway?

  • (A) spring-cloud-starter-gateway
  • (B) spring-boot-starter-jpa
  • (C) spring-boot-starter-security
  • (D) spring-boot-starter-test

A

Arogya • 3.49K Points
Extraordinary

Q. What is the primary function of an API Gateway?

  • (A) Database queries
  • (B) Routing and filtering requests
  • (C) Compiling code
  • (D) UI rendering

A

Arogya • 3.49K Points
Extraordinary

Q. Spring Cloud Gateway supports which type of programming model?

  • (A) Blocking
  • (B) Reactive non-blocking
  • (C) Offline
  • (D) Manual threading

A

Arogya • 3.49K Points
Extraordinary

Q. Which feature allows modifying requests and responses?

  • (A) Filters
  • (B) Controllers
  • (C) Repositories
  • (D) Entities

A

Arogya • 3.49K Points
Extraordinary

Q. Spring Cloud Gateway can integrate with which service discovery?

  • (A) Eureka
  • (B) MySQL
  • (C) MongoDB
  • (D) Hibernate

A

Arogya • 3.49K Points
Extraordinary

Q. Which predicate is used to match URL path?

  • (A) Path Predicate
  • (B) SQL Predicate
  • (C) Loop Predicate
  • (D) Thread Predicate

A

Arogya • 3.49K Points
Extraordinary

Q. What is rate limiting in API Gateway?

  • (A) Increasing database size
  • (B) Limiting number of requests from a client
  • (C) Stopping server
  • (D) Deleting API

A

Arogya • 3.49K Points
Extraordinary

Q. Which filter is used to add headers?

  • (A) AddRequestHeader filter
  • (B) SQLFilter
  • (C) ThreadFilter
  • (D) BeanFilter

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ