Olete.in
Articles
Mock Tests
🧪 Microservice MCQ Quiz Hub
Microservices MCQ
Choose a topic to test your knowledge and improve your Microservice skills
1. Microservice could be considered as subset of __________
POA
SOA
Cloud
Java
2. A monolithic application is _________
built as single unit
built to handle functionality and data of many application
both of the above
None of These
3. Single point failure examples is __________
Monolithic
Microservice
both of the above
None of the above
4. Agile development and deployment is difficult in case of _________
Monolithic
Microservice
both of the above
None of the above
5. Complexity of developing testing and deploying distributed system and handling partial failures account to the disadvantage of _________
Monolithic
Microservices
both of the above
none of the above
6. The decomposition of microservices is based on two categories, namely _________
Technology capability & Subdomain
Marketing & Domain
Business opportunity & Technology
Business capability & Subdomain
7. Software built as microservices can by definition be broken down into multiple component services. The statement is:
true
false
no idea
none
8. Simple to develop test deploy scale represents __________
Monolithic
Microservice
both of the above
none of the above
9. The benefits of microservices include _______
Easy scaling
Improved fault tolerance
Scale development: Develop, Deploy & Scale
All of the above
10. Separating components with conflicting resource requirements falls under the bucket of __________
Monolithic
Microservices
Both of the above
None of the above
11. Microservices architecture adapts which of the following concepts?
Web Services/HTTP
OOPs
SOA
All of the above
12. Microservice is considered as a subset of SOA. This statement is:
True
False
No idea
None of the above
13. API gateway in microservices is liable for _________
Protocol translation
Composition
Request Routing
All of the above
14. ________ acts as a database of services their instances and corresponding location.
Service Registry
Domain Registry
Data Management
Service Deployment
15. Netflix OSS is an example of ____________
Client-side service discovery
Service-side service discovery
both of the above
none of the above
16. AWS Elastic load balancer (elb) is an example of __________
Client-side Service discovery
Server-side Service discovery
both of the above
none of the above
17. External clients communicate with microservices using ____________
API Proxy
API Gateway
Messaging
API
18. Scenarios where client takes onus and are responsible for determining the network location of the available service instances is ___
Server-side discovery
Client-side discovery
both options
none of the abo
19. The two types of service discovery includes client-side discovery and server-side discovery. The above statement is:
True
False
No idea
None of These
20. Which ensures to insulate the applications by acting as a barrier?
Service deployment
Microservice chassis
Security control
API gateway
21. The services communicate with each other internally using _________
Remote Procedure Invocation
Messaging
both A & B
None of these
22. Which acts as a database of services __________
API gateway
Security control
Service deployment
Service registry
23. _________ helps to control and limit the number of consecutive request failure that cross a threshold.
Review breaker
Microservice chassis
Circuit breaker
Service deploymen
24. The client expects a timely response from the service and might even block while it waits. This represents the ___________ client service interaction style.
one to one
one to many
synchronous
asynchronous
25. API gateway ensures ___________
Request Routing
Protocol Translation
Composition
All of the above
26. Microservices supports different kinds of databases and this is called ___________
Multiglot persistence
Polyglot persistence
Miniglot persistence
Hyperglot persistence
27. Queries in microservices architecture are implemented through _________
SQRS
CQRS
OQRS
LQRS
28. CQRS stands for in microservices _________
Command and Query Responsibility Segregation
Common Query Responsibility Segregation
Cleaner Query Responsibility Segregation
Cipher Query Responsibility Segregation
29. Amazon EC2 container service is an example of ____________
Docker
Polyglot persistence
CQRS
Spring cloud
30. The transaction that span across multiple services are handled by __________
Pre-compiled queries
Event Driven Architecture
Logging queries in DBs
DMC commands
31. Microservices based architecture prefers __________
NoSql DBs
RDBMS DBs
MySql DBs
No Dependency on any particular DBs
32. The two components of CQRS include _________
Server and command side
Server and client side
Query and command side
None of These
33. Microservices based architecture enforces a modular structure. The above statement is:
True
False
No idea
None of the above
34. ______ is example of service instance per host pattern.
Kubernetes
Docker
Solaris zones
Netflix Video Streaming
35. Which of the following is popular docker clustering framework?
Kubernetes
Marathon/Mesos
Amazon EC2 Container Services
all of the above
36. In docker each service instance is _________
Image
Container
Bean
Class
37. IDL stands for ________
Inter-Dependency Language
Interface Definition Language
Interface Dependency Language
Inter-Dependency Location Identifier
38. Service instance per host pattern provides __________
Great isolation
Great Manageability
Leverage AWS for autoscaling and load balancing
All of the above
39. Efficient utilization and fast deployment represents which pattern?
Service instance per container
Service instance per host
Multiple services per host pattern
None of the above
40. _______ is an example of service instance per container pattern.
Docker
Solaris zones
both of the above
none of the above
41. _____ is the ability to store something temporarily to reduce the loading times and i/o of a system.
Exception tracing
Application logging
Distributed tracing
Audit logging
42. Which pattern collects and reports all exceptions to a centralized exception tracking service?
Distributed tracing
Exception tracing
Audit logging
Application logging
43. Microservice chassis takes care of the following except ________
Logging
Token generation
Externalized configuration
Metrics
44. Caching helps in improving the performance of the system. The above statement is:
False
True
No idea
None of the above
45. The following are all caching types except ___________
Shared cache
Server cache
No cache
Distributed cache
46. Which among these helps in developing a microservice quickly __________
Chassis
API Gateway
Service Registry
Service Deployment
47. Spring boot is example of _________
Service registry
Chassis framework
API Gateway
Service Deployment
48. In microservices the api gateway takes care of the security aspect by rendering __________
Encrypted keys
Key-value pair
Chassis keys
.Access token
49. Functional decomposition is an example of ____________
Microservices
Monolithic
Mixed
All of the above
50. Which of these is a drawback of multiple services per host pattern?
difficult to limit resource utilization
faulty deployment
Non-dependency conflict
None
51. Which ensures to insulate the applications by acting as a barrier?
API gateway
Service Deployment
Security control
Microservices Chassis
52. Limited efficient utilization & slow deployment represent in microservices ___________
Service instance per host
Multiple service per host pattern
Service instance per container
Multiple service per host container
53. Service instance per container pattern includes the following except __________
great isolation
great manageability
slow deployment
resource utilization
54. packer.io and boxful represent ____________
.service instance per container
multiple service per container
service instance per host
multiple service per host
55. Kubernetes and marathon are examples of __________
Service instance per container
Service instance per host
Multiple Service instance per container
Multiple Service instance per host
Submit