Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Microservices Architecture Interview Questions and Answer Part – 1

What unique feature does virtualization provide as a hosting option?

  • Quick setup times
  • Containers
  • Nested virtualization
  • Snapshots (Ans)
  • Quick load times

API Gateway can be used for…

  • Load balancing (Ans)
  • Hosting
  • Deployment
  • Shared databases
  • Continous integration

Which of these can be converted to microservices?

  • Events
  • Classes
  • Methods
  • Bounded contexts (Ans)
  • Delegates

What type should the initial high-level design be for a greenfield microservices system?

  • Minature
  • Monolithic (Ans)
  • Micro
  • Observable
  • Autonomous

Traditional software architecture with a large code base is known as a…?

  • Command line level system
  • Continous integration system
  • Microservices type system
  • Monolithic type system (Ans)

What microservice design principle dictates that a service should have a single focus?

  • Observable
  • Resilience
  • High cohesion (Ans)
  • Automation

What microservice design principle dictates that a service should have centralized logging?

  • Automation
  • Observable (Ans)
  • Resilience
  • High Cohesion

To ensure microservices are loosely coupled, we should avoid the use of…

  • Web-API
  • Client libraries (Ans)
  • Asynchronous communication
  • Continous integration

To make microservices architecture more resilient, you should design the service to cater to…

  • Config files
  • Shared databases
  • Synchronous communication
  • Known failures and connection timeouts (Ans)
  • Software viruses

To make distributed transactions easier to trace, microservices should log what extra piece of information?

  • Entity ID
  • Senders address
  • Recipients address
  • Foreign key ID
  • Correlation ID (Ans)

What microservice design principle dictates that tools should be used for quick deployment?

  • Observable
  • Autonomous
  • Automation (Ans)
  • Resilience

Asynchronous communication can be implemented using a…

  • Message queueing protocol (Ans)
  • RPC protocol
  • Synchronous communication protocol
  • Testing protocol
  • Integration protocol

What has to be identified at code level in order to ready your codebase for a microservices architecture?

  • Seams (Ans)
  • Defects
  • Bottlenecks
  • Deadlocks
  • Projects
Rajesh Kumar
Follow me