Spring Cloud Gateway MCQs with answers Page - 2

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 • 850 Points
Hero

Q. Gateway routes requests based on:

  • (A) Predicates
  • (B) Entities
  • (C) Tables
  • (D) Threads

A

Arogya • 850 Points
Hero

Q. Spring Cloud Gateway replaces which older Netflix component?

  • (A) Zuul
  • (B) Ribbon
  • (C) Eureka
  • (D) Hystrix

A

Arogya • 850 Points
Hero

Q. Which port commonly runs a gateway service?

  • (A) 8761
  • (B) 8080/8081
  • (C) 3306
  • (D) 21

A

Arogya • 850 Points
Hero

Q. Gateway helps improve security by:

  • (A) Handling authentication centrally
  • (B) Deleting services
  • (C) Stopping clients
  • (D) Removing databases

A

Arogya • 850 Points
Hero

Q. What is a route in Spring Cloud Gateway?

  • (A) Database connection
  • (B) Mapping between request and destination service
  • (C) Thread execution
  • (D) Controller method

A

Arogya • 850 Points
Hero

Q. Gateway can also perform:

  • (A) Logging and monitoring
  • (B) Hardware repair
  • (C) Code compilation
  • (D) Database migration only

A

Arogya • 850 Points
Hero

Q. Which configuration file commonly defines routes?

  • (A) application.yml
  • (B) pom.xml
  • (C) web.xml
  • (D) hibernate.cfg.xml

A

Arogya • 850 Points
Hero

Q. Gateway supports load balancing using:

  • (A) Spring Cloud LoadBalancer
  • (B) JDBC
  • (C) Servlet container
  • (D) FTP server

A

Arogya • 850 Points
Hero

Q. What is the benefit of a single entry point?

  • (A) Easier client communication
  • (B) More database load
  • (C) Multiple URLs for clients
  • (D) No routing

A

Arogya • 850 Points
Hero

Q. Gateway communicates with services typically via:

  • (A) HTTP/REST
  • (B) Bluetooth
  • (C) USB
  • (D) SMTP only