ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 359 - AZ-400 discussion

Report
Export

You have a project in Azure DevOps named Project1.

You implement a Continuous Integration/Continuous Deployment (CI/CD) pipeline that uses PowerShell Desired State Configuration (DSC) to configure the application infrastructure. You need to perform a unit test and an integration test of the configuration before Project1 is deployed. What should you use?

A.
the PSScriptAnalyzer tool
Answers
A.
the PSScriptAnalyzer tool
B.
the Pester test framework
Answers
B.
the Pester test framework
C.
the PSCodeHealth module
Answers
C.
the PSCodeHealth module
D.
the Test-DscConfiguration cmdlet
Answers
D.
the Test-DscConfiguration cmdlet
Suggested answer: B

Explanation:

You should use the Pester test framework to perform a unit test and an integration test of the configuration before Project1 is deployed. The Pester test framework is a PowerShell testing framework that can be used to validate PowerShell DSC configurations.

asked 02/10/2024
Owais Mansoor
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first