Spring Boot

Spring Cloud Config

Centralized configuration with Spring Cloud Config Server, Git backend, dynamic refresh, encryption

19 питань зі співбесід·
Senior
1

What is the primary role of Spring Cloud Config Server?

Відповідь

Spring Cloud Config Server centralizes configuration management for all microservices. It allows storing configurations in an external repository (Git, filesystem, Vault) and distributing them to client applications. This facilitates configuration changes without redeployment and ensures consistency across environments.

2

Which dependency is required to create a Config Server?

Відповідь

spring-cloud-starter-config-server is the starter that contains all necessary dependencies to create a Config Server. It includes Spring Cloud Config Server, the embedded web server, and components needed to expose configuration endpoints. Then simply enable it with @EnableConfigServer.

3

Which annotation enables Config Server in a Spring Boot application?

Відповідь

@EnableConfigServer activates Spring Cloud Config Server features in the application. This annotation automatically configures necessary endpoints to expose configurations to clients, initializes the backend repository (Git, filesystem, etc.), and sets up the server to respond to configuration requests following the /{application}/{profile}/{label} pattern.

4

What is the default configuration backend for Spring Cloud Config Server?

5

How to configure the Git repository URL in Config Server?

+16 питань зі співбесід

Інші теми співбесід Spring Boot

Spring Core - IoC & DI

Junior
22 запитань

Spring Boot Auto-Configuration

Junior
20 запитань

Spring Boot Starters

Junior
18 запитань

Application Properties & YAML

Junior
16 запитань

Logging with SLF4J & Logback

Junior
20 запитань

Spring Boot DevTools

Junior
15 запитань

Spring MVC Basics

Mid-Level
20 запитань

Spring REST Controllers

Mid-Level
20 запитань

Request & Response Handling

Mid-Level
20 запитань

Exception Handling

Mid-Level
25 запитань

Bean Validation

Mid-Level
25 запитань

Spring Data JPA Basics

Mid-Level
25 запитань

JPA Entities & Relationships

Mid-Level
30 запитань

JPA Queries

Mid-Level
30 запитань

Spring Data Repositories

Mid-Level
25 запитань

Spring Security Basics

Mid-Level
25 запитань

Spring Boot Actuator

Mid-Level
20 запитань

Unit Testing with JUnit & Mockito

Mid-Level
30 запитань

Spring Boot Testing

Mid-Level
30 запитань

Profiles & Environment

Mid-Level
20 запитань

RestTemplate & WebClient

Mid-Level
24 запитань

Async & Scheduling

Mid-Level
25 запитань

Caching with Spring

Mid-Level
25 запитань

Spring WebFlux (Reactive)

Mid-Level
25 запитань

Spring Transactions

Senior
30 запитань

Advanced Authentication & Authorization

Senior
30 запитань

JWT & Stateless Security

Senior
20 запитань

OAuth2 & Authorization Server

Senior
20 запитань

Spring Boot & Docker

Senior
19 запитань

Microservices with Spring

Senior
25 запитань

Performance Optimization

Senior
30 запитань

GraalVM Native Images

Senior
20 запитань

Опануй Spring Boot для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно