D: You can mark or unmark a test as flaky based on analysis or context, by choosing Flaky.
To configure flaky test management, choose Project settings, and select Test management in the Pipelines section.
B:
Slide the On/Off button to On.

Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management