• Tutorials
  • Courses
  • Tracks

Advance Java Quiz Day 74

Last Updated :
Discuss
Comments

Question 1

What is Spring Cloud primarily used for in microservices architecture?

  • Database management

  • Distributed system coordination and cloud-native development

  • UI development

  • File storage

Question 2

Which of the following is NOT a feature of Spring Cloud?

  • Service discovery

  • Centralized configuration

  • Load balancing

  • Image rendering

Question 3

Why is Spring Cloud important for microservices development?

  • It reduces the number of microservices needed

  • It provides tools for configuration management, service discovery, and distributed tracing

  • It forces microservices to share the same database

  • It is only used for monolithic applications

Question 4

Which Spring Cloud component is used for service discovery?

  • Spring Cloud Config

  • Eureka

  • Ribbon

  • Hystrix

Question 5

In Eureka, a service instance registers itself with the Eureka Server using which role?

  • Eureka Client

  • Eureka Server

  • Spring Cloud Config

  • Load Balancer

Question 6

Which dependency is required in a Spring Boot project to create a Eureka Server?

  • spring-cloud-starter-eureka

  • spring-cloud-starter-config

  • spring-cloud-starter-netflix-eureka-server

  • spring-boot-starter-data-jpa

There are 6 questions to complete.

Take a part in the ongoing discussion