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 และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี