300-910 · Question #89
A developer is creating a platform that will be used as a central repository for all corporate files. Access to the platform will require user authentication and authorization. To accomplish the requi
The correct answer is B. integration. To ensure that all microservices applications, including authentication and authorization components, function correctly together in a central file repository platform, integration tests are essential.
Question
Options
- Aperformance
- Bintegration
- Cunit
- Dsmoke
How the community answered
(25 responses)- B92% (23)
- C4% (1)
- D4% (1)
Why each option
To ensure that all microservices applications, including authentication and authorization components, function correctly together in a central file repository platform, integration tests are essential.
Performance tests evaluate the system's responsiveness and stability under specific load conditions, focusing on speed and scalability rather than the correct interaction of components.
Integration tests are designed to verify the interactions and communication between different components, services, or modules of an application. For a microservices-based platform with authentication and authorization, integration tests confirm that all services correctly interact and data flows between them as expected, ensuring the entire system functions cohesively.
Unit tests verify individual components or functions in isolation and do not cover the interactions between multiple microservices or how they collectively form a working system.
Smoke tests are preliminary tests to check the basic functionality of a system, acting as a quick sanity check before comprehensive testing, but they do not thoroughly verify all component interactions.
Concept tested: Integration testing in microservices
Source: https://learn.microsoft.com/en-us/azure/architecture/microservices/testing
Topics
Community Discussion
No community discussion yet for this question.