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 20

Question 190

A large enterprise uses a shared Git repository but developer machines spend hours loading unrelated history and working trees. Which risk is directly created by the described failure?

  1. Overly broad clones waste time while overly narrow clones silently omit files essential to dependable builds.
  2. Repository growth can break build environments or make historical releases impossible to reconstruct.
  3. A library change can unexpectedly break production consumers or leave older copies vulnerable.
  4. Recreating lost work manually can omit required changes or introduce an unreviewed release artifact.

Explanation

Correct Answer

A:

Overly broad clones waste time while overly narrow clones silently omit files essential to dependable builds. This is the directly relevant business or security consequence of sparse checkout and scalar for very large monorepositories. Root cause: Large repositories benefit from selective history and working trees only when dependency boundaries are known.

Incorrect Answers

B:

Repository growth can break build environments or make historical releases impossible to reconstruct. That risk is relevant to git lfs for oversized binary assets in version history, but the specific unresolved condition here concerns sparse checkout and scalar for very large monorepositories and has a different direct consequence.

C:

A library change can unexpectedly break production consumers or leave older copies vulnerable. That risk is relevant to cross-repository shared code via versioned packages, but the specific unresolved condition here concerns sparse checkout and scalar for very large monorepositories and has a different direct consequence.

D:

Recreating lost work manually can omit required changes or introduce an unreviewed release artifact. That risk is relevant to recover deleted commits using git reflog safely, but the specific unresolved condition here concerns sparse checkout and scalar for very large monorepositories and has a different direct consequence.

Question 191

An enterprise copies the same internal library into fifteen repositories and teams patch security vulnerabilities at different times. What change should the DevOps engineer implement FIRST for the stated Azure DevOps requirement?

  1. Publish reusable components under immutable versions and define explicit cross-repository dependency ownership.
  2. Protect critical release tags and pin deployment records to immutable commit IDs and associated artifact digests.
  3. Use reflog or known commit identifiers to recover the intended change, then reapply normal PR and validation rules.
  4. Grant scoped repository roles and time-limited external collaborator privileges based on business need.

Explanation

Correct Answer

A:

Publish reusable components under immutable versions and define explicit cross-repository dependency ownership. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

B:

Protect critical release tags and pin deployment records to immutable commit IDs and associated artifact digests. That applies to protected release tags and verifiable version references, not cross-repository shared code via versioned packages.

C:

Use reflog or known commit identifiers to recover the intended change, then reapply normal PR and validation rules. That applies to recover deleted commits using git reflog safely, not cross-repository shared code via versioned packages.

D:

Grant scoped repository roles and time-limited external collaborator privileges based on business need.

Question 192

An enterprise copies the same internal library into fifteen repositories and teams patch security vulnerabilities at different times. What check would most directly verify this Microsoft DevOps control?

  1. Compare release tag history, signed commit identity, artifact provenance, and staging-to-production deployment references.
  2. Locate the original commit hash, compare its diff with the issue, and rerun required tests after recovery.
  3. Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes.
  4. Review effective permissions and audit membership changes for a sample of third-party identities.

Explanation

Correct Answer

C:

Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

Incorrect Answers

A:

Compare release tag history, signed commit identity, artifact provenance, and staging-to-production deployment references.

B:

Locate the original commit hash, compare its diff with the issue, and rerun required tests after recovery.

D:

Review effective permissions and audit membership changes for a sample of third-party identities. That applies to least-privilege github organization collaborator permissions, not cross-repository shared code via versioned packages.

Question 193

An enterprise copies the same internal library into fifteen repositories and teams patch security vulnerabilities at different times. What is the underlying reason the existing approach fails?

  1. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.
  2. Git recovery can recover commit objects, but recovering content does not grant approval to deploy it.
  3. Large repositories benefit from selective history and working trees only when dependency boundaries are known.
  4. Repository access is a sensitive software supply-chain boundary, not simply a convenience for team participation.

Explanation

Correct Answer

A:

Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

B:

Git recovery can recover commit objects, but recovering content does not grant approval to deploy it.

C:

Large repositories benefit from selective history and working trees only when dependency boundaries are known. That applies to sparse checkout and scalar for very large monorepositories, not controlling principle for cross-repository shared code via versioned packages.

D:

Repository access is a sensitive software supply-chain boundary, not simply a convenience for team participation. That applies to least-privilege github organization collaborator permissions, not controlling principle for cross-repository shared code via versioned packages.

Question 194

An enterprise copies the same internal library into fifteen repositories and teams patch security vulnerabilities at different times. Which recurring control most directly sustains the required behavior?

  1. Document recovery actions and validate branch history and repository permissions before a restored commit is merged.
  2. Reassess checkout filters when shared libraries and project boundaries change.
  3. Apply dependency update automation and retain provenance of shared component versions.
  4. Restrict tag deletion and modification and monitor unauthorized release reference changes.

Explanation

Correct Answer

C:

Apply dependency update automation and retain provenance of shared component versions. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

A:

Document recovery actions and validate branch history and repository permissions before a restored commit is merged. This helps sustain a control for recover deleted commits using git reflog safely; it does not directly stop recurrence of cross-repository shared code via versioned packages described in this case.

B:

Reassess checkout filters when shared libraries and project boundaries change.

D:

Restrict tag deletion and modification and monitor unauthorized release reference changes. This helps sustain a control for protected release tags and verifiable version references; it does not directly stop recurrence of cross-repository shared code via versioned packages described in this case.

Question 195

An enterprise copies the same internal library into fifteen repositories and teams patch security vulnerabilities at different times. What is the MOST important consequence if this issue remains unresolved?

  1. Production can run different code than the reviewed release despite using the same version label.
  2. A leaked credential can remain exploitable after superficial cleanup of the latest branch contents.
  3. Repository growth can break build environments or make historical releases impossible to reconstruct.
  4. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Explanation

Correct Answer

D:

A library change can unexpectedly break production consumers or leave older copies vulnerable. This is the directly relevant business or security consequence of cross-repository shared code via versioned packages. Root cause: Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

Incorrect Answers

A:

Production can run different code than the reviewed release despite using the same version label. That risk is relevant to protected release tags and verifiable version references, but the specific unresolved condition here concerns cross-repository shared code via versioned packages and has a different direct consequence.

B:

A leaked credential can remain exploitable after superficial cleanup of the latest branch contents. That risk is relevant to removing committed secrets from git and rotating credentials, but the specific unresolved condition here concerns cross-repository shared code via versioned packages and has a different direct consequence.

C:

Repository growth can break build environments or make historical releases impossible to reconstruct. That risk is relevant to git lfs for oversized binary assets in version history, but the specific unresolved condition here concerns cross-repository shared code via versioned packages and has a different direct consequence.

Question 196

A team uses an unpinned Git submodule branch as a dependency, causing the tested release to retrieve different code later. What action is MOST appropriate given these constraints?

  1. Protect critical release tags and pin deployment records to immutable commit IDs and associated artifact digests.
  2. Use Git LFS or appropriate artifact storage for large binaries while retaining versioned pointer and permission management.
  3. Publish reusable components under immutable versions and define explicit cross-repository dependency ownership.
  4. Grant scoped repository roles and time-limited external collaborator privileges based on business need.

Explanation

Correct Answer

C:

Publish reusable components under immutable versions and define explicit cross-repository dependency ownership. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

A:

Protect critical release tags and pin deployment records to immutable commit IDs and associated artifact digests. That applies to protected release tags and verifiable version references, not cross-repository shared code via versioned packages.

B:

Use Git LFS or appropriate artifact storage for large binaries while retaining versioned pointer and permission management. That applies to git lfs for oversized binary assets in version history, not cross-repository shared code via versioned packages.

D:

Grant scoped repository roles and time-limited external collaborator privileges based on business need.

Question 197

A team uses an unpinned Git submodule branch as a dependency, causing the tested release to retrieve different code later. Which test MOST directly confirms the solution?

  1. Locate the original commit hash, compare its diff with the issue, and rerun required tests after recovery.
  2. Review effective permissions and audit membership changes for a sample of third-party identities.
  3. Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes.
  4. Compare release tag history, signed commit identity, artifact provenance, and staging-to-production deployment references.

Explanation

Correct Answer

C:

Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

Incorrect Answers

A:

Locate the original commit hash, compare its diff with the issue, and rerun required tests after recovery.

B:

Review effective permissions and audit membership changes for a sample of third-party identities. That applies to least-privilege github organization collaborator permissions, not cross-repository shared code via versioned packages.

D:

Compare release tag history, signed commit identity, artifact provenance, and staging-to-production deployment references.

Question 198

A team uses an unpinned Git submodule branch as a dependency, causing the tested release to retrieve different code later. What is the underlying reason the existing approach fails?

  1. Large repositories benefit from selective history and working trees only when dependency boundaries are known.
  2. Repository access is a sensitive software supply-chain boundary, not simply a convenience for team participation.
  3. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.
  4. Git recovery can recover commit objects, but recovering content does not grant approval to deploy it.

Explanation

Correct Answer

C:

Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

A:

Large repositories benefit from selective history and working trees only when dependency boundaries are known. That applies to sparse checkout and scalar for very large monorepositories, not controlling principle for cross-repository shared code via versioned packages.

B:

Repository access is a sensitive software supply-chain boundary, not simply a convenience for team participation. That applies to least-privilege github organization collaborator permissions, not controlling principle for cross-repository shared code via versioned packages.

D:

Git recovery can recover commit objects, but recovering content does not grant approval to deploy it.

Question 199

A team uses an unpinned Git submodule branch as a dependency, causing the tested release to retrieve different code later. Which recurring control most directly sustains the required behavior?

  1. Enforce file-size policies and maintain LFS availability and retention for required revisions.
  2. Enforce secret scanning, tight credential scopes, and training on safe Git history rewriting procedures.
  3. Reassess checkout filters when shared libraries and project boundaries change.
  4. Apply dependency update automation and retain provenance of shared component versions.

Explanation

Correct Answer

D:

Apply dependency update automation and retain provenance of shared component versions. A library change can unexpectedly break production consumers or leave older copies vulnerable.

Incorrect Answers

A:

Enforce file-size policies and maintain LFS availability and retention for required revisions. This helps sustain a control for git lfs for oversized binary assets in version history; it does not directly stop recurrence of cross-repository shared code via versioned packages described in this case.

B:

Enforce secret scanning, tight credential scopes, and training on safe Git history rewriting procedures. This helps sustain a control for removing committed secrets from git and rotating credentials; it does not directly stop recurrence of cross-repository shared code via versioned packages described in this case.

C:

Reassess checkout filters when shared libraries and project boundaries change.

Question 200

A team uses an unpinned Git submodule branch as a dependency, causing the tested release to retrieve different code later. Choose THREE measures that implement and verify an effective Azure DevOps response to this specific situation. (Choose THREE.)

  1. Declare cross-repository shared code via versioned packages successful solely from a green pipeline status and skip checking its actual control outcome.
  2. Apply dependency update automation and retain provenance of shared component versions.
  3. Bypass review and testing for cross-repository shared code via versioned packages whenever the release deadline is urgent, applying the change to production immediately.
  4. Dismiss the known risk for cross-repository shared code via versioned packages and keep no evidence or accountable owner after deployment.
  5. Publish reusable components under immutable versions and define explicit cross-repository dependency ownership.
  6. Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes.

Explanation

Correct Answers

B:

Apply dependency update automation and retain provenance of shared component versions. A library change can unexpectedly break production consumers or leave older copies vulnerable.

E:

Publish reusable components under immutable versions and define explicit cross-repository dependency ownership. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes. A library change can unexpectedly break production consumers or leave older copies vulnerable.

F:

Rebuild a prior release using package lock or submodule commit pins and compare retrieved component hashes. Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

Incorrect Answers

A:

Declare cross-repository shared code via versioned packages successful solely from a green pipeline status and skip checking its actual control outcome. It conflicts with the stated operating condition: Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

C:

Bypass review and testing for cross-repository shared code via versioned packages whenever the release deadline is urgent, applying the change to production immediately. It conflicts with the stated operating condition: Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

D:

Dismiss the known risk for cross-repository shared code via versioned packages and keep no evidence or accountable owner after deployment. It conflicts with the stated operating condition: Cross-repository reuse needs stable dependency identities to prevent unreviewed cross-team changes.

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.