1.17 Microservice - amresh087/Question GitHub Wiki

image

Qu. List down the advantages of Microservices Architecture.

Qu. What do you know about Microservices?

Qu. What are the features of Microservices?

Qu. How does Microservice Architecture work?

Qu. What is Spring Cloud?

Qu. What problems are solved by Spring Cloud?

Eureka

API Gateway

Hystrix

Ribban

Feign client

cloud config server

All Micro Service

  • Micro Service implementation ? Answer

Oauth2

  • Oauth2 Implementation code ? Answer

  • Oauth2 Explanation? Answer

@Profile

  • Wt is @profile in spring and how can deployed your project with multiple evn ?Answer1 Anser2

Global Exception

  • Global Exception in springboot? Answer

Kibana

  • Wt is Elastic search, Elastic log stack, and Kibana? Answer

  • Local Setup Elastic search, Elastic log stack, and Kibana? Answer

logging appender

Filters

  • Filters in springboot and servlet? Answer

  • Diff between Filter and Interceptor? Answer

Kafka

  • Kafka architecture Answer

  • Kafka-with-Spring-bootAnswer

  • Kafka command Answer

  • Kafka and ActiveMQ used TCP protocal

Docker

Api Versioning

  • Wt is Rest Api Versioning? Answer

RestTemplet Interceptor

  • Wt is RestTemplet interceptor?Answer

Bean scop

  • wt is bean scop in spring? Answer

Request Flow to controller

  • Explain request flow

Actuators

  • Wt actuator and all url? Answer

  • Create custom actuator url? Answer

@async

Asynchronous send request and return status

  • Asynchronous-programming Answer

  • Wt are basic requirement for creating an API? Answer

  • Wt is Singlton class? Answer1(design pattern) Answer2

  • Explain Spring boot Api development step?Anser

  • How controller work? Answer

  • One code there are nested loop for time complexity O[N^3], How can reduce time complexity and more efficient and optimization where needed Answer

  • Insight on service layer? Answer

  • Insight on Dao layer? Answer

  • JPA Layer Answer or ORM layer Answer ?

  • JPA create method for load data without query?Answer

  • How can create custom repository in JPA ?Answer

  • How can create custom method in JPA ?Answer

  • Wt is default value of @Transactional?Answer

  • Two Phase commit transaction Answer

  • Three Phase commit transaction Answer

  • SAGA pattern Answer