Guardian java interview questions and answers | Microservices interview questions round 2

preview_player
Показать описание
Guardian Microservices Interview questions
Spring boot interview questions
java interview questions

-----------------------------------------

#java​ #javaInterviewQuestions​ #JavaInterviewQuestionsandAnswers​​​ #Intellipaat​​​ #JavaInterview​​​ #CoreJavaInterviewQuestions​​​ #JavaInterviewQuestionsandAnswersForExperienced​​​ #JavaTutorial​​​ #JavaProgramming​​​ #JavaTutorialForBeginners​​​

Thanks
Java Techies
Рекомендации по теме
Комментарии
Автор

@1. Intro ....
@2. USE of API GATEWAY ?
@3 API gateway. How you Impl Security in it .
@4 How you do authorize the User. Authentication n Authorization
@5. How JWT works. 🤔 . How to Impl? What Config needed in Eureka Server @ EUREKA Client.
@6. CIRCUIT Breaker = Trips
@7. How to impl
@8. How to .... @Hystrix
@8. Kafka Service Communications.?.
@9 Kafka Producer . Consumers. Communications is Async.
@10 Kafka Listener.
@11. How Producer is produces the messages.
@12. When it .... How you Produce Topic. Creation of Topic? Ans. Flow.
@13. Load Balancing.
@14 . Ribbon . Annotations?
@15. Docker commands.
@16. JAVA-8. Functional Interface.
@18. Streams. Efficient work using Collections
@19. Static n Default methods. Why static method?
@20. Multiple interfaces
Stream intermediate and terminal operations.
@21 Predefined Functional Interface in java8
@22. Task .
Count Male Female employee

Map<String, Long> map =list.stream().collect(Collectors.groupingBy(Employee::getGender, Collectors.counting());
@30 OOPS Concepts
@32 Callable vs Runnable
@34 Task in ThreadPool ? Completed or not ?
@35 Future
@36. Design patterns. Factory Pattern ?
@37. How to Break Singleton n How do you protect it .
@38. Enum Solution?
@39. REST Annotations n Control Flow.
@40 . Idempotent ? Use case String Array - Sort with condition.
@41. Solution shared.
@44. Q Continues on it.
.

spiritualyogiyogi
Автор

23:20 --> Count Male Female employee
Map<String, Long> map =list.stream().collect(Collectors.groupingBy(Employee::getGender, Collectors.counting());

ManishTiwari-orzt
Автор

How is guardian life company for 3.5 yoe??

prachidesai
Автор

Hi, can you please create video with a simple couple of microservices and apigateway and service registry the whole architecture of microservices and explain ?. So that it will be very useful for the beginners

sushsushmitha
Автор

how is the work nature in Guardian life ?Between a MNC and Guardian which is better to choose?

bhuvaneswari
Автор

For that last question I dint understand the solution'

personelpurpose
Автор

@25:27 answer
List<String> collect3 =

shankars
Автор

How did you create topic in property file?
One option is to use the kafka-topics.sh.
Question was why default vs static method in functional interface
Please Google for answer for task completion with Future as your answer was not totally correct

rexsam
Автор

What is the question at @39:59 and @40:30
I didn't understand please help.

saddammd
Автор

Can you please tell what's the last question related to array ?

shankars
Автор

public class Sport {

String game;

public String getGame() {
return game;
}

public void setGame(String game) {
this.game = game;
}

public Sport(String game) {
this.game = game;
}

@Override
public String toString() {
return "Sport [game=" + game + "]";
}



public class Employee {

private int id;
private String name;
private String gender;
private double sal;

private List<Sport> sports;

}

class MainApp{

//find the employee having salary greater than 5000 and only play chess
Employee e5=new Employee(1, "Manish", "Male", 50000, Arrays.asList(new Sport("Chess"), new Sport("Cricket")));
Employee e6=new Employee(2, "Dhanu", "Male", 80000, Arrays.asList(new Sport("Cricket")));
Employee e7=new Employee(3, "Bhavya", "Female", 90000, Arrays.asList(new Sport("Chess"), new Sport("Badminton")));
Employee e8=new Employee(4, "Kittu", "Female", 60000, Arrays.asList(new Sport("Badminton")));

List<Employee> empList=Arrays.asList(e5, e6, e7, e8);

empList.stream()
.filter(e -> e.getSports().stream()
.anyMatch(g ->




}

ManishTiwari-orzt