Microsoft Certified:DevOps Engineer Expert
Domain 3Objective 2
Design and Implement a Testing Strategy for Pipelines AZ-400 Practice Questions (Page 9)
Part of the Design and implement build and release pipelines domain, which makes up ~41% of our current practice bank. Microsoft does not publish an official question count, but from its 140-minute exam (~55–95 total, ~23–39 in this domain), expect 4–7 from this objective — we provide 52 practice questions to prepare you well beyond it. (estimate)
52questions here
11free pages
13concepts
Questions 41–45
- 41
A company has a multi-stage YAML pipeline that deploys to production. They want to require manual approval from a specific user group before the production deployment proceeds. What should you configure?
Select an answer first - 42
A team wants to run unit tests and publish code coverage to the pipeline. They also want to fail the build if coverage is below a certain threshold. What should they configure in the test task?
Select an answer first - 43
An organization requires that all container images be scanned for vulnerabilities before they are deployed. The pipeline currently builds images and pushes them to a registry. What should be added to the pipeline to enforce this policy?
Select an answer first - 44
A developer wants to run unit tests locally before pushing code to the repository, but the tests depend on a database that is only available in the CI environment. The developer needs to validate the code quickly without waiting for the pipeline. What should the developer do?
Select an answer first - 45
A team wants to enforce a minimum code coverage threshold of 80% for new code in their .NET application. They use Azure Pipelines and want the build to fail if coverage is below the threshold. Which approach should you use?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “AZ-400” is a trademark of its owner, used for identification only.