Spring Cloud Config
Centralized configuration with Spring Cloud Config Server, Git backend, dynamic refresh, encryption
1What is the primary role of Spring Cloud Config Server?
What is the primary role of Spring Cloud Config Server?
Cevap
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.
2Which dependency is required to create a Config Server?
Which dependency is required to create a Config Server?
Cevap
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.
3Which annotation enables Config Server in a Spring Boot application?
Which annotation enables Config Server in a Spring Boot application?
Cevap
@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.
What is the default configuration backend for Spring Cloud Config Server?
How to configure the Git repository URL in Config Server?
+16 mülakat soruları
Diğer Spring Boot mülakat konuları
Spring Core - IoC & DI
Spring Boot Auto-Configuration
Spring Boot Starters
Application Properties & YAML
Logging with SLF4J & Logback
Spring Boot DevTools
Spring MVC Basics
Spring REST Controllers
Request & Response Handling
Exception Handling
Bean Validation
Spring Data JPA Basics
JPA Entities & Relationships
JPA Queries
Spring Data Repositories
Spring Security Basics
Spring Boot Actuator
Unit Testing with JUnit & Mockito
Spring Boot Testing
Profiles & Environment
RestTemplate & WebClient
Async & Scheduling
Caching with Spring
Spring WebFlux (Reactive)
Spring Transactions
Advanced Authentication & Authorization
JWT & Stateless Security
OAuth2 & Authorization Server
Spring Boot & Docker
Microservices with Spring
Performance Optimization
GraalVM Native Images
Bir sonraki mülakatın için Spring Boot'de uzmanlaş
Tüm sorulara, flashcards'a, teknik testlere, code review alıştırmalarına ve mülakat simülatörlerine eriş.
Ücretsiz başla