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 27

Question 260

A repository cannot restore its private container package because workflow token permissions omit the required package read scope. Choose TWO measures that implement and verify an effective Azure DevOps response to this specific situation. (Choose TWO.)

  1. Bypass review and testing for github packages access using least-privilege workflow credentials whenever the release deadline is urgent, applying the change to production immediately.
  2. Dismiss the known risk for github packages access using least-privilege workflow credentials and keep no evidence or accountable owner after deployment.
  3. Declare github packages access using least-privilege workflow credentials successful solely from a green pipeline status and skip checking its actual control outcome.
  4. Use appropriately scoped GITHUB_TOKEN or supported GitHub App credentials with explicit package permission boundaries.
  5. Test package publishing and download with restricted test workflows and confirm unauthorized repositories cannot pull it.

Explanation

Correct Answers

D:

Use appropriately scoped GITHUB_TOKEN or supported GitHub App credentials with explicit package permission boundaries. Package registries need separately managed publish and consume permissions, not blanket source repository ownership. Excessive package credentials may permit supply-chain tampering or leak proprietary dependencies to unrelated teams.

E:

Test package publishing and download with restricted test workflows and confirm unauthorized repositories cannot pull it. Package registries need separately managed publish and consume permissions, not blanket source repository ownership.

Incorrect Answers

A:

Bypass review and testing for github packages access using least-privilege workflow credentials whenever the release deadline is urgent, applying the change to production immediately. It conflicts with the stated operating condition: Package registries need separately managed publish and consume permissions, not blanket source repository ownership.

B:

Dismiss the known risk for github packages access using least-privilege workflow credentials and keep no evidence or accountable owner after deployment. It conflicts with the stated operating condition: Package registries need separately managed publish and consume permissions, not blanket source repository ownership.

C:

Declare github packages access using least-privilege workflow credentials successful solely from a green pipeline status and skip checking its actual control outcome. It conflicts with the stated operating condition: Package registries need separately managed publish and consume permissions, not blanket source repository ownership.

Question 261

A build changes output after an upstream public package is removed, despite a previously successful enterprise release. Which implementation BEST addresses the operational issue?

  1. Publish artifacts to controlled Azure Artifacts feeds and promote verified package versions through appropriate feed views.
  2. Publish uniquely identified pipeline artifacts and reuse the same tested run output across all environments.
  3. Configure upstream sources and caching policies that preserve authenticated provenance and pinned dependency versions.
  4. Separate internal and public feed priorities, protect namespaces, and enforce provenance for dependent packages.

Explanation

Correct Answer

C:

Configure upstream sources and caching policies that preserve authenticated provenance and pinned dependency versions. An upstream cache improves availability only if package identity and namespace trust remain consistent. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Publish artifacts to controlled Azure Artifacts feeds and promote verified package versions through appropriate feed views. That applies to azure artifacts feed views for verified package promotion, not upstream feed sources and dependency cache integrity.

B:

Publish uniquely identified pipeline artifacts and reuse the same tested run output across all environments. That applies to pipeline artifact identity and cross-stage immutability, not upstream feed sources and dependency cache integrity.

D:

Separate internal and public feed priorities, protect namespaces, and enforce provenance for dependent packages. That applies to package feed namespace protection and dependency confusion, not upstream feed sources and dependency cache integrity.

Question 262

A build changes output after an upstream public package is removed, despite a previously successful enterprise release. How should the team validate the intended result?

  1. Compare deployment manifests and published date versions to validate the exact baseline on representative hosts.
  2. Rebuild a recorded release against the approved feed and compare exact package versions and checksums.
  3. Recreate a clean agent restore and verify package URL, publisher, hash, and expected feed resolution.
  4. Use contract tests across dependent applications and compare package API changes with approved version increments.

Explanation

Correct Answer

B:

Rebuild a recorded release against the approved feed and compare exact package versions and checksums. An upstream cache improves availability only if package identity and namespace trust remain consistent.

Incorrect Answers

A:

Compare deployment manifests and published date versions to validate the exact baseline on representative hosts.

C:

Recreate a clean agent restore and verify package URL, publisher, hash, and expected feed resolution. That applies to package feed namespace protection and dependency confusion, not upstream feed sources and dependency cache integrity.

D:

Use contract tests across dependent applications and compare package API changes with approved version increments. That applies to semantic versioning for shared api contract packages, not upstream feed sources and dependency cache integrity.

Question 263

A build changes output after an upstream public package is removed, despite a previously successful enterprise release. Which DevOps implementation principle BEST explains the issue?

  1. Dependency-resolution order and namespace trust can allow an external package to impersonate a private library.
  2. Feed views and package versions distinguish validated consumable assets from untested build outputs.
  3. Package registries need separately managed publish and consume permissions, not blanket source repository ownership.
  4. An upstream cache improves availability only if package identity and namespace trust remain consistent.

Explanation

Correct Answer

D:

An upstream cache improves availability only if package identity and namespace trust remain consistent. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Dependency-resolution order and namespace trust can allow an external package to impersonate a private library. That applies to package feed namespace protection and dependency confusion, not controlling principle for upstream feed sources and dependency cache integrity.

B:

Feed views and package versions distinguish validated consumable assets from untested build outputs. That applies to azure artifacts feed views for verified package promotion, not controlling principle for upstream feed sources and dependency cache integrity.

C:

Package registries need separately managed publish and consume permissions, not blanket source repository ownership. That applies to github packages access using least-privilege workflow credentials, not controlling principle for upstream feed sources and dependency cache integrity.

Question 264

A build changes output after an upstream public package is removed, despite a previously successful enterprise release. What preventive practice should be maintained after the fix?

  1. Review workflow permission scopes and package visibility after repository transfers or organization changes.
  2. Audit upstream-source changes and implement dependency lock files and package provenance checks.
  3. Require changelog review and compatibility validation before publishing shared package versions.
  4. Monitor new package names and review unexpected upstream resolution during pipeline dependencies changes.

Explanation

Correct Answer

B:

Audit upstream-source changes and implement dependency lock files and package provenance checks. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Review workflow permission scopes and package visibility after repository transfers or organization changes. This helps sustain a control for github packages access using least-privilege workflow credentials; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

C:

Require changelog review and compatibility validation before publishing shared package versions. This helps sustain a control for semantic versioning for shared api contract packages; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

D:

Monitor new package names and review unexpected upstream resolution during pipeline dependencies changes. This helps sustain a control for package feed namespace protection and dependency confusion; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

Question 265

A build changes output after an upstream public package is removed, despite a previously successful enterprise release. What outcome most clearly explains the business impact?

  1. Premature artifact deletion can make incident reconstruction and safe restoration impossible.
  2. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.
  3. A dependency confusion attack may insert attacker-controlled code into otherwise reviewed builds.
  4. Ambiguous baseline versions make rollback, compliance evidence, and vulnerability remediation unreliable.

Explanation

Correct Answer

B:

Dependency substitution or disappearance can make releases unreproducible or inject malicious code. This is the directly relevant business or security consequence of upstream feed sources and dependency cache integrity. Root cause: An upstream cache improves availability only if package identity and namespace trust remain consistent.

Incorrect Answers

A:

Premature artifact deletion can make incident reconstruction and safe restoration impossible. That risk is relevant to build artifact retention and reproducible rollback windows, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity and has a different direct consequence.

C:

A dependency confusion attack may insert attacker-controlled code into otherwise reviewed builds. That risk is relevant to package feed namespace protection and dependency confusion, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity and has a different direct consequence.

D:

Ambiguous baseline versions make rollback, compliance evidence, and vulnerability remediation unreliable. That risk is relevant to calver version coordination for frequent infrastructure modules, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity and has a different direct consequence.

Question 266

A team caches public dependencies but allows an untrusted upstream source to overwrite a verified internal package name. Which solution should be prioritized to resolve the stated failure?

  1. Publish uniquely identified pipeline artifacts and reuse the same tested run output across all environments.
  2. Configure upstream sources and caching policies that preserve authenticated provenance and pinned dependency versions.
  3. Publish artifacts to controlled Azure Artifacts feeds and promote verified package versions through appropriate feed views.
  4. Separate internal and public feed priorities, protect namespaces, and enforce provenance for dependent packages.

Explanation

Correct Answer

B:

Configure upstream sources and caching policies that preserve authenticated provenance and pinned dependency versions. An upstream cache improves availability only if package identity and namespace trust remain consistent. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Publish uniquely identified pipeline artifacts and reuse the same tested run output across all environments. That applies to pipeline artifact identity and cross-stage immutability, not upstream feed sources and dependency cache integrity.

C:

Publish artifacts to controlled Azure Artifacts feeds and promote verified package versions through appropriate feed views. That applies to azure artifacts feed views for verified package promotion, not upstream feed sources and dependency cache integrity.

D:

Separate internal and public feed priorities, protect namespaces, and enforce provenance for dependent packages. That applies to package feed namespace protection and dependency confusion, not upstream feed sources and dependency cache integrity.

Question 267

A team caches public dependencies but allows an untrusted upstream source to overwrite a verified internal package name. Which evidence would BEST demonstrate that the fix operates as intended?

  1. Use contract tests across dependent applications and compare package API changes with approved version increments.
  2. Recreate a clean agent restore and verify package URL, publisher, hash, and expected feed resolution.
  3. Compare deployment manifests and published date versions to validate the exact baseline on representative hosts.
  4. Rebuild a recorded release against the approved feed and compare exact package versions and checksums.

Explanation

Correct Answer

D:

Rebuild a recorded release against the approved feed and compare exact package versions and checksums. An upstream cache improves availability only if package identity and namespace trust remain consistent.

Incorrect Answers

A:

Use contract tests across dependent applications and compare package API changes with approved version increments. That applies to semantic versioning for shared api contract packages, not upstream feed sources and dependency cache integrity.

B:

Recreate a clean agent restore and verify package URL, publisher, hash, and expected feed resolution. That applies to package feed namespace protection and dependency confusion, not upstream feed sources and dependency cache integrity.

C:

Compare deployment manifests and published date versions to validate the exact baseline on representative hosts.

Question 268

A team caches public dependencies but allows an untrusted upstream source to overwrite a verified internal package name. Which DevOps implementation principle BEST explains the issue?

  1. Dependency-resolution order and namespace trust can allow an external package to impersonate a private library.
  2. An upstream cache improves availability only if package identity and namespace trust remain consistent.
  3. Feed views and package versions distinguish validated consumable assets from untested build outputs.
  4. Package registries need separately managed publish and consume permissions, not blanket source repository ownership.

Explanation

Correct Answer

B:

An upstream cache improves availability only if package identity and namespace trust remain consistent. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Dependency-resolution order and namespace trust can allow an external package to impersonate a private library. That applies to package feed namespace protection and dependency confusion, not controlling principle for upstream feed sources and dependency cache integrity.

C:

Feed views and package versions distinguish validated consumable assets from untested build outputs. That applies to azure artifacts feed views for verified package promotion, not controlling principle for upstream feed sources and dependency cache integrity.

D:

Package registries need separately managed publish and consume permissions, not blanket source repository ownership. That applies to github packages access using least-privilege workflow credentials, not controlling principle for upstream feed sources and dependency cache integrity.

Question 269

A team caches public dependencies but allows an untrusted upstream source to overwrite a verified internal package name. What preventive practice should be maintained after the fix?

  1. Monitor new package names and review unexpected upstream resolution during pipeline dependencies changes.
  2. Audit upstream-source changes and implement dependency lock files and package provenance checks.
  3. Review workflow permission scopes and package visibility after repository transfers or organization changes.
  4. Require changelog review and compatibility validation before publishing shared package versions.

Explanation

Correct Answer

B:

Audit upstream-source changes and implement dependency lock files and package provenance checks. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.

Incorrect Answers

A:

Monitor new package names and review unexpected upstream resolution during pipeline dependencies changes. This helps sustain a control for package feed namespace protection and dependency confusion; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

C:

Review workflow permission scopes and package visibility after repository transfers or organization changes. This helps sustain a control for github packages access using least-privilege workflow credentials; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

D:

Require changelog review and compatibility validation before publishing shared package versions. This helps sustain a control for semantic versioning for shared api contract packages; it does not directly stop recurrence of upstream feed sources and dependency cache integrity described in this case.

Question 270

A team caches public dependencies but allows an untrusted upstream source to overwrite a verified internal package name. What outcome most clearly explains the business impact?

  1. Premature artifact deletion can make incident reconstruction and safe restoration impossible.
  2. A dependency confusion attack may insert attacker-controlled code into otherwise reviewed builds.
  3. Dependency substitution or disappearance can make releases unreproducible or inject malicious code.
  4. Ambiguous baseline versions make rollback, compliance evidence, and vulnerability remediation unreliable.

Explanation

Correct Answer

C:

Dependency substitution or disappearance can make releases unreproducible or inject malicious code. This is the directly relevant business or security consequence of upstream feed sources and dependency cache integrity. Root cause: An upstream cache improves availability only if package identity and namespace trust remain consistent.

Incorrect Answers

A:

Premature artifact deletion can make incident reconstruction and safe restoration impossible. That risk is relevant to build artifact retention and reproducible rollback windows, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity and has a different direct consequence.

B:

A dependency confusion attack may insert attacker-controlled code into otherwise reviewed builds. That risk is relevant to package feed namespace protection and dependency confusion, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity and has a different direct consequence.

D:

Ambiguous baseline versions make rollback, compliance evidence, and vulnerability remediation unreliable. That risk is relevant to calver version coordination for frequent infrastructure modules, but the specific unresolved condition here concerns upstream feed sources and dependency cache integrity 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.