300-910 · Question #64
A team is developing an application for end users. The application will use microservices. For user access dual-factor authentication will be used. Which type of test must be performed by the CI/CD to
The correct answer is B. end-to-end. To thoroughly verify an application's functionality from an end-user's perspective, especially one involving microservices and multi-factor authentication, it is essential to perform tests that simulate complete user journeys across all integrated system components. This ensures
Question
Options
- Aunit
- Bend-to-end
- CA/B
- Dsanity
How the community answered
(48 responses)- A8% (4)
- B75% (36)
- C13% (6)
- D4% (2)
Why each option
To thoroughly verify an application's functionality from an end-user's perspective, especially one involving microservices and multi-factor authentication, it is essential to perform tests that simulate complete user journeys across all integrated system components. This ensures that the entire system functions as a cohesive unit for the user.
Unit tests verify individual code components in isolation and do not cover interactions between multiple services or replicate complete user workflows.
End-to-end (E2E) tests are specifically designed to simulate real user behavior by testing the entire application flow from start to finish, across all integrated microservices, user interfaces, and authentication mechanisms like dual-factor authentication. This verifies that all components work together seamlessly to support various user actions and deliver the expected outcomes, confirming the application's overall functionality and user experience.
A/B tests are used for comparing different versions of a feature to optimize user experience or performance, not for verifying that core user actions function correctly within the application.
Sanity tests provide a quick check of critical functionalities to determine if a build is stable enough for further testing, but they do not thoroughly replicate diverse user behaviors or verify a wide range of user actions.
Concept tested: Software testing types, end-to-end testing, microservices
Source: https://learn.microsoft.com/en-us/azure/architecture/guide/developer/testing-microservices
Topics
Community Discussion
No community discussion yet for this question.