Oracle Cloud Platform Data Integration 2020 Specialist — Question 12
What is one of the differences between a microservice and a serverless function? (Choose the best answer.)
Answer options
- A. Microservices are used for long running operations and serverless functions for short running operations.
- B. Microservices always use a data store and serverless functions never use a data store.
- C. Microservices are stateless and serverless functions are stateful.
- D. Microservices are triggered by events and serverless functions are not.
Correct answer: B
Explanation
The correct answer is B because microservices typically rely on a data store for managing persistent data, while serverless functions can operate without a dedicated data store. Options A, C, and D are incorrect as they misrepresent the operational characteristics of microservices and serverless functions.