Quiz about Advanced Java Quiz Day 71
  • Java Backend CourseExplore
  • Advanced Java Quiz Day 71

    Last Updated :
    Discuss
    Comments

    Question 1

    What is the core idea behind microservice architecture?

    • A

      Building one large application with tightly coupled modules

    • B

      Breaking applications into small, independently deployable services

    • C

      Running all services in a single process

    • D

      Eliminating the need for APIs

    Question 2

    In microservices, each service should ideally:

    • A

      Share the same database schema

    • B

      Have its own database

    • C

      Depend on a global transaction manager

    • D

      Be deployed with all other services

    Question 3

    Which protocol is most commonly used for communication between microservices?

    • A

      SMTP

    • B

      HTTP

    • C

      FTP

    • D

      POP3

    Question 4

    Which of the following is not an advantage of microservices?

    • A

      Independent deployment

    • B

      Scalability

    • C

      Technology flexibility

    • D

      No need for network communication

    Question 5

    In a monolithic architecture, all components are:

    • A

      Independently deployed

    • B

      Tightly coupled and deployed together

    • C

      Stateless

    • D

      Automatically distributed

    Question 6

    Which of the following is a challenge of microservices?

    • A

      Service isolation

    • B

      Network latency and complexity

    • C

      Independent scaling

    • D

      Fault isolation

    Question 7

    Which pattern is often used to route requests between microservices?

    • A

      Circuit breaker

    • B

      API Gateway

    • C

      Singleton

    • D

      DAO

    Question 8

    Which is true about scaling in microservices vs monolithic?

    • A

      Monolithic scales faster

    • B

      Microservices allow scaling only specific components

    • C

      Both scale identically

    • D

      Scaling is not needed in microservices

    There are 8 questions to complete.

    Take a part in the ongoing discussion