Eureka MCQs with answers Page - 1

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 • 3.19K Points
Extraordinary

Q. What is Eureka in microservices?

  • (A) A database
  • (B) A service discovery server
  • (C) A messaging queue
  • (D) A frontend framework

A

Arogya • 3.19K Points
Extraordinary

Q. Which company developed Eureka?

  • (A) Google
  • (B) Netflix
  • (C) Microsoft
  • (D) Amazon

A

Arogya • 3.19K Points
Extraordinary

Q. Eureka follows which architecture pattern?

  • (A) Peer-to-peer service registry
  • (B) Centralized monolith
  • (C) Client-server with shared database
  • (D) Standalone desktop application

A

Arogya • 3.19K Points
Extraordinary

Q. What does a Eureka client do?

  • (A) Stores application logs
  • (B) Registers itself with the Eureka server
  • (C) Compiles Java code
  • (D) Creates database tables

A

Arogya • 3.19K Points
Extraordinary

Q. Which annotation enables Eureka Server in Spring Boot?

  • (A) @EnableJpaRepositories
  • (B) @EnableEurekaServer
  • (C) @SpringBootApplication
  • (D) @RestController

A

Arogya • 3.19K Points
Extraordinary

Q. Which annotation registers a service as a Eureka client?

  • (A) @EnableDiscoveryClient
  • (B) @Component
  • (C) @Autowired
  • (D) @Repository

A

Arogya • 3.19K Points
Extraordinary

Q. What is the default Eureka Server port?

  • (A) 8080
  • (B) 8761
  • (C) 3306
  • (D) 9090

A

Arogya • 3.19K Points
Extraordinary

Q. What information does a service register with Eureka?

  • (A) Source code
  • (B) IP address and port
  • (C) Database password
  • (D) User credentials

A

Arogya • 3.19K Points
Extraordinary

Q. How does Eureka detect if a service is alive?

  • (A) Manual checking
  • (B) Heartbeat mechanism
  • (C) Database query
  • (D) Log monitoring

A

Arogya • 3.19K Points
Extraordinary

Q. What happens if a service stops sending heartbeats?

  • (A) Eureka restarts the service
  • (B) Service is removed from registry
  • (C) Database is cleared
  • (D) Server crashes
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