Spring Cloud and Microservices Flashcards

1
Q

What is Spring Cloud?

A

A collection of tools to build microservices and distributed systems with Spring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Spring Cloud Netflix?

A

A set of Netflix OSS-based tools integrated with Spring Cloud, including Eureka, Ribbon, and Hystrix.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Spring Cloud Config?

A

A tool to provide centralized configuration management for distributed applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Eureka in Spring Cloud?

A

A service registry for discovering microservices within a distributed system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Hystrix used for in Spring Cloud?

A

It is a circuit breaker library to prevent failure propagation in a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Zuul in Spring Cloud?

A

A gateway service that provides dynamic routing, monitoring, and security for microservices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Ribbon in Spring Cloud?

A

A client-side load balancer that allows you to control the behavior of HTTP and TCP clients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Spring Cloud Gateway?

A

A modern gateway service to route requests to microservices with advanced features like path rewriting and load balancing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Feign in Spring Cloud?

A

A declarative REST client that simplifies the way HTTP requests are made to other microservices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of @FeignClient in Spring Cloud?

A

It is used to define a client interface that communicates with another microservice via REST.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Spring Cloud Sleuth?

A

A tool for distributed tracing that adds trace and span IDs to logs to track requests across microservices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Zipkin in Spring Cloud?

A

A distributed tracing system integrated with Spring Cloud Sleuth to visualize and monitor trace data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does Spring Cloud Circuit Breaker work?

A

It prevents failure propagation across microservices by cutting off requests to a service when it is failing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Spring Cloud Kubernetes?

A

An integration between Spring Cloud and Kubernetes to deploy and manage microservices in Kubernetes environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Config Server in Spring Cloud?

A

A central place to manage external properties for applications across all environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does service discovery work in Spring Cloud?

A

Using a registry like Eureka, services register themselves and clients can discover other services dynamically.

17
Q

What is the purpose of @EnableEurekaClient?

A

t marks a Spring Boot application as a Eureka client that can register with a Eureka server.

18
Q

What is resilience in microservices, and how does Spring Cloud help with it?

A

Resilience is the ability of a system to recover from failures. Spring Cloud offers tools like Hystrix and Circuit Breaker for resilience.

19
Q

What is API Gateway in Spring Cloud?

A

A single entry point for managing, routing, and securing multiple microservices.

20
Q

What does @EnableFeignClients do?

A

It enables the use of Feign clients in a Spring Boot application for declarative HTTP client creation.