JavaThinking.com
Toggle Menu
Home
Online Kotlin Compiler
Tutorials
Spring Boot
Spring Cloud
Spring Data
Spring MVC
Spring Security
Blog
All Posts
Spring Cloud Config
Validate your understanding of centralized configuration management using Spring Cloud Config.
1. What is the primary purpose of Spring Cloud Config?
Service discovery
Centralized configuration management
Circuit breaking
Load balancing
2. Which of the following are valid configuration sources for Spring Cloud Config Server?
Git repository
SVN repository
Local filesystem
MongoDB database
3. Spring Cloud Config Server can serve configuration files from a local directory.
True
False
4. What is the default port number on which Spring Cloud Config Server runs?
5. Which annotation is used to enable a Spring Cloud Config Client in a Spring Boot application (traditional approach)?
@EnableConfigServer
@EnableConfigClient
@ConfigClient
@SpringCloudConfig
6. Select all features provided by Spring Cloud Config.
Centralized configuration management
Encryption of sensitive configuration properties
Dynamic configuration refresh
Automatic service registration
7. Spring Cloud Config Client applications automatically detect and apply configuration changes from the Config Server without any manual trigger.
True
False
8. In Spring Cloud Config, what is the name of the parameter used to specify a Git branch, tag, or commit hash for configuration retrieval (starts with 'l')?
9. What does a 'profile' in Spring Cloud Config typically represent?
A specific environment (e.g., dev, prod)
The Git repository URL
The encryption key for sensitive data
The port number of the Config Server
10. Which endpoints can be used to trigger a configuration refresh in a Spring Cloud Config Client (Spring Boot 2.x+)?
/actuator/refresh
/refresh
/config/refresh
/reload-all
Reset
Answered 0 of 0 — 0 correct