Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 90

You have a build pipeline in Azure Pipelines that occasionally fails.

You discover that a test measuring the response time of an API endpoint causes the failures.

You need to prevent the build pipeline from failing due to the test.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

    Correct Answer: B, D

    BD

    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

Discussion
nvnrao57

Given ans is correct

vxl

Came up in my exam (febr 2023)

zellckOptions: BD

BD is the answer. https://learn.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management?view=azure-devops#flaky-test-management-and-reporting On the Test management page under Flaky test options, you can set options for how flaky tests are included in the Test Summary report. Flaky test data for both passed and failed test is available in Test results. The Flaky tag helps you identify flaky tests. By default, flaky tests are included in the Test Summary. However, if you want to ensure flaky test failures don't fail your pipeline, you can choose to not include them in your test summary and suppress the test failure. This option ensures flaky tests (both passed and failed) are removed from the pass percentage and shown in Tests not reported.

zellck

https://learn.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management?view=azure-devops#tests-marked-as-flaky You can mark or unmark a test as flaky based on analysis or context, by choosing Flaky (or UnFlaky, depending on whether the test is already marked as flaky.)

AlexeyG

got this in 02 March 2023 exams. scored 870 marks.

budha

It was on my exam on December 7, 2022.

yana_bOptions: BD

Correct answers are B & D

Racheal28Options: BD

Go this on my exam today and selected B , D .Passed

syu31svcOptions: BD

Given answers are supported by explanation B and D

rdemontisOptions: BD

correct

sondrex

every five minutes per location all the HTML, JavaScripts, and images of App1 load

vsvaidOptions: BD

Agree with the answer

GovcommOptions: BD

Mark Flaky test and clear the Flaky test

McelonaOptions: BD

Check https://docs.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management ==> B & D is the right answer

Pankaj78Options: BD

correct

debanjan10Options: BD

B and D

Varun1980

why is it not A?

mpindado

If you disable flaky test detection, then when the test fails the pipeline is always going to be marked as failed. With flaky tests detection AZ can detect the failed test is flaky and let the pipeline finishes ok.