Pregunta de entrevista de EY

Spring Security, Changes need to do when we are doing custom authentication with spring security. Ask to write code with spring security which protecting services and discuss on it's challenges and it's customization in first round. You have employee object you have to filter it based on it's field from UI what method you use such that your service endpoint is dynamic. There are 100 login thread and 2 thread pool you get 900 request at the same time how did they processed. Increasing no of thread vs increasing no of pool what is more beneficial