Fiegn Client MCQs with answers Page - 2

Here, you will find a collection of MCQ questions on Fiegn Client. 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. Which library is commonly used for Feign fault tolerance?

  • (A) Resilience4j
  • (B) Hibernate
  • (C) JUnit
  • (D) Log4j

A

Arogya • 850 Points
Hero

Q. Feign client interfaces are implemented by:

  • (A) Spring automatically at runtime
  • (B) Developer manually
  • (C) Database triggers
  • (D) Browser

A

Arogya • 850 Points
Hero

Q. Which annotation passes a variable in URL path?

  • (A) @PathVariable
  • (B) @RequestBody
  • (C) @Bean
  • (D) @Value

A

Arogya • 850 Points
Hero

Q. Which annotation sends object data in POST request?

  • (A) @RequestBody
  • (B) @Autowired
  • (C) @Component
  • (D) @Service

A

Arogya • 850 Points
Hero

Q. What happens if the target service is down and no fallback is defined?

  • (A) Application ignores it
  • (B) Exception is thrown
  • (C) Database crash
  • (D) Server restarts

A

Arogya • 850 Points
Hero

Q. Feign client helps achieve:

  • (A) Tight coupling
  • (B) Loose coupling between services
  • (C) Single application deployment
  • (D) Monolithic design

A

Arogya • 850 Points
Hero

Q. What does 'name' attribute in @FeignClient represent?

  • (A) Database name
  • (B) Service name registered in Eureka
  • (C) Package name
  • (D) Controller name

A

Arogya • 850 Points
Hero

Q. Feign can also call services using:

  • (A) Direct URL
  • (B) Only database
  • (C) Only localhost
  • (D) Only SOAP

A

Arogya • 850 Points
Hero

Q. Feign is an alternative to:

  • (A) RestTemplate/WebClient manual calls
  • (B) JPA
  • (C) Servlet
  • (D) JSP

A

Arogya • 850 Points
Hero

Q. What type of communication is Feign best suited for?

  • (A) Synchronous service-to-service communication
  • (B) File transfer
  • (C) Email sending
  • (D) Database backup

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