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 86

Question 850

A release stage downloads a protected signing file but every pipeline in the organization is authorized to use it. Which risk is directly created by the described failure?

  1. Overly broad federated trust can permit unauthorized production access despite using short-lived credentials.
  2. A single logged or packaged credential can give unauthorized users access to sensitive services.
  3. Exposed signing certificates can let attackers publish packages that appear to come from the legitimate organization.
  4. Poor secret handling can leak private keys or cause outages when deployed applications cannot access required material.

Explanation

Correct Answer

C:

Exposed signing certificates can let attackers publish packages that appear to come from the legitimate organization. This is the directly relevant business or security consequence of secure files protection for mobile signing certificates. Root cause: Sensitive deployment files require separate storage, authorization, and handling controls rather than ordinary repository access.

Incorrect Answers

A:

Overly broad federated trust can permit unauthorized production access despite using short-lived credentials. That risk is relevant to openid connect federation for github actions azure access, but the specific unresolved condition here concerns secure files protection for mobile signing certificates and has a different direct consequence.

B:

A single logged or packaged credential can give unauthorized users access to sensitive services. That risk is relevant to preventing secret leaks in pipeline logs and artifacts, but the specific unresolved condition here concerns secure files protection for mobile signing certificates and has a different direct consequence.

D:

Poor secret handling can leak private keys or cause outages when deployed applications cannot access required material. That risk is relevant to key vault secrets and certificate access from release stages, but the specific unresolved condition here concerns secure files protection for mobile signing certificates and has a different direct consequence.

Question 851

A shell task prints the full environment before deployment and exposes a production database password in job output. What action is MOST appropriate given these constraints?

  1. Use secret-aware tasks, masked variables, safe output handling, and controlled artifact content to prevent disclosure.
  2. Store secrets and certificates in Key Vault and grant the appropriate workload identity narrowly scoped access.
  3. Store signing material in Azure Pipelines secure files with explicit permissions and authorized pipeline use.
  4. Configure federated identity credentials with restricted repository, branch or environment subject and correct audience.

Explanation

Correct Answer

A:

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

B:

Store secrets and certificates in Key Vault and grant the appropriate workload identity narrowly scoped access. That applies to key vault secrets and certificate access from release stages, not preventing secret leaks in pipeline logs and artifacts.

C:

Store signing material in Azure Pipelines secure files with explicit permissions and authorized pipeline use. That applies to secure files protection for mobile signing certificates, not preventing secret leaks in pipeline logs and artifacts.

D:

Configure federated identity credentials with restricted repository, branch or environment subject and correct audience. That applies to openid connect federation for github actions azure access, not preventing secret leaks in pipeline logs and artifacts.

Question 852

A shell task prints the full environment before deployment and exposes a production database password in job output. Which test MOST directly confirms the solution?

  1. Run a restricted job and verify access is denied while the approved signer can retrieve and use the file without logging its contents.
  2. Search test logs and generated artifacts for safe secret markers and review access to protected outputs.
  3. Test token issuance from the approved deployment job and rejection from an unauthorized branch or fork.
  4. Validate that the intended release identity retrieves only its authorized secret or certificate and the audit log records access.

Explanation

Correct Answer

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.

Incorrect Answers

A:

Run a restricted job and verify access is denied while the approved signer can retrieve and use the file without logging its contents. That applies to secure files protection for mobile signing certificates, not preventing secret leaks in pipeline logs and artifacts.

C:

Test token issuance from the approved deployment job and rejection from an unauthorized branch or fork. That applies to openid connect federation for github actions azure access, not preventing secret leaks in pipeline logs and artifacts.

D:

Validate that the intended release identity retrieves only its authorized secret or certificate and the audit log records access. That applies to key vault secrets and certificate access from release stages, not preventing secret leaks in pipeline logs and artifacts.

Question 853

A shell task prints the full environment before deployment and exposes a production database password in job output. What is the underlying reason the existing approach fails?

  1. Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.
  2. Sensitive deployment files require separate storage, authorization, and handling controls rather than ordinary repository access.
  3. A secret vault is effective only when runtime retrieval and key permissions align to workload identity and environment.
  4. OIDC federation replaces standing secrets with short-lived tokens but is safe only with precise trust claims.

Explanation

Correct Answer

A:

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

B:

Sensitive deployment files require separate storage, authorization, and handling controls rather than ordinary repository access. That applies to secure files protection for mobile signing certificates, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

C:

A secret vault is effective only when runtime retrieval and key permissions align to workload identity and environment. That applies to key vault secrets and certificate access from release stages, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

D:

OIDC federation replaces standing secrets with short-lived tokens but is safe only with precise trust claims. That applies to openid connect federation for github actions azure access, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

Question 854

A shell task prints the full environment before deployment and exposes a production database password in job output. Which recurring control most directly sustains the required behavior?

  1. Review federation subjects and retire old client secrets after workflow and environment changes.
  2. Rotate exposed values, review certificate expiry, and prevent secret printing in pipeline logs.
  3. Enable secret scanning in pull requests and rotate any token observed in accessible logs or builds.
  4. Review secure-file permissions and rotate signing material when its authorized custodians change.

Explanation

Correct Answer

C:

Enable secret scanning in pull requests and rotate any token observed in accessible logs or builds. A single logged or packaged credential can give unauthorized users access to sensitive services.

Incorrect Answers

A:

Review federation subjects and retire old client secrets after workflow and environment changes. This helps sustain a control for openid connect federation for github actions azure access; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

B:

Rotate exposed values, review certificate expiry, and prevent secret printing in pipeline logs. This helps sustain a control for key vault secrets and certificate access from release stages; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

D:

Review secure-file permissions and rotate signing material when its authorized custodians change. This helps sustain a control for secure files protection for mobile signing certificates; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

Question 855

A shell task prints the full environment before deployment and exposes a production database password in job output. What is the MOST important consequence if this issue remains unresolved?

  1. Poor secret handling can leak private keys or cause outages when deployed applications cannot access required material.
  2. Overly broad federated trust can permit unauthorized production access despite using short-lived credentials.
  3. A single logged or packaged credential can give unauthorized users access to sensitive services.
  4. Exposed signing certificates can let attackers publish packages that appear to come from the legitimate organization.

Explanation

Correct Answer

C:

A single logged or packaged credential can give unauthorized users access to sensitive services. This is the directly relevant business or security consequence of preventing secret leaks in pipeline logs and artifacts. Root cause: Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

Incorrect Answers

A:

Poor secret handling can leak private keys or cause outages when deployed applications cannot access required material. That risk is relevant to key vault secrets and certificate access from release stages, but the specific unresolved condition here concerns preventing secret leaks in pipeline logs and artifacts and has a different direct consequence.

B:

Overly broad federated trust can permit unauthorized production access despite using short-lived credentials. That risk is relevant to openid connect federation for github actions azure access, but the specific unresolved condition here concerns preventing secret leaks in pipeline logs and artifacts and has a different direct consequence.

D:

Exposed signing certificates can let attackers publish packages that appear to come from the legitimate organization. That risk is relevant to secure files protection for mobile signing certificates, but the specific unresolved condition here concerns preventing secret leaks in pipeline logs and artifacts and has a different direct consequence.

Question 856

A pipeline masks one variable but embeds a token into a generated configuration artifact retained for every developer. What change should the DevOps engineer implement FIRST for the stated Azure DevOps requirement?

  1. Store signing material in Azure Pipelines secure files with explicit permissions and authorized pipeline use.
  2. Store secrets and certificates in Key Vault and grant the appropriate workload identity narrowly scoped access.
  3. Configure federated identity credentials with restricted repository, branch or environment subject and correct audience.
  4. Use secret-aware tasks, masked variables, safe output handling, and controlled artifact content to prevent disclosure.

Explanation

Correct Answer

D:

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:

Store signing material in Azure Pipelines secure files with explicit permissions and authorized pipeline use. That applies to secure files protection for mobile signing certificates, not preventing secret leaks in pipeline logs and artifacts.

B:

Store secrets and certificates in Key Vault and grant the appropriate workload identity narrowly scoped access. That applies to key vault secrets and certificate access from release stages, not preventing secret leaks in pipeline logs and artifacts.

C:

Configure federated identity credentials with restricted repository, branch or environment subject and correct audience. That applies to openid connect federation for github actions azure access, not preventing secret leaks in pipeline logs and artifacts.

Question 857

A pipeline masks one variable but embeds a token into a generated configuration artifact retained for every developer. What check would most directly verify this Microsoft DevOps control?

  1. Test token issuance from the approved deployment job and rejection from an unauthorized branch or fork.
  2. Validate that the intended release identity retrieves only its authorized secret or certificate and the audit log records access.
  3. Search test logs and generated artifacts for safe secret markers and review access to protected outputs.
  4. Run a restricted job and verify access is denied while the approved signer can retrieve and use the file without logging its contents.

Explanation

Correct Answer

C:

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.

Incorrect Answers

A:

Test token issuance from the approved deployment job and rejection from an unauthorized branch or fork. That applies to openid connect federation for github actions azure access, not preventing secret leaks in pipeline logs and artifacts.

B:

Validate that the intended release identity retrieves only its authorized secret or certificate and the audit log records access. That applies to key vault secrets and certificate access from release stages, not preventing secret leaks in pipeline logs and artifacts.

D:

Run a restricted job and verify access is denied while the approved signer can retrieve and use the file without logging its contents. That applies to secure files protection for mobile signing certificates, not preventing secret leaks in pipeline logs and artifacts.

Question 858

A pipeline masks one variable but embeds a token into a generated configuration artifact retained for every developer. What is the underlying reason the existing approach fails?

  1. OIDC federation replaces standing secrets with short-lived tokens but is safe only with precise trust claims.
  2. A secret vault is effective only when runtime retrieval and key permissions align to workload identity and environment.
  3. Sensitive deployment files require separate storage, authorization, and handling controls rather than ordinary repository access.
  4. Secret storage alone does not protect credentials if scripts echo them or package them into published artifacts.

Explanation

Correct Answer

D:

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:

OIDC federation replaces standing secrets with short-lived tokens but is safe only with precise trust claims. That applies to openid connect federation for github actions azure access, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

B:

A secret vault is effective only when runtime retrieval and key permissions align to workload identity and environment. That applies to key vault secrets and certificate access from release stages, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

C:

Sensitive deployment files require separate storage, authorization, and handling controls rather than ordinary repository access. That applies to secure files protection for mobile signing certificates, not controlling principle for preventing secret leaks in pipeline logs and artifacts.

Question 859

A pipeline masks one variable but embeds a token into a generated configuration artifact retained for every developer. Which recurring control most directly sustains the required behavior?

  1. Review secure-file permissions and rotate signing material when its authorized custodians change.
  2. Enable secret scanning in pull requests and rotate any token observed in accessible logs or builds.
  3. Rotate exposed values, review certificate expiry, and prevent secret printing in pipeline logs.
  4. Review federation subjects and retire old client secrets after workflow and environment changes.

Explanation

Correct Answer

B:

Enable secret scanning in pull requests and rotate any token observed in accessible logs or builds. A single logged or packaged credential can give unauthorized users access to sensitive services.

Incorrect Answers

A:

Review secure-file permissions and rotate signing material when its authorized custodians change. This helps sustain a control for secure files protection for mobile signing certificates; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

C:

Rotate exposed values, review certificate expiry, and prevent secret printing in pipeline logs. This helps sustain a control for key vault secrets and certificate access from release stages; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

D:

Review federation subjects and retire old client secrets after workflow and environment changes. This helps sustain a control for openid connect federation for github actions azure access; it does not directly stop recurrence of preventing secret leaks in pipeline logs and artifacts described in this case.

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.

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.