Eureka server interview questions
What you will learn here about Eureka
- Eureka server interview questions
Eureka server interview questions
These are the most common asked interview questions.
1)Which of the following annotation enables netflix discovery client?
- @LoadBalanced
- @EnableDiscoveryClient
- @EnableEurekaServer
- @EnableEurekaClient
2)Eureka clients talk to Eureka Server in the same zone
- True
- False
3)What is the artifactid for the Eureka discovery client?
- hystrix-core
- spring-cloud-starter-netflix-eureka-server
- spring-cloud-starter-netflix-ribbion
- spring-cloud-starter-netflix-eureka-client
4)Eurekaserver works in both Standalone and Clustured modes.
- True
- False
5)What is the number of heartbeats expected from N instance/min?
- N*3
- N
- N*2
- N*4
6)What is the default port for Eureka server?
- 8671
- 8090
- 8081
- 8080
7)Which of the following is a netflix service discovery tool?
- etcd
- Eureka
- consul
- Apache Zookeeper
8)What is the value assigned to the property registerWithEureka in order for a service to act as Eureka server?
- True
- False
9)How many components does eureka have?
- 1
- 2
- 3
- 4
10)What is the primary feature of ribbion?
- Caching and Batching
- Load Balancing
- Fault Tolerance
- Service Discovery Integration
11)Which component specifies the mechanism we use to determine the servers availability in real-time?
- ServerList
- Rule
- PingUrl
- Ping
12)What is the bean name of Irule
- ribbonLoadBalancer
- ribbonClientConfig
- ribbonRule
- ribbonPing
13)Which component specifies the load balancing rule we use in application?
- ServerList
- Rule
- PingUrl
- Ping
14)What is the percentage of loss in the heartbeats for a eureka server to go into self-preservation mode?
- 0.25
- 0.35
- 0.2
- 0.15
15)Calling end-point “/service-registry” with GET returns the status of
- Registration
- ServiceDiscovery
- EurekaClient
- Service Registry
16)What is the artifactid for the Eureka server?
- hystrix-core
- spring-cloud-starter-netflix-eureka-client
- spring-cloud-starter-netflix-eureka-server
- spring-cloud-starter-netflix-ribbion
17)What load balancing strategy does ribbon follow?
- Zone Aware Round Robin LB
- Weighted Response Time LB
- Simple Round Robin LB
- All of the above
18)Ribbon client <clientName>.ribbon.NIWSServerListClassName should implement?
- ServerList
- ServerListFilter
- Irule
- IloadBalancer
19)What is the default Eureka lease renewal time?
- 30 sec
- 40 sec
- 35 sec
- 25 sec
20)The preoperty spring.cloud.discovery.client.health-indicator.enabled=false disables?
- composite HealthIndicator
- DiscoveryClientHealthIndicator
- Generic HealthIndicator
- InstanceIndicator
21)To create load balanced Resttemplate which annotation should be added to it?
- @LoadBalanced
- @EnableRibbon
- @RibbonClient
- @FeignClient
22)Netflix Ribbon is an Inter Process Communication(IPC) cloud library
- True
- False
23)When Eureka is used in conjuction with ribbon, it replaces Iping interface with?
- ServerListFilter
- NIWSDiscoveryPing
- DomainExtractingServerList
- DiscoveryEnabledNWSServerList