Spring Cloud Config: Centralized Configuration Basics
An introductory quiz on centralized configuration management using Spring Cloud Config.
Questions in this quiz
15 questions on Spring Cloud Config: Centralized Configuration Basics. Work through them here, then start the quiz to answer them and see your score.
1.What is the primary purpose of Spring Cloud Config?
- ACentralized configuration management
- BAPI gateway
- CDatabase management
- DLoad balancing
2.Which component in Spring Cloud Config stores the configuration properties?
- AZuul Proxy
- BConfig Server
- CEureka Server
- DConfig Client
3.In Spring Cloud Config, where are configuration files typically stored?
- AGit repository
- BDatabase
- CIn-memory cache
- DLocal file system
4.Which annotation is used to enable a Spring Boot application as a Config Server?
- A@EnableConfigServer
- B@EnableCircuitBreaker
- C@EnableZuulProxy
- D@EnableEurekaServer
5.What protocol is commonly used by Spring Cloud Config to fetch configurations from a Git repository?
- AFTP
- BHTTP
- CSSH
- DSMTP
6.Which file format is NOT supported by Spring Cloud Config for configuration files?
- AXML
- BCSV
- CProperties
- DYAML
7.What is the role of the Config Client in Spring Cloud Config?
- AMonitor application health
- BLoad balance requests
- CFetch configuration from Config Server
- DStore configuration data
8.How can a Spring Boot application be configured to use Spring Cloud Config?
- AAdd spring-cloud-starter-config dependency
- BAdd spring-cloud-starter-zuul dependency
- CAdd spring-cloud-starter-netflix dependency
- DAdd spring-cloud-starter-eureka dependency
9.Which property is used to specify the location of the Config Server in a client application?
- Aspring.config.import
- Bspring.cloud.config.uri
- Cspring.application.name
- Dserver.port
10.What is the default port for a Spring Cloud Config Server?
- A8888
- B9090
- C8761
- D8080
11.Which command is used to refresh configuration properties in a Spring Boot application?
- A/actuator/refresh
- B/actuator/reload
- C/reload
- D/refresh
12.How does Spring Cloud Config handle different environments (e.g., dev, prod)?
- ALabels
- BProfiles
- CBranches
- DTags
13.Which Spring Cloud Config feature allows for encryption of sensitive data?
- ASSL
- BData Masking
- COAuth2
- DEncryption and Decryption
14.What is the purpose of the 'label' parameter in Spring Cloud Config?
- ATo enable logging
- BTo specify a version or branch
- CTo define a profile
- DTo set a configuration key
15.Which of the following is a benefit of using Spring Cloud Config?
- AImproved database performance
- BFaster API response times
- CEnhanced security protocols
- DCentralized management of configuration