Question 830
After the team applies this response: Prefer secure environment or controlled secret inputs and avoid command-line or log exposure for sensitive values. In the situation—A secret from Azure Pipelines is passed as a command-line parameter and appears in child process listings on self-hosted agents. Which evidence BEST demonstrates the response is effective?
Explanation
Correct Answer
This evidence directly verifies the proposed control under the stated failure scenario: Inspect process invocation and logs during a controlled run and confirm the value is not exposed to unrelated jobs. The governing engineering principle is: Secret masking in pipeline logs is not a complete defense against process or file-based leakage.
Incorrect Answers
Azure DevOps access levels and security permissions govern different aspects of a user's effective capabilities. The needed step here is to inspect process invocation and logs during a controlled run and confirm the value is not exposed to unrelated jobs.
Security automation should preserve provenance and reduce duplicate operational work without hiding distinct exposures. The appropriate remedy is to inspect process invocation and logs during a controlled run and confirm the value is not exposed to unrelated jobs.
External collaboration should use the smallest repository and permission scope required for the role. Instead, the response must inspect process invocation and logs during a controlled run and confirm the value is not exposed to unrelated jobs.






Designing and Implementing Microsoft DevOps Solutions (AZ-400) Practice Tests