Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Service Discovery can perform the following service(s).

Answer»

Service Discovery can PERFORM the FOLLOWING service(s).
Please CHOOSE the correct option from below list
(1)Real-time UPDATES
(2)Health monitoring
(3)Stores metadata about service
(4)All the options

Answer:-(4)All the options

2.

________ supports load balancing in addition to service discovery.

Answer»

________ supports LOAD balancing in addition to service discovery.
Please CHOOSE the CORRECT OPTION from below list
(1)ZOOKEEPER
(2)Consul
(3)Ribbon

Answer:-(3)Ribbon

3.

Identify the key aspect(s) for a successful service discovery solution.

Answer» IDENTIFY the key aspect(s) for a successful service discovery solution.
Please choose the correct option from below list
(1)All the options mentioned
(2)Service discovery
(3)Service registration
(4)Consistency of INFORMATION across the instances
(5)Service lookup

Answer:-(1)All the options mentioned
4.

In _________ pattern, clients connect with the backend services directly.

Answer»

In _________ pattern, clients CONNECT with the backend services directly.
Please choose the correct option from below list
(1)CLIENT side DISCOVERY pattern
(2)Server side discovery pattern

Answer:-(1)Client side discovery pattern

5.

Identify the right service registry solution that supports discovery.

Answer»

Identify the right service REGISTRY solution that supports discovery.
Choose the correct option from below list
(1)DOCKER
(2)RIBBON
(3)Zookeeper

Answer:-(3)Zookeeper

6.

Which of the registration patterns is best suited for complex architecture?

Answer»

Which of the registration PATTERNS is best suited for complex architecture?
PLEASE CHOOSE the correct OPTION from below list
(1)Third party registration pattern
(2)Client side discovery pattern
(3)SELF registration

Answer:-(1)Third party registration pattern

7.

_________ is an election algorithm in which a coordinator is elected by the highest process id silencing the other nodes

Answer»

_________ is an election algorithm in which a COORDINATOR is ELECTED by the highest process id silencing the other nodes in the system.
Please choose the CORRECT option from below list
(1)Palos Algorithm
(2)Bully Algorithm
(3)Ring Algorithm

Answer:-(2)Bully Algorithm

8.

AWS Elastic Load Balancer (ELB) is an example following ________ pattern of service discovery.

Answer»

AWS ELASTIC Load Balancer (ELB) is an example following ________ pattern of service DISCOVERY.
Please choose the correct option from below LIST
(1)Server side discovery pattern
(2)CLIENT side discovery pattern

Answer:-(1)Server side discovery pattern

9.

Is it possible for any service discovery tool to satisfy all the three guarantees (Consistency, Availability, Partition)

Answer»

Is it possible for any service discovery tool to satisfy all the three guarantees (Consistency, AVAILABILITY, Partition) in a distributed environment?
PLEASE choose the correct option from below list
(1)No, only two of the guarantees can be

achieved.
(2)No, only ONE of the guarantees can be

achieved.
(3)Yes, all three can be achieved.

Answer:-(1)No, only two of the guarantees can be achieved.

10.

What happens when the heartbeat from any service instance is not received by the service register?

Answer»

What happens when the HEARTBEAT from any service instance is not received by the service register?
Please choose the CORRECT OPTION from below list
(1)The instance is disregarded for service availability
(2)The instance is deleted from the system

Answer:-(1)The instance is disregarded for service availability

11.

_________ is associated to every user request to track the service requests placed by the users.

Answer»

_________ is associated to every user request to track the SERVICE requests placed by the users.
Please CHOOSE the CORRECT option from below list
(1)Correlation Id
(2)Node Id
(3)Instance Id

Answer:-(1)Correlation Id

12.

The process of consensus in distributed systems is essential to achieve ____________

Answer»

The process of consensus in distributed systems is essential to achieve ____________
Please CHOOSE the correct option from below list
(1)Fault-tolerance
(2)Share stronger store MODELS
(3)Common view of SYSTEM STATE
(4)All the options

Answer:-(4)All the options

13.

In server-side discovery pattern, load balancing and routing of the request to the service instances are taken care of b

Answer»

In server-side DISCOVERY PATTERN, load balancing and routing of the request to the SERVICE instances are taken care of by the service discovery tool.
Please choose the CORRECT option from below list
(1)True
(2)False

Answer:-(1)True

14.

________ is the foundation for proper monitoring, load balancing and routing in distributed systems.

Answer»

________ is the foundation for proper monitoring, load balancing and routing in distributed systems.
Please CHOOSE the CORRECT option from below list
(1)MAINTAINING the user base information for the

applications
(2)Collecting the application functionality

details
(3)CAPTURING and maintaining all the service instance information

Answer:-(3)Capturing and maintaining all the service instance information

15.

Can an external service or process poll for all the services and update the service registry for discovery?

Answer»

Can an external service or PROCESS poll for all the services and update the service registry for discovery?
Please choose the correct OPTION from below LIST
(1)YES, it is possible.
(2)No, it is not possible.

Answer:-(1)Yes, it is possible.

16.

In distributed systems, knowing that partition can always occur, what kind of service discovery tool would you prefer?

Answer»

In distributed systems, knowing that partition can always occur, what kind of service discovery tool would you prefer?
Please CHOOSE the CORRECT option from below list
(1)One that follows CP (CONSISTENCY, Partition)
(2)One that follows AP (Availability, Partition)

ANSWER:-(2)One that follows AP (Availability,Partition)

17.

Service registration can happen through how many ways?

Answer»

Service registration can HAPPEN through how many WAYS?
PLEASE choose the correct OPTION from below LIST
(1)2
(2)4
(3)3

Answer:-(1)2

18.

Which of the following are properties of consensus?

Answer»

Which of the following are PROPERTIES of consensus?
Please choose the CORRECT option from below list
(1)INTEGRITY
(2)All the options
(3)Agreement
(4)Termination

Answer:-(2)All the options

19.

How can one ensure high availability of service discovery solution so that services can be easily discovered even in the

Answer»

How can one ensure high availability of service discovery solution so that services can be easily discovered even in the event of any FAILURE scenarios?
(I) Service registry information exchange among clusters
(II) Service clients caching the service registry information
Please CHOOSE the correct option from below LIST
(1)I & II
(2)I
(3)II
(4)None of the options

Answer:-(1)I & II