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

  1. How to manage db migrations (ask indirectly )
  2. JWT encrytion types - when to use
  3. how to handle logout in micro services
  4. how to make our own spring boot auto conig project ( configuration )
  5. How to handle distributes tasks
  6. micro services design patterns
  7. how many ways we can create threads
    • atomic values
    • re-entrant locks
  8. How are you storing user secure details in db?
    • encryption & hashing