8. What is the role of actuator in spring boot?
Page 9
© Copyright by Interviewbit
Microservices Interview Questions
A spring boot actuator is a project that provides restful web services to access the
current state of an application that is running in production. In addition, you can
monitor and manage application usage in a production environment without having
to code or configure any of the applications.
9. Explain how you can override the default properties of Spring
boot projects.
By specifying properties in the application.properties file, it is possible to override the
default properties of a spring boot project.
Example:
In Spring MVC applications, you need to specify a suffix and prefix. You can do this by
adding the properties listed below in the application.properties file.
For suffix – spring.mvc.view.suffix: .jsp
For prefix – spring.mvc.view.prefix: /WEB-INF/
10. What issues are generally solved by spring clouds?
The following problems can be solved with spring cloud:
Complicated issues caused by distributed systems: This includes network
issues, latency problems, bandwidth problems, and security issues.
Service Discovery issues: Service discovery allows processes and services to
communicate and locate each other within a cluster.
Redundancy issues: Distributed systems can o en have redundancy issues.
Load balancing issues: Optimize the distribution of workloads among multiple
computing resources, including computer clusters, central processing units, and
network links.
Reduces performance issues: Reduces performance issues caused by various
operational overheads.
11. What do you mean by Cohesion and Coupling?
Page 10
© Copyright by Interviewbit
|