Sr. Java FS Questions
Java
- memory improvements
- If I create Strings using StringBuilder for the first time:
- How many objects get created?
- Does it create anything in the String Pool?
- what is callable, AtomicValues, Fork Join Pool, AsynTask
Spring Boot
- memory issue
- web client
- spring security
- how to secure by role
- roles vs scopes
Angular
React
- what is virtual DOM
- why key is needed in list
- How to optimize
- why to use useState
- useState vs useRef
- component vs customHook
SQL
- how do you handle DB migratios
- How do you encrypt secure data
Security
- JWT Token management & shared session
- encryption vs hashing
Micro Services
- how do you manage distibuted tasks / scheduled jobs
- how do you rollback in saga design pattern
Questions
- How to manage db migrations (ask indirectly )
- JWT encrytion types - when to use
- how to handle logout in micro services
- how to make our own spring boot auto conig project ( configuration )
- How to handle distributes tasks
- micro services design patterns
- how many ways we can create threads
- atomic values
- re-entrant locks
- How are you storing user secure details in db?