Microsoft AZ-400 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-400 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-400 Premium Bundle
$79.97
$59.98

AZ-400 Premium Bundle

  • Premium File: 398 Questions & Answers. Last update: Nov 7, 2026
  • Training Course: 27 Video Lectures
  • Study Guide: 784 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-400 Premium Bundle

Microsoft AZ-400 Premium Bundle
  • Premium File: 398 Questions & Answers. Last update: Nov 7, 2026
  • Training Course: 27 Video Lectures
  • Study Guide: 784 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-400 Practice Test 87

Question 860

A pipeline masks one variable but embeds a token into a generated configuration artifact retained for every developer. Choose TWO measures that implement and verify an effective Azure DevOps response to this specific situation. (Choose TWO.)

  1. Dismiss the known risk for preventing secret leaks in pipeline logs and artifacts and keep no evidence or accountable owner after deployment.
  2. Search test logs and generated artifacts for safe secret markers and review access to protected outputs.
  3. Use secret-aware tasks, masked variables, safe output handling, and controlled artifact content to prevent disclosure.
  4. Declare preventing secret leaks in pipeline logs and artifacts successful solely from a green pipeline status and skip checking its actual control outcome.
  5. Bypass review and testing for preventing secret leaks in pipeline logs and artifacts whenever the release deadline is urgent, applying the change to production immediately.

Explanation

Correct Answers

B:

Search test logs and generated artifacts for safe secret markers and review access to protected outputs. Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

C:

Use secret-aware tasks, masked variables, safe output handling, and controlled artifact content to prevent disclosure. Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts. A single logged or packaged credential can give unauthorized users access to sensitive services.

Incorrect Answers

A:

Dismiss the known risk for preventing secret leaks in pipeline logs and artifacts and keep no evidence or accountable owner after deployment. It conflicts with the stated operating condition: Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

D:

Declare preventing secret leaks in pipeline logs and artifacts successful solely from a green pipeline status and skip checking its actual control outcome. It conflicts with the stated operating condition: Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

E:

Bypass review and testing for preventing secret leaks in pipeline logs and artifacts whenever the release deadline is urgent, applying the change to production immediately. It conflicts with the stated operating condition: Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

Question 861

A pull request introduces an injection defect but the repository runs CodeQL only after production deployment. Which implementation BEST addresses the operational issue?

  1. Connect supported repositories to Defender for Cloud DevOps Security and verify organization and project coverage.
  2. Enable dependency alerts and controlled update pull requests with ownership, priority, and required regression checks.
  3. Integrate image vulnerability, dependency, secret, and licensing policy checks before artifact promotion.
  4. Configure appropriate CodeQL language coverage and PR code scanning with severity-based review requirements.

Explanation

Correct Answer

D:

Configure appropriate CodeQL language coverage and PR code scanning with severity-based review requirements. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

A:

Connect supported repositories to Defender for Cloud DevOps Security and verify organization and project coverage.

B:

Enable dependency alerts and controlled update pull requests with ownership, priority, and required regression checks.

C:

Integrate image vulnerability, dependency, secret, and licensing policy checks before artifact promotion.

Question 862

A pull request introduces an injection defect but the repository runs CodeQL only after production deployment. How should the team validate the intended result?

  1. Compare source repository inventory with connected environments and verify representative finding ingestion and ownership.
  2. Promote a controlled test image with a known policy violation and confirm its release is blocked or explicitly approved.
  3. Introduce a controlled test finding in a supported language and confirm scanning reports it before merge.
  4. Generate a test vulnerable dependency alert and trace the upgrade PR through approval, CI, and closure.

Explanation

Correct Answer

C:

Introduce a controlled test finding in a supported language and confirm scanning reports it before merge. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.

Incorrect Answers

A:

Compare source repository inventory with connected environments and verify representative finding ingestion and ownership.

B:

Promote a controlled test image with a known policy violation and confirm its release is blocked or explicitly approved.

D:

Generate a test vulnerable dependency alert and trace the upgrade PR through approval, CI, and closure.

Question 863

A pull request introduces an injection defect but the repository runs CodeQL only after production deployment. Which DevOps implementation principle BEST explains the issue?

  1. Scan findings must influence release authorization and must cover the same immutable image ultimately deployed.
  2. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.
  3. Central visibility is not equivalent to scanning coverage if source organizations and projects remain unenrolled.
  4. Vulnerability detection reduces risk only when supported fixes are validated and applied in actual dependent applications.

Explanation

Correct Answer

B:

Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

A:

Scan findings must influence release authorization and must cover the same immutable image ultimately deployed.

C:

Central visibility is not equivalent to scanning coverage if source organizations and projects remain unenrolled.

D:

Vulnerability detection reduces risk only when supported fixes are validated and applied in actual dependent applications.

Question 864

A pull request introduces an injection defect but the repository runs CodeQL only after production deployment. What preventive practice should be maintained after the fix?

  1. Review CodeQL workflows and permitted exceptions when build languages or repository structure change.
  2. Reassess scanning tools, signature trust, and exceptions as base images and dependencies change.
  3. Track overdue advisories and update failures with risk-based exceptions and compensating controls.
  4. Reconcile repository onboarding after new teams, orgs, or service connections are added.

Explanation

Correct Answer

A:

Review CodeQL workflows and permitted exceptions when build languages or repository structure change. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

B:

Reassess scanning tools, signature trust, and exceptions as base images and dependencies change.

C:

Track overdue advisories and update failures with risk-based exceptions and compensating controls.

D:

Reconcile repository onboarding after new teams, orgs, or service connections are added.

Question 865

A pull request introduces an injection defect but the repository runs CodeQL only after production deployment. What outcome most clearly explains the business impact?

  1. Known high-risk packages or prohibited licenses may be shipped through otherwise reliable pipelines.
  2. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.
  3. Material software supply-chain risks can remain invisible behind a seemingly comprehensive security dashboard.
  4. An organization can know about vulnerabilities for months without reducing the exposure in production.

Explanation

Correct Answer

B:

A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed. This is the directly relevant business or security consequence of github advanced security codeql and code-scanning gates. Root cause: Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.

Incorrect Answers

A:

Known high-risk packages or prohibited licenses may be shipped through otherwise reliable pipelines. That risk is relevant to container image and license scanning in microsoft devops pipelines, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

C:

Material software supply-chain risks can remain invisible behind a seemingly comprehensive security dashboard. That risk is relevant to defender for cloud devops security repository coverage, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

D:

An organization can know about vulnerabilities for months without reducing the exposure in production. That risk is relevant to dependabot alerts and dependency update governance, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

Question 866

A monorepo installs CodeQL but scans one language and omits an internet-facing service written in another language. Which solution should be prioritized to resolve the stated failure?

  1. Connect supported repositories to Defender for Cloud DevOps Security and verify organization and project coverage.
  2. Integrate image vulnerability, dependency, secret, and licensing policy checks before artifact promotion.
  3. Configure appropriate CodeQL language coverage and PR code scanning with severity-based review requirements.
  4. Enable dependency alerts and controlled update pull requests with ownership, priority, and required regression checks.

Explanation

Correct Answer

C:

Configure appropriate CodeQL language coverage and PR code scanning with severity-based review requirements. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

A:

Connect supported repositories to Defender for Cloud DevOps Security and verify organization and project coverage.

B:

Integrate image vulnerability, dependency, secret, and licensing policy checks before artifact promotion.

D:

Enable dependency alerts and controlled update pull requests with ownership, priority, and required regression checks.

Question 867

A monorepo installs CodeQL but scans one language and omits an internet-facing service written in another language. Which evidence would BEST demonstrate that the fix operates as intended?

  1. Promote a controlled test image with a known policy violation and confirm its release is blocked or explicitly approved.
  2. Introduce a controlled test finding in a supported language and confirm scanning reports it before merge.
  3. Generate a test vulnerable dependency alert and trace the upgrade PR through approval, CI, and closure.
  4. Compare source repository inventory with connected environments and verify representative finding ingestion and ownership.

Explanation

Correct Answer

B:

Introduce a controlled test finding in a supported language and confirm scanning reports it before merge. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.

Incorrect Answers

A:

Promote a controlled test image with a known policy violation and confirm its release is blocked or explicitly approved.

C:

Generate a test vulnerable dependency alert and trace the upgrade PR through approval, CI, and closure.

D:

Compare source repository inventory with connected environments and verify representative finding ingestion and ownership.

Question 868

A monorepo installs CodeQL but scans one language and omits an internet-facing service written in another language. Which DevOps implementation principle BEST explains the issue?

  1. Vulnerability detection reduces risk only when supported fixes are validated and applied in actual dependent applications.
  2. Scan findings must influence release authorization and must cover the same immutable image ultimately deployed.
  3. Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.
  4. Central visibility is not equivalent to scanning coverage if source organizations and projects remain unenrolled.

Explanation

Correct Answer

C:

Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

A:

Vulnerability detection reduces risk only when supported fixes are validated and applied in actual dependent applications.

B:

Scan findings must influence release authorization and must cover the same immutable image ultimately deployed.

D:

Central visibility is not equivalent to scanning coverage if source organizations and projects remain unenrolled.

Question 869

A monorepo installs CodeQL but scans one language and omits an internet-facing service written in another language. What preventive practice should be maintained after the fix?

  1. Reconcile repository onboarding after new teams, orgs, or service connections are added.
  2. Track overdue advisories and update failures with risk-based exceptions and compensating controls.
  3. Review CodeQL workflows and permitted exceptions when build languages or repository structure change.
  4. Reassess scanning tools, signature trust, and exceptions as base images and dependencies change.

Explanation

Correct Answer

C:

Review CodeQL workflows and permitted exceptions when build languages or repository structure change. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.

Incorrect Answers

A:

Reconcile repository onboarding after new teams, orgs, or service connections are added.

B:

Track overdue advisories and update failures with risk-based exceptions and compensating controls.

D:

Reassess scanning tools, signature trust, and exceptions as base images and dependencies change.

Question 870

A monorepo installs CodeQL but scans one language and omits an internet-facing service written in another language. What outcome most clearly explains the business impact?

  1. Material software supply-chain risks can remain invisible behind a seemingly comprehensive security dashboard.
  2. A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed.
  3. An organization can know about vulnerabilities for months without reducing the exposure in production.
  4. Known high-risk packages or prohibited licenses may be shipped through otherwise reliable pipelines.

Explanation

Correct Answer

B:

A green pull request can contain known exploitable source vulnerabilities when relevant code is never analyzed. This is the directly relevant business or security consequence of github advanced security codeql and code-scanning gates. Root cause: Static analysis helps find source-level risks only when scan coverage includes the changed code and gates are actionable.

Incorrect Answers

A:

Material software supply-chain risks can remain invisible behind a seemingly comprehensive security dashboard. That risk is relevant to defender for cloud devops security repository coverage, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

C:

An organization can know about vulnerabilities for months without reducing the exposure in production. That risk is relevant to dependabot alerts and dependency update governance, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

D:

Known high-risk packages or prohibited licenses may be shipped through otherwise reliable pipelines. That risk is relevant to container image and license scanning in microsoft devops pipelines, but the specific unresolved condition here concerns github advanced security codeql and code-scanning gates and has a different direct consequence.

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

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.