Microservices Architecture Interview Question-Answer

Q.1 Agile development & deployment is difficult in case of _________.

       A. Monolithic

       B. Microservices

Ans : Monolithic


Q.2 The decomposition of Microservices is based on two categories, namely ________.

       A. Technology Capability and Subdomain

       B. Business Capability and Subdomain

       C. Marketing and Domain

       D. Business Opportunity and Technology

Ans : Business Capability and Subdomain


Q.3 Microservice Architecture adapts which of the following concept(s)?

       A. OOPS

       B. SOA

       C. Web Service/HTTP

       D. All the options

Ans : All the options


Q.4 Software built as microservices can, by definition, be broken down into multiple component services.

       A. True

       B. False

Ans : False


Q.5 Separating components with conflicting resource requirements falls under the bucket of _____________.

       A. Monolithic

       B. Microservices

Ans : Microservices


Q.6 The 3Cs of Microservices include the following, except ___________.

       A. Control

       B. Connect

       C. Componentize

       D. Collaborate

Ans : Control


Q.7 External clients communicate with Microservices using ___________.

       A. Messaging

       B. API

       C. API Gateway

       D. API Proxy

Ans : API Gateway


Q.8 The client expects a timely response from the service and might even block while it waits. This represents the _________ client service interaction style.

       A. Asynchronous

       B. One to one

       C. One to many

       D. Synchronous

Ans : Synchronous


Q.9 AWS Elastic Load Balancer (ELB) is an example of __________.

       A. Client-side discovery

       B. Server-side discovery

Ans : Server-side discovery


Q.10 The transactions that span across multiple services are handled by ___________.

       A. DML commands

       B. Pre-compiled queries

       C. Logging queries in DBs

       D. Event driven Architecture

Ans : Event driven Architecture


Q.11 Netflix OSS is an example of __________.

       A. Server-side discovery

       B. Client-side discovery

Ans : Client-side discovery


Q.12 The two components of CQRS include___________.

       A. Query and client side

       B. Server and command side

       C. Server and client side

       D. Query and command side

Ans : Query and command side


Q.13 Microservices supports different kinds of databases and this is called ____________.

       A. Service Deployment

       B. Polyglot persistence

       C. Polyglot resistance

       D. Event-driven Architecture

Ans : Polyglot persistence


Q.14 Service Instance per Host pattern provides __________.

       A. Great Isolation

       B. Leverage AWS for Autoscaling and Load balancing

       C. Great Manageability

       D. All the options

Ans : All the options


Q.15 Efficient Utilization and Fast Deployment represents which pattern?

       A. Service Instance per Container

       B. Multiple Services per Host pattern

       C. Service Instance per Host

Ans : Multiple Services per Host pattern


Q.16 Packer.io and Boxful represent ______________ type of pattern.

       A. Service Instance per Container

       B. Service Instance per Host

       C. Multiple Services per Host pattern

Ans : Service Instance per Host


Q.17 __________ is the ability to store something temporarily to reduce the loading times, and I/O of a system.

       A. Service registry

       B. Chassis

       C. Service Deployment

       D. Cache

Ans : Cache


Q.18 Spring Boot is example of __________.

       A. Service Deployment

       B. Service registry

       C. Chassis Framework

       D. API Gateway

Ans : Chassis Framework


Q.19 In __________, each external request is tagged with a unique identifier which is passed to all services involved in handling the request and included in application logging messages.

       A. Exception tracing

       B. Distributed tracing

       C. Application logging

       D. Audit logging

Ans : Distributed tracing


Q.20 The following are all caching types, except ___________.

       A. Server cache

       B. Shared Cache

       C. No Cache

       D. Distributed Cache

       E. Local & Remote Cache

Ans : Local & Remote Cache


Q.21 __________ is the ability to store something temporarily to reduce the loading times, and I/O of a system.

       A. Chassis

       B. Service registry

       C. Service Deployment

       D. Cache

Ans : Cache


Q.22 Which pattern collects and reports all exceptions to a centralized exception tracking service?

       A. Distributed tracing

       B. Audit logging

       C. Application logging

       D. Exception tracing

Ans : Exception tracing


Q.23 Amazon EC2 Container Service is an example of ____________.

       A. Docker

       B. Polyglot persistence

       C. CQRS

Ans : Docker


Q.24 Which of these is a drawback of Multiple Services per Host pattern?

       A. Faulty deployment

       B. Non-Dependency conflicts

       C. Difficult to limit resource utilization

Ans : Non-Dependency conflicts


Q.25 The two types of Service Discovery includes Client-side discovery and server-side discovery.

       A. True

       B. False

Ans : False


Q.26 The benefits of Microservices include ___________.

       A. Scale development: Develop, Deploy and Scale

       B. Easy scaling

       C. Faster to build and deploy

       D. Improved Fault Isolation

       E. All the options

Ans : All the options


Q.27 IDL stands for _________.

       A. Interface Dependency Language

       B. Inter-Dependency Language

       C. Interface Definition Language

       D. Inter-Dependency Location identifier

Ans : Interface Definition Language


Q.28 Monolithic is identified by all these disadvantages, except_________.

       A. High set-up costs

       B. Quick initial development

       C. Less iteration

       D. Code base growth

       E. Horizontal scaling

       F. Increased maintenance costs

Ans : Quick initial development


Q.29 Which of the following is incorrect with respect to cons about Microservices?
(I) The increasing number of services can result in information barriers
(II) Being a distributed system, it can result in duplication of effort
(III) The architecture usually results in increased memory consumption
(IV) No long-term commitment to the technology stack

       A. IV

       B. I

       C. II

       D. III

Ans : IV


Q.30 The complexity of developing, testing and deploying the distributed system, and handling partial failures account to the disadvantages of ___________.

       A. Monolithic

       B. Microservices

Ans : Microservices


Q.31 Microservice is considered as a subset of SOA.

       A. True

       B. False

Ans : True


Q.32 Simple to develop, test, deploy and scale represents __________.

       A. Monolithic

       B. Microservices

Ans : Monolithic


Q.33 Software built as microservices can, by definition, be broken down into multiple component services.

       A. True

       B. False

Ans : True


Q.34 Scaling the application can be challenging in _____________ due to conflicting needs of Memory, CPU, and I/O.

       A. Monolithic architecture

       B. Microservices architecture

Ans : Monolithic architecture


Q.35 Limited Efficient Utilization and slow deployment represent _________.

       A. Service Instance per Container

       B. Service Instance per Host

       C. Multiple Services per Host pattern

Ans : Multiple Services per Host pattern


Q.36 API Gateway ensures ______.

       A. Composition

       B. Protocol translation.

       C. Request routing

       D. All the options

Ans : All the options


Q.37 Which among these helps in developing a microservice quickly _________.

       A. Chassis

       B. Service registry

       C. Service Deployment

       D. API Gateway

Ans : Chassis


Leave a Comment

Your email address will not be published. Required fields are marked *