🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Microservices Basics: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What problem does a discovery server like Eureka solve?
  2. Q2. In a gateway route, what does lb://course-api mean?
  3. Q3. Which is a key rule of microservice data design?
  4. Q4. When is a monolith the better choice?
  5. Q5. What is the API gateway's main role?
  6. Q6. Why does the discovery server itself set eureka.client.register-with-eureka=false?
  7. Q7. Under which name does course-api register with Eureka?
  8. Q8. In a gateway route, what is the job of a predicate such as Path=/api/courses/?
  9. Q9. Two services share one database and read each other's tables. What is the problem?
  10. Q10. Which pattern handles a business transaction that spans several services, each with its own database?