Eureka MCQs with answers Page - 2

You will find multiple-choice questions (MCQs) related to #Eureka here. Go through these questions to prepare effectively for your upcoming exams and interviews.

To view the correct answer for any question, simply click the "Show Answer" button.

Have a question to share? Click on "Add Question" to contribute!

A

Arogya • 1.97K Points
Master

Q. Which property sets the Eureka server URL in client configuration?

  • (A) spring.datasource.url
  • (B) eureka.client.serviceUrl.defaultZone
  • (C) server.port
  • (D) spring.application.name

A

Arogya • 1.97K Points
Master

Q. Which load balancer works with Eureka in Spring Cloud?

  • (A) Ribbon
  • (B) Hibernate
  • (C) JPA
  • (D) Servlet

A

Arogya • 1.97K Points
Master

Q. What is self-preservation mode in Eureka?

  • (A) Deletes all services
  • (B) Prevents mass eviction during network failure
  • (C) Restarts server automatically
  • (D) Stops all clients

A

Arogya • 1.97K Points
Master

Q. Eureka server dashboard is accessible at:

  • (A) /home
  • (B) /eureka
  • (C) /dashboard
  • (D) /admin

A

Arogya • 1.97K Points
Master

Q. Which communication is used between services discovered by Eureka?

  • (A) REST/HTTP
  • (B) FTP
  • (C) SMTP
  • (D) Bluetooth

A

Arogya • 1.97K Points
Master

Q. What is the purpose of spring.application.name in Eureka client?

  • (A) Server IP
  • (B) Service identifier in registry
  • (C) Database name
  • (D) User name

A

Arogya • 1.97K Points
Master

Q. Can multiple instances of the same service register in Eureka?

  • (A) No
  • (B) Yes
  • (C) Only one instance allowed
  • (D) Only database services allowed

A

Arogya • 1.97K Points
Master

Q. Which dependency is required to create a Eureka server?

  • (A) spring-cloud-starter-netflix-eureka-server
  • (B) spring-boot-starter-jpa
  • (C) spring-boot-starter-security
  • (D) spring-boot-starter-thymeleaf

A

Arogya • 1.97K Points
Master

Q. Which dependency registers a service as Eureka client?

  • (A) spring-cloud-starter-netflix-eureka-client
  • (B) spring-boot-starter-web
  • (C) spring-boot-devtools
  • (D) spring-boot-starter-test

A

Arogya • 1.97K Points
Master

Q. What is registry caching in Eureka client?

  • (A) Storing database tables
  • (B) Locally storing registry information
  • (C) Saving log files
  • (D) Caching UI pages
What's Tag

As you may know, questions are organized under broad categories. Each category can include various types of questions. For example, the "History" category might contain questions about the Revolt of 1857, Shivaji Maharaj, Ancient History, Buddhism, and more.

To further refine this organization, we've introduced tags, which act as sub-categories to group questions more specifically.

Verified users can add tags to any question. If you have any suggestions regarding this system, we'd love to hear from you. Contact Us

Learn More