Pass Your Microsoft AZ-400 Exam Easy!

Microsoft AZ-400 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-400 Premium Bundle

$79.99

Microsoft AZ-400 Premium Bundle

AZ-400 Premium File: 398 Questions & Answers

Last Update: Oct 03, 2026

AZ-400 Training Course: 27 Video Lectures

AZ-400 PDF Study Guide: 784 Pages

AZ-400 Bundle gives you unlimited access to "AZ-400" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-400 Premium Bundle
Microsoft AZ-400 Premium Bundle

AZ-400 Premium File: 398 Questions & Answers

Last Update: Oct 03, 2026

AZ-400 Training Course: 27 Video Lectures

AZ-400 PDF Study Guide: 784 Pages

$79.99

AZ-400 Bundle gives you unlimited access to "AZ-400" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-400 Practice Test 78

Question 770

After the team applies this response: Choose identity assignment based on intended reuse and lifetime, with separate least-privilege grants per application boundary. In the situation—Three App Services share one user-assigned managed identity, but only one application should access an accounting database. Which evidence BEST demonstrates the response is effective?

  1. Inspect identity bindings and test allowed and denied access for each application under its effective identity.
  2. Include a controlled prohibited-license fixture and verify review or policy gate blocks publication.
  3. Commit a safe secret-scanning test pattern and verify an alert and escalation without using a live secret.
  4. Inspect recent default-branch and PR scan results with source revisions and analyzer coverage.

Explanation

Correct Answer

A:

The governing engineering principle is: User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.

Incorrect Answers

B:

Software supply-chain compliance encompasses licensing obligations in addition to vulnerability severity. The appropriate remedy is to inspect identity bindings and test allowed and denied access for each application under its effective identity.

C:

Secret scanning complements preventive credential controls by finding exposures in committed content. Instead, the response must inspect identity bindings and test allowed and denied access for each application under its effective identity.

D:

Security scanning needs both change-based detection and recurring visibility into current deployed source. The relevant control is to inspect identity bindings and test allowed and denied access for each application under its effective identity.

Question 771

Another company is considering system-assigned versus user-assigned identities for workloads with different lifecycle ownership. Which engineering principle BEST explains the relevant requirement?

  1. Security posture views are incomplete when integration coverage excludes relevant source systems.
  2. Sensitive information must remain outside redistributable build outputs even when securely retrieved earlier.
  3. User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.
  4. A release gate must consider scan outcome and review status at decision time.

Explanation

Correct Answer

C:

The second engineering situation illustrates the control boundary captured by this principle: User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience. The scenario is not resolved by an unrelated pipeline or policy activity.

Incorrect Answers

A:

Security posture views are incomplete when integration coverage excludes relevant source systems. That principle concerns automate security and compliance scanning, whereas this specific incident is governed by: User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.

B:

Sensitive information must remain outside redistributable build outputs even when securely retrieved earlier. That principle concerns design and implement a strategy for managing sensitive information in automation, whereas this specific incident is governed by: User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.

D:

A release gate must consider scan outcome and review status at decision time. That principle concerns automate security and compliance scanning, whereas this specific incident is governed by: User-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.

Question 772

Another company is considering system-assigned versus user-assigned identities for workloads with different lifecycle ownership. Which unsupported assumption should the engineer challenge FIRST?

  1. Deleting a sensitive variable at the end of a script does not remove copies already embedded in artifacts.
  2. A variable marked secret in Azure Pipelines cannot guarantee a printed command-line argument stays private.
  3. Enabling Dependabot alerts does not itself repair vulnerable dependencies in deployed applications.
  4. Sharing one managed identity across services can unintentionally combine their effective privileges.

Explanation

Correct Answer

D:

Sharing one managed identity across services can unintentionally combine their effective privileges. This is the relevant unsupported assumption because user-assigned identity reuse is a deliberate shared trust boundary, not merely a configuration convenience.

Incorrect Answers

A:

This caution is valid in design and implement a strategy for managing sensitive information in automation, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: Sharing one managed identity across services can unintentionally combine their effective privileges.

B:

This caution is valid in design and implement a strategy for managing sensitive information in automation, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: Sharing one managed identity across services can unintentionally combine their effective privileges.

C:

This caution is valid in automate security and compliance scanning, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: Sharing one managed identity across services can unintentionally combine their effective privileges.

Question 773

A GitHub workflow uses a personal access token owned by a developer to comment on pull requests, and it stops after that person leaves. Which design or operational change MOST directly satisfies the requirement?

  1. Retrieve deployment secrets from Azure Key Vault or protected secret stores and prevent echo, debug and unsafe argument use.
  2. Apply protected reviews and targeted automated tests to dependency-update PRs while prioritizing critical remediation.
  3. Use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope.
  4. Use identity-bound Key Vault access and treat URIs as locators, with least-privilege data access.

Explanation

Correct Answer

C:

Automation should rely on purpose-scoped integration identities rather than personal credentials. The most directly responsive design or operational step is: Use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope. Confirm the result by: Inspect workflow token permissions and verify it can perform the required action but not unrelated repository writes.

Incorrect Answers

A:

Secure secret retrieval must be coupled with careful runtime handling to avoid logging or artifact leakage. The needed step here is to use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope.

B:

Security remediation can introduce behavioral regressions and must remain within governed change controls. The appropriate remedy is to use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope.

D:

Secret location and secret authorization are separate; a known vault URI is not a credential. Instead, the response must use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope.

Question 774

After the team applies this response: Use a narrowly permissioned GITHUB_TOKEN or GitHub App installation token with appropriate event and organization scope. In the situation—A GitHub workflow uses a personal access token owned by a developer to comment on pull requests, and it stops after that person leaves. Which evidence BEST demonstrates the response is effective?

  1. Attempt secret access from an untrusted PR job and verify denial; inspect approved release access.
  2. Inspect workflow token permissions and verify it can perform the required action but not unrelated repository writes.
  3. Use the service connection identity to retrieve the expected secret and verify attempts on unrelated secrets fail.
  4. Inspect produced ZIPs and container layers and verify a test secret causes release failure.

Explanation

Correct Answer

B:

The governing engineering principle is: Automation should rely on purpose-scoped integration identities rather than personal credentials.

Incorrect Answers

A:

Secret availability should follow environment trust and job function, not global workflow visibility. The relevant control is to inspect workflow token permissions and verify it can perform the required action but not unrelated repository writes.

C:

Key Vault authorization depends on the identity, vault access model and granted data operations. The needed step here is to inspect workflow token permissions and verify it can perform the required action but not unrelated repository writes.

D:

Sensitive information must remain outside redistributable build outputs even when securely retrieved earlier. The appropriate remedy is to inspect workflow token permissions and verify it can perform the required action but not unrelated repository writes.

Question 775

Another repository uses a broad PAT where a GitHub App installation or scoped workflow token would suffice. Which engineering principle BEST explains the relevant requirement?

  1. Secret location and secret authorization are separate; a known vault URI is not a credential.
  2. Final deployable images can contain risks not visible in the application source repository alone.
  3. Automation should rely on purpose-scoped integration identities rather than personal credentials.
  4. Security gates are trustworthy only when the subjects they control cannot silently disable them.

Explanation

Correct Answer

C:

The second engineering situation illustrates the control boundary captured by this principle: Automation should rely on purpose-scoped integration identities rather than personal credentials. The scenario is not resolved by an unrelated pipeline or policy activity.

Incorrect Answers

A:

The second engineering situation illustrates the control boundary captured by this principle: Secret location and secret authorization are separate; a known vault URI is not a credential. The acceptance criterion here is: Automation should rely on purpose-scoped integration identities rather than personal credentials.

B:

The second engineering situation illustrates the control boundary captured by this principle: Final deployable images can contain risks not visible in the application source repository alone. What must be demonstrated is: Automation should rely on purpose-scoped integration identities rather than personal credentials.

D:

The second engineering situation illustrates the control boundary captured by this principle: Security gates are trustworthy only when the subjects they control cannot silently disable them. The appropriate comparison is: Automation should rely on purpose-scoped integration identities rather than personal credentials.

Question 776

Another repository uses a broad PAT where a GitHub App installation or scoped workflow token would suffice. Which unsupported assumption should the engineer challenge FIRST?

  1. Suppressing every existing alert does not imply future alerts should automatically be ignored.
  2. A long-lived personal token becomes safe only because it is stored in a repository secret setting.
  3. OIDC authentication without claim restrictions may replace a secret while keeping excessive deployment access.
  4. A private repository does not guarantee all authorized readers should access production certificates.

Explanation

Correct Answer

B:

A long-lived personal token becomes safe only because it is stored in a repository secret setting. This is the relevant unsupported assumption because automation should rely on purpose-scoped integration identities rather than personal credentials.

Incorrect Answers

A:

This caution is valid in automate security and compliance scanning, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A long-lived personal token becomes safe only because it is stored in a repository secret setting.

C:

This caution is valid in design and implement a strategy for managing sensitive information in automation, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A long-lived personal token becomes safe only because it is stored in a repository secret setting.

D:

This caution is valid in design and implement a strategy for managing sensitive information in automation, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A long-lived personal token becomes safe only because it is stored in a repository secret setting.

Question 777

A GitHub Actions job inherits write permissions to all repository contents despite performing only read-only tests. Which design or operational change MOST directly satisfies the requirement?

  1. Retrieve deployment secrets from Azure Key Vault or protected secret stores and prevent echo, debug and unsafe argument use.
  2. Separate security policy administration from application contribution and require independent review of scanner configuration changes.
  3. Set explicit least-privilege workflow and job permissions, separating tests from release publishing.
  4. Correlate findings by repository, commit, package identity and deployed artifact with clear ownership.

Explanation

Correct Answer

C:

GITHUB_TOKEN rights should be declared to match each job's actual operations. The most directly responsive design or operational step is: Set explicit least-privilege workflow and job permissions, separating tests from release publishing. Confirm the result by: Execute a read-only job and verify a content-write API call is denied while normal tests succeed.

Incorrect Answers

A:

Secure secret retrieval must be coupled with careful runtime handling to avoid logging or artifact leakage. Instead, the response must set explicit least-privilege workflow and job permissions, separating tests from release publishing.

B:

Security gates are trustworthy only when the subjects they control cannot silently disable them. The relevant control is to set explicit least-privilege workflow and job permissions, separating tests from release publishing.

D:

Security automation should preserve provenance and reduce duplicate operational work without hiding distinct exposures. The needed step here is to set explicit least-privilege workflow and job permissions, separating tests from release publishing.

Question 778

After the team applies this response: Set explicit least-privilege workflow and job permissions, separating tests from release publishing. In the situation—A GitHub Actions job inherits write permissions to all repository contents despite performing only read-only tests. Which evidence BEST demonstrates the response is effective?

  1. Add a new test finding and confirm it is not silently suppressed by legacy baselining.
  2. Inspect secure-file access rules and verify only the authorized deployment job can retrieve the certificate.
  3. Attempt to bypass the scanner through an ordinary code PR and verify protections reject the change.
  4. Execute a read-only job and verify a content-write API call is denied while normal tests succeed.

Explanation

Correct Answer

D:

The governing engineering principle is: GITHUB_TOKEN rights should be declared to match each job's actual operations.

Incorrect Answers

A:

Incremental security gates must distinguish known accepted debt from newly introduced exposures. The relevant evidence instead is: Execute a read-only job and verify a content-write API call is denied while normal tests succeed.

B:

Sensitive deployment files require a security boundary distinct from ordinary source or artifact distribution. The acceptance criterion here is: Execute a read-only job and verify a content-write API call is denied while normal tests succeed.

C:

Security gates are trustworthy only when the subjects they control cannot silently disable them. What must be demonstrated is: Execute a read-only job and verify a content-write API call is denied while normal tests succeed.

Question 779

Another organization uses default broad GITHUB_TOKEN permissions for untrusted pull-request validation. Which engineering principle BEST explains the relevant requirement?

  1. Sensitive deployment files require a security boundary distinct from ordinary source or artifact distribution.
  2. Federated identity security depends on sufficiently narrow claims linking external workflows to Azure roles.
  3. GITHUB_TOKEN rights should be declared to match each job's actual operations.
  4. Secret location and secret authorization are separate; a known vault URI is not a credential.

Explanation

Correct Answer

C:

The second engineering situation illustrates the control boundary captured by this principle: GITHUB_TOKEN rights should be declared to match each job's actual operations. The scenario is not resolved by an unrelated pipeline or policy activity.

Incorrect Answers

A:

Sensitive deployment files require a security boundary distinct from ordinary source or artifact distribution. That principle concerns design and implement a strategy for managing sensitive information in automation, whereas this specific incident is governed by: GITHUB_TOKEN rights should be declared to match each job's actual operations.

B:

Federated identity security depends on sufficiently narrow claims linking external workflows to Azure roles. That principle concerns design and implement a strategy for managing sensitive information in automation, whereas this specific incident is governed by: GITHUB_TOKEN rights should be declared to match each job's actual operations.

D:

Secret location and secret authorization are separate; a known vault URI is not a credential. That principle concerns design and implement a strategy for managing sensitive information in automation, whereas this specific incident is governed by: GITHUB_TOKEN rights should be declared to match each job's actual operations.

Question 780

Another organization uses default broad GITHUB_TOKEN permissions for untrusted pull-request validation. Which unsupported assumption should the engineer challenge FIRST?

  1. A generated SARIF file is not equivalent to an approved security risk disposition.
  2. A dependency with no known CVE is not necessarily legally approved for redistribution.
  3. A token that expires at the end of a job can still cause harm if it has unnecessary write privileges.
  4. A code-scanning job written in YAML is not a strong control if every contributor may remove the job.

Explanation

Correct Answer

C:

A token that expires at the end of a job can still cause harm if it has unnecessary write privileges. This is the relevant unsupported assumption because gITHUB_TOKEN rights should be declared to match each job's actual operations.

Incorrect Answers

A:

This caution is valid in automate security and compliance scanning, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A token that expires at the end of a job can still cause harm if it has unnecessary write privileges.

B:

This caution is valid in automate security and compliance scanning, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A token that expires at the end of a job can still cause harm if it has unnecessary write privileges.

D:

This caution is valid in automate security and compliance scanning, but it is not the failure assumption illustrated by this scenario. The directly relevant risk is: A token that expires at the end of a job can still cause harm if it has unnecessary write privileges.


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

Purchase Individually

AZ-400 Premium File

Premium File
AZ-400 Premium File
398 Q&A
$76.99$69.99

AZ-400 Training Video Course

Training Course
AZ-400 Training Video Course
27 Lectures
$27.49$24.99

AZ-400 Study Guide

Study Guide
AZ-400 Study Guide
784 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
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

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

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.