0
Top 30 Microservices Architecture Questions Answers

Open 1 Answers 907 Views Technology
Top 30 Microservices Architecture Questions Answers

1 Answer

0
Top 30 Multiple choice Microservices Architecture questions and answers

(1)The transactions that span across multiple services are handled by

(a)logging queries in DBs

(b)DML commands

(c)Event driven Architecture

(d)pre-compiled queries

Correct Answer of the above questions is :(c)Event driven Architecture

(2)Microservices based architecture prefers _______

RDBMS DBs

NoSQL DBs

No dependency on any particular DB

Correct Answer of the above questions is :No dependency on any particular DB

(3)Microservices supports different kinds of databases and this is called ____________.

Service Deployment

Polyglot persistence

Event Driven Architecture

Polyglot resistance

Correct Answer of the above questions is :Polyglot persistence

(4)The 2 components of CQRS include_______________

Query & command side

Query & Client side

Server & command side

Server & client side

Correct Answer of the above questions is :Query & command side

(5)IDL stands for ______________________

Interface dependency language

Inter-dependency location identifier

Interface definition language

Inter-dependency language

Correct Answer of the above questions is :Interface definition language

(6)packer.io & Boxful represents __________________________ type of pattern

Service Instance per Container

Multiple Services per Host pattern

Service Instance per Host

Correct Answer of the above questions is : Service Instance per Host

(7)Which of these represent the drawback of Multiple Services per Host pattern

faulty deployment

Difficult to limit resource utilization

Non- Dependency conflicts

Correct Answer of the above questions is :Difficult to limit resource utilization

(8)Service Instance per Host pattern provides ________________

Leverage AWS for Autoscaling & Load balancing.

Great Manageability

All the options

Great Isolation

None of the Options

Correct Answer of the above questions is :All the options

(9)Microservices-based architecture enforces a Modular structure ?

True

False

Correct Answer of the above questions is :True

(10)Amazon EC2 Container Service is an example of ________________

Docker

Polyglot persistence

CQRS

Correct Answer of the above questions is :Docker

(11)Efficient Utilization & Fast Deployment represent which pattern __________________________________

Service Instance per Host

Multiple Services per Host pattern

Service Instance per Container

Correct Answer of the above questions is :Multiple Services per Host pattern

(12)In Microservices, the API Gateway takes care of the security aspect by rendering ________________

encrypted keys

Key value pairs

Access tokens

Chassis keys

Messaging queues

Correct Answer of the above questions is :Access tokens

(13)Caching helps in improving the performance of the system ?

False

True

Correct Answer of the above questions is :True

(14)Which of this does not represent caching types_______________

Server cache

Shared Cache

Distributed Cache

Local & Remote Cache

No Cache

Correct Answer of the above questions is :Server cache

(15)Which pattern collects & reports all exceptions to a centralized exception tracking service

Audit logging

Application logging

Distributed tracing

Exception tracing

Correct Answer of the above questions is :Exception tracing

(16)__________ is ability to store something temporarily in order to reduce the loading times and I/O of a system.

Cache

Chassis

Service Deployment

Service registry

Correct Answer of the above questions is :Cache

(17)In __________, each external request is tagged with unique identifier which is passed to all services involved in handling the request and included in application logging messages

Distributed tracing

Audit logging

Application logging

Exception tracing

Correct Answer of the above questions is :Distributed tracing

(18)Microservice Chassis takes care of all except __________________

Logging

Health checks

Externalized configuration

token generation

Metrics

Correct Answer of the above questions is :token generation

(19)Netflix OSS is example ____________

Client-side

Server-side discovery

Correct Answer of the above questions is :Client-side

(20)Simple to Develop, Test, Deploy, Scale represents __________________

Microservices

Monolithic

Correct Answer of the above questions is :Monolithic

(21)Separating components with conflicting resource requirements falls under the bucket of _____________

Monolithic

Microservices

Correct Answer of the above questions is :Microservices

(22)Microservices-based architecture enforces a Modular structure ?

True

False

Correct Answer of the above questions is :True

(23)Kubernotes , Marathon are examples of _______________________

Service Instance per Host

Service Instance per Container

Multiple Services per Host pattern

Correct Answer of the above questions is :Service Instance per Container

(24)Functional Decomposition is an example of ____________

Monolithic

Microservices

Correct Answer of the above questions is :Microservices

(25)Agile development & Deployment is difficult in case of __________________

Microservices

Monolithic

Correct Answer of the above questions is : Monolithic

(26)Is Microservice is considered as subset of SOA ?

True

False

Correct Answer of the above questions is :True

(27)Spring Boot is example of _____________

Service Deployment

Chassis Framework

Service registry

API Gateway

Correct Answer of the above questions is :Chassis Framework

(28)Microservice Architecture adapts following concepts

All the options

None of the Options

SOA

OOPS

Web Service / HTTP

Correct Answer of the above questions is :All the options

(29)API Gateway ensures _____________________________

Composition

Protocol translation.

All the options

None of the Options

Request routing

Correct Answer of the above questions is :All the options

(30)The services communicate with each other internally ___________________________

Messaging

Both Messaging and Remote Procedure invocation

Remote Procedure invocation

Correct Answer of the above questions is :Both Messaging and Remote Procedure invocation

(31)Complexity of developing, testing & deploying distributed system, Handling partial failures account to disadvantages of

Microservices

Monolithic

Correct Answer of the above questions is :Microservices

(32)Scaling the application can be challenging in _____________ due to conflicting needs of Memory, CPU, IO

Monolithic

Microservices

Correct Answer of the above questions is :Monolithic

(33)The 2 types of Service Discovery only includes Client-side & server-side discovery

False

True

Correct Answer of the above questions is :True

(34)Software built as microservices can, by definition, be broken down into multiple component services ?

False

True

Correct Answer of the above questions is :True

(35)When any single application function or component fails, then the entire application goes down. (Single point of failure ) This is primary disadvantage of ________________

Microservices

Monolithic

Correct Answer of the above questions is :Monolithic

(36)Which among these helps in developing a microservice quickly ___________________

Chassis

Service registry

Service Deployment

API Gateway

Correct Answer of the above questions is :Chassis

(37)External clients communicate with Microservices using _________________________

API GATEWAY

API PROXY

Messaging

API

Correct Answer of the above questions is :API GATEWAY

(38)Long term commitment of Technology stack is a weakness of which model of architecture

Microservices

Monolithic

Correct Answer of the above questions is :Monolithic

(39)Which of the following is incorrect - with respect to cons about Microservices (I) 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 technology stack

II

IV

III

I

All the options

Correct Answer of the above questions is :IV
by (53.7k points)
...