- 15 hours
- Medium
Free online content available in this course.
course.header.alt.is_video
course.header.alt.is_certifying
Got it!Last updated on 7/3/20
Do you know how to prepare your application to be manageable in a production environment?
Evaluated skills
- Make your application manageable and maintainable in a production environment
Question 1
In the application.properties file, you can see this line:
logging.level.root=INFO
Which ones are correct about the content of application logs:
Careful, there are several correct answers.It contains
.trace()
logs.It contains
.debug()
logs.It contains
.info()
logs.It contains
.warn()
logs.It contains
.error()
logs.
Question 2
Which are true about adding logs to code?
Careful, there are several correct answers.Place logs where exceptions are likely to happen.
Write logs to check whether requests are received by the application.
Include logs when calling external services.
Keep controller classes thin and clean from logs.
Place as many logs as you can to ensure proper logging coverage.
Question 3
What is true about using endpoints in Spring Boot Actuator?
Careful, there are several correct answers.It provides a simple means to create REST endpoints.
It provides existing endpoints you can customize.
It provides standard endpoints, but they need to be exposed for security reasons.
Best practices emphasize creating your own custom endpoints, rather than using standard ones.
It's possible to create custom endpoints, but they should be limited for security reasons.
- Up to 100% of your training program funded
- Flexible start date
- Career-focused projects
- Individual mentoring