Wednesday, January 27, 2021

 Interview questions- Company wise

ABM India

  • Microservices- Decomposition design pattern?
  • Application security - How to prevent content being added to an iframe in html
  • How to create database agnostic application
  • Fargate vs EC2 in terms of scalability

Coforge
  • How do you secure your application
  • Difference between API gateway and Load Balancer
  • Alternative to Oauth2 
        - JWT token
  • What to check in a code review
  • How will you use queue for a transaction?

Iris
  • How will you cache the data inside GET API
  • REdis cache-How does it share data between different microservices
  • How do 2 APIs /microservices communicate with each other
  • How to design an application with millions of users
  • Countdown latch, cyclic barrier, Distributed transaction
  • Two phase commit

Sopra Steria

  • Considerations for a microservices architecture?
  • Answer- 
Things to keep in mind while designing a microservices application
1) Application calls are stateless. If stateful.use distributed cache
2) Database commits are distributed. 2 phase commit.saga pattern. eventual consistency
3) scalabaility
4) Security
5) Data Durability
6) Fault tolerance
7) Availability
What is eventual consistency?
  • You got an email from your client regarding a performance problem? what will be your approach?
  • You need to upgrade java version from java 8. Considerations?
  • You need to redesign an application as it has performance problems? What will you do?
  • A transaction is failing in a microservices architecture? How will you find the problem?
  • What is the opposite of eventual consistency?
Round 2:
  • What all is there in a design document?
  • Design - Name of design document to define scope Ans- Use case diagram
  • Agile vs waterfall
  • API Gateway..What is handled apart from routing
  • Oauth2 - What libraries. How is the authenticatation authorization returned and response is sent back ot the calling service after auth is passes via a token -- He was asking some library name i think
  • difference between aspect and Interceptor
  • What are cross cutting concerns
  • Tell me a situation where you have designed a cross cutting concern yourself

Random
What are the different types of architectures used in your past projects?  
Answer Question
What was challenge you faced in scaling an application consumed by millions of consumer?  
1) Third party services might not scale well
2) Scaling the database is a challenge
Answer Question
What are non-functional requirements of a system and which one is very important from your point of view?  

Macquarie
Q) When would you consider microservices vs monolithic
Q) How do you take care of transaction management in a distributed system
Q) What is 2 phase commit
Q) Order and Product table. Order transaction committed.Product failed. What happens
Q) How do you check if a linkedlist is circular?
Q) How do you check duplicates in an array without using any collection?
Q) What is ThreadLocal
Q) What is intrinsic locking
Q) What is volatile
Q) Aggregation vs composition
Q) SOLID principles
Q) How does one thread access the value modified by other thread.
Q) What are atomic variables
Q) What is Thread.join
Q) What is a happens-before relationship
Q) Difference between Executors.newFixedThreadPool and newSingleThreadPool
Q) When to use SOAP vs REST. 

MAXLIFE
1) Microservices
2) Design a system for buying mutual funds
3) What is CQRS
4) what is 12 factor app


Accenture
Q) Microservices patterns and antipatterns
Q) Spring boot
Q) What is the pattern that spring uses
Q) Difference between IOC and dependency injection
Q) Spring life cycle
Q) One thing that you will talk about if you join as a team lead (Technical topic)
Q) How do you do API testing


No comments: