cert
cert-1
cert-2

Pass Microsoft AZ-400 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-400 Exam - Verified By Experts
AZ-400 Premium Bundle
$29.98

AZ-400 Premium Bundle

$79.99
$109.97
  • Premium File 398 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 27 Video Lectures
  • Study Guide 784 Pages
 
$109.97
$79.99
accept 56 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-400 Exam Training Products Individually
Microsoft AZ-400 Premium File
Premium File 398 Q&A
$76.99$69.99
Microsoft AZ-400 Video Training Course
Training Course 27 Lectures
$21.99 $19.99
Microsoft AZ-400 PDF Study Guide
Study Guide 784 Pages
$21.99 $19.99
Microsoft AZ-400 Practice Test 61

Question 600

An Azure DevOps engineering team evaluates this condition: Application images are deployed manually after infra provisioning and the deployed image tag is not recorded in Bicep or the release pipeline. Which DevOps principle BEST explains the underlying weakness?

  1. Stateful IaC replacements require impact review and a migration plan.
  2. Deployment mode and scope determine whether absent resources may be removed.
  3. IaC dependency design must express when required resources and authorization are ready.
  4. Infrastructure and application delivery need traceable version handoff without mutable assumptions.

Explanation

Correct Answer

D:

Infrastructure and application delivery need traceable version handoff without mutable assumptions. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review image digest provenance, deployment parameters and environment history. An appropriate controlled response is: Pass verified immutable image identifiers through a controlled IaC deployment interface.

Incorrect Answers

A:

Stateful IaC replacements require impact review and a migration plan. This would address a different situation, such as: A refactor changes a storage account name while the pipeline applies it directly to production. In the present case, the most directly relevant principle is: Infrastructure and application delivery need traceable version handoff without mutable assumptions. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

B:

Deployment mode and scope determine whether absent resources may be removed. This would address a different situation, such as: A deployment pipeline uses complete mode unintentionally and deletes resources omitted from an updated ARM template. In the present case, the most directly relevant principle is: Infrastructure and application delivery need traceable version handoff without mutable assumptions. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

C:

IaC dependency design must express when required resources and authorization are ready. This would address a different situation, such as: A Bicep deployment creates an application before the required Key Vault access is effective, causing startup failures. In the present case, the most directly relevant principle is: Infrastructure and application delivery need traceable version handoff without mutable assumptions. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

Question 601

The DevOps team must resolve this situation: An organization uses calendar-versioned nightly internal tools but deployments cannot distinguish two builds made on the same day. Which engineering action is MOST appropriate?

  1. Update to an approved secure dependency version and rerun integration and compatibility checks.
  2. Add a consistent unique build identifier to the approved CalVer scheme.
  3. Authorize the consuming repository and assign minimum packages:read access.
  4. Protect deployed and rollback-candidate artifacts with defined retention exceptions.

Explanation

Correct Answer

B:

Add a consistent unique build identifier to the approved CalVer scheme. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Two same-day builds remain separately traceable to their source commits. Date-based versions need an unambiguous unique revision component and provenance.

Incorrect Answers

A:

Update to an approved secure dependency version and rerun integration and compatibility checks. This would address a different situation, such as: A pipeline publishes Python wheels from a feed after an advisory identifies a vulnerable indirect dependency. In the present case, the most directly relevant engineering action is: Add a consistent unique build identifier to the approved CalVer scheme. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

C:

Authorize the consuming repository and assign minimum packages:read access. This would address a different situation, such as: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. In the present case, the most directly relevant engineering action is: Add a consistent unique build identifier to the approved CalVer scheme. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

D:

Protect deployed and rollback-candidate artifacts with defined retention exceptions. This would address a different situation, such as: Release rollback fails because the pipeline cleaned the package version deployed last week. In the present case, the most directly relevant engineering action is: Add a consistent unique build identifier to the approved CalVer scheme. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

Question 602

After implementing the change, the team verifies: A service builds on a Windows workstation but fails on Linux CI because a source import differs only in filename case. Which result would BEST demonstrate that the issue is corrected?

  1. A retag attempt is denied or detected without changing the previously approved release.
  2. The same repository commit builds on both the intended Windows and Linux agents.
  3. The vendor can run authorized tests but cannot change protected repository settings.
  4. A former contributor cannot push to the archived security repository.

Explanation

Correct Answer

B:

The same repository commit builds on both the intended Windows and Linux agents. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Normalize names and case-correct imports with cross-platform validation in PR checks. Source control workflows must verify path case and platform consistency.

Incorrect Answers

A:

A retag attempt is denied or detected without changing the previously approved release. This would address a different situation, such as: A release build uses a mutable tag name that engineers can retarget to a different unreviewed commit. In the present case, the most directly relevant verification is: The same repository commit builds on both the intended Windows and Linux agents. The crucial distinction is: Source control workflows must verify path case and platform consistency.

C:

The vendor can run authorized tests but cannot change protected repository settings. This would address a different situation, such as: A QA vendor needs read-only test access but has been granted repository administration rights. In the present case, the most directly relevant verification is: The same repository commit builds on both the intended Windows and Linux agents. The crucial distinction is: Source control workflows must verify path case and platform consistency.

D:

A former contributor cannot push to the archived security repository. This would address a different situation, such as: An archived security-sensitive repository remains writable by former project members and receives unreviewed commits. In the present case, the most directly relevant verification is: The same repository commit builds on both the intended Windows and Linux agents. The crucial distinction is: Source control workflows must verify path case and platform consistency.

Question 603

The DevOps team must resolve this situation: A low-volume payment failure disappears from diagnostic traces because sampling drops all relevant requests. Which engineering action is MOST appropriate?

  1. Measure and alert on relevant latency percentiles with suitable dimensions.
  2. Build KQL queries with identity dimensions and appropriate anomaly thresholds.
  3. Adjust sampling and critical-event retention within approved performance and cost limits.
  4. Use a Kusto summarize query grouped by deployment version and appropriate time bins.

Explanation

Correct Answer

C:

Adjust sampling and critical-event retention within approved performance and cost limits. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: The controlled rare failure produces a discoverable correlated trace. Telemetry sampling strategy must preserve adequate signal for critical failures.

Incorrect Answers

A:

Measure and alert on relevant latency percentiles with suitable dimensions. This would address a different situation, such as: An API dashboard shows acceptable average response time even though the slowest 5% of requests exceed the customer SLA. In the present case, the most directly relevant engineering action is: Adjust sampling and critical-event retention within approved performance and cost limits. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

B:

Build KQL queries with identity dimensions and appropriate anomaly thresholds. This would address a different situation, such as: Azure resource logs show unusual production service principal sign-ins, but a dashboard aggregates all identities together. In the present case, the most directly relevant engineering action is: Adjust sampling and critical-event retention within approved performance and cost limits. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

D:

Use a Kusto summarize query grouped by deployment version and appropriate time bins. This would address a different situation, such as: A Log Analytics workspace stores application exceptions, but engineers cannot identify which deployment revision triggered a spike. In the present case, the most directly relevant engineering action is: Adjust sampling and critical-event retention within approved performance and cost limits. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

Question 604

After implementing the change, the team verifies: An Azure CLI task runs with set -x and echoes bearer tokens in the pipeline console log. Which result would BEST demonstrate that the issue is corrected?

  1. A failure-path test emits useful diagnostics but no usable access tokens.
  2. Untrusted branch tokens cannot acquire production credentials.
  3. A rejected environment approval prevents the run from obtaining production credentials.
  4. The deployment succeeds while secret values never appear in repository or logs.

Explanation

Correct Answer

A:

A failure-path test emits useful diagnostics but no usable access tokens. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Remove token-printing diagnostics and use restricted command output and log scanning. Secretless authentication still requires careful handling of temporary token output.

Incorrect Answers

B:

Untrusted branch tokens cannot acquire production credentials. This would address a different situation, such as: A federated Azure identity accepts tokens from any branch in a public GitHub repository and can deploy production resources. In the present case, the most directly relevant verification is: A failure-path test emits useful diagnostics but no usable access tokens. The crucial distinction is: Secretless authentication still requires careful handling of temporary token output.

C:

A rejected environment approval prevents the run from obtaining production credentials. This would address a different situation, such as: A GitHub environment is protected, but the deployment job obtains Azure credentials in an earlier unprotected build step. In the present case, the most directly relevant verification is: A failure-path test emits useful diagnostics but no usable access tokens. The crucial distinction is: Secretless authentication still requires careful handling of temporary token output.

D:

The deployment succeeds while secret values never appear in repository or logs. This would address a different situation, such as: A pipeline prints a database password stored in a plain YAML variable during environment deployment. In the present case, the most directly relevant verification is: A failure-path test emits useful diagnostics but no usable access tokens. The crucial distinction is: Secretless authentication still requires careful handling of temporary token output.

Question 605

An Azure DevOps engineering team evaluates this condition: An architecture decision record is stored in a shared folder where anyone can overwrite approved design rationale without review. Which DevOps principle BEST explains the underlying weakness?

  1. Architectural knowledge needs attributable change history and accountable reviewer approval.
  2. Cross-tool event integrations need idempotent handling and observability.
  3. Cross-platform collaboration requires configured repository and work-item integration.
  4. API documentation must be published from the approved version and checked for compatibility.

Explanation

Correct Answer

A:

Architectural knowledge needs attributable change history and accountable reviewer approval. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect document edit rights, source history, code review ownership and decision status. An appropriate controlled response is: Store decisions in a protected repository with named reviewers and link them to implementation work.

Incorrect Answers

B:

Cross-tool event integrations need idempotent handling and observability. This would address a different situation, such as: An Azure DevOps webhook creates duplicate change tickets whenever the receiving service retries a timeout. In the present case, the most directly relevant principle is: Architectural knowledge needs attributable change history and accountable reviewer approval. The crucial distinction is: Architectural knowledge needs attributable change history and accountable reviewer approval.

C:

Cross-platform collaboration requires configured repository and work-item integration. This would address a different situation, such as: A team uses GitHub for code and Azure Boards for planning, but pull requests never appear in its work items. In the present case, the most directly relevant principle is: Architectural knowledge needs attributable change history and accountable reviewer approval. The crucial distinction is: Architectural knowledge needs attributable change history and accountable reviewer approval.

D:

API documentation must be published from the approved version and checked for compatibility. This would address a different situation, such as: A versioned REST API deploys successfully but its consumer documentation still lists removed fields. In the present case, the most directly relevant principle is: Architectural knowledge needs attributable change history and accountable reviewer approval. The crucial distinction is: Architectural knowledge needs attributable change history and accountable reviewer approval.

Question 606

Before changing the pipeline or service, engineers find: A deployment pipeline uses complete mode unintentionally and deletes resources omitted from an updated ARM template. Which evidence should the engineer inspect FIRST?

  1. Inspect template inputs, source history, Key Vault access and deployment output.
  2. Inspect resource references, role assignments, provisioning order and propagation behavior.
  3. Inspect environment definitions, project catalog, role assignments and teardown process.
  4. Inspect template deployment mode, resource group contents, what-if output and retention requirements.

Explanation

Correct Answer

D:

Inspect template deployment mode, resource group contents, what-if output and retention requirements. This directly checks the uncertain behavior or control before changing production. Deployment mode and scope determine whether absent resources may be removed. The resulting targeted action is: Use a safe scoped deployment strategy with reviewed change previews and deletion protections.

Incorrect Answers

A:

Inspect template inputs, source history, Key Vault access and deployment output. This would address a different situation, such as: A Bicep parameter file stores database administrator passwords in plaintext committed to Git. In the present case, the most directly relevant evidence is: Inspect template deployment mode, resource group contents, what-if output and retention requirements. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

B:

Inspect resource references, role assignments, provisioning order and propagation behavior. This would address a different situation, such as: A Bicep deployment creates an application before the required Key Vault access is effective, causing startup failures. In the present case, the most directly relevant evidence is: Inspect template deployment mode, resource group contents, what-if output and retention requirements. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

C:

Inspect environment definitions, project catalog, role assignments and teardown process. This would address a different situation, such as: Developers need consistent temporary test environments, but each manually provisions expensive subscriptions and forgets cleanup. In the present case, the most directly relevant evidence is: Inspect template deployment mode, resource group contents, what-if output and retention requirements. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

Question 607

After implementing the change, the team verifies: A feature needs gradual rollout, but the team maintains a year-long divergent branch to hide unfinished functionality. Which result would BEST demonstrate that the issue is corrected?

  1. An added failing commit invalidates prior green status until retested.
  2. A trial feature merges safely with a small diff and mandatory gates intact.
  3. A release process selects the exact approved commit instead of a similarly named branch.
  4. The new code merges and deploys disabled until the approved rollout cohort is enabled.

Explanation

Correct Answer

D:

The new code merges and deploys disabled until the approved rollout cohort is enabled. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Integrate incomplete code safely behind governed feature flags and short-lived branches. Feature toggles can separate deployment from activation while limiting branch divergence.

Incorrect Answers

A:

An added failing commit invalidates prior green status until retested. This would address a different situation, such as: A pull request passes security tests, then receives new commits but can merge without rerunning required checks. In the present case, the most directly relevant verification is: The new code merges and deploys disabled until the approved rollout cohort is enabled. The crucial distinction is: Feature toggles can separate deployment from activation while limiting branch divergence.

B:

A trial feature merges safely with a small diff and mandatory gates intact. This would address a different situation, such as: An organization merges changes only at the end of a six-week release branch, creating hundreds of conflicts. In the present case, the most directly relevant verification is: The new code merges and deploys disabled until the approved rollout cohort is enabled. The crucial distinction is: Feature toggles can separate deployment from activation while limiting branch divergence.

C:

A release process selects the exact approved commit instead of a similarly named branch. This would address a different situation, such as: Teams use dozens of release branches with ambiguous names, and automation often deploys the wrong branch. In the present case, the most directly relevant verification is: The new code merges and deploys disabled until the approved rollout cohort is enabled. The crucial distinction is: Feature toggles can separate deployment from activation while limiting branch divergence.

Question 608

An Azure DevOps engineering team evaluates this condition: Hundreds of nightly builds run when source code is unchanged, consuming expensive hosted parallel minutes. Which DevOps principle BEST explains the underlying weakness?

  1. Pipeline operational health needs assigned responders and maintained notification routing.
  2. Artifact retention needs business-approved rollback and forensic windows.
  3. Moving deployment logic to versioned YAML can improve consistency and review.
  4. Pipeline cost optimization should remove redundant executions without weakening required checks.

Explanation

Correct Answer

D:

Pipeline cost optimization should remove redundant executions without weakening required checks. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect run triggers, change events, consumption and mandated scheduled security scans. An appropriate controlled response is: Introduce relevant path/branch conditions and appropriately scheduled validation.

Incorrect Answers

A:

Pipeline operational health needs assigned responders and maintained notification routing. This would address a different situation, such as: A pipeline reports repeated deployment failures but no team receives notifications because the original owner left the company. In the present case, the most directly relevant principle is: Pipeline cost optimization should remove redundant executions without weakening required checks. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

B:

Artifact retention needs business-approved rollback and forensic windows. This would address a different situation, such as: A cost-reduction retention rule deletes the last known-good container image before the rollback period ends. In the present case, the most directly relevant principle is: Pipeline cost optimization should remove redundant executions without weakening required checks. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

C:

Moving deployment logic to versioned YAML can improve consistency and review. This would address a different situation, such as: A legacy classic Azure Release pipeline hides deployment steps in the UI and new teams cannot peer-review changes. In the present case, the most directly relevant principle is: Pipeline cost optimization should remove redundant executions without weakening required checks. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

Question 609

An engineering design review identifies: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. Which shortcut should the team MOST specifically avoid for this case?

  1. Commit complete Terraform state including secrets into a public Git repository.
  2. Assume Audit and Deny effects are interchangeable for enforcement.
  3. Ignore the drift and force-apply without reviewing effective permissions.
  4. Declare compliant because a configuration file exists even though nodes never report.

Explanation

Correct Answer

A:

Commit complete Terraform state including secrets into a public Git repository. This shortcut directly undermines the stated control or workflow. A safer action is: Use secured remote state with least-privilege identity and locking support. Explanation: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

Incorrect Answers

B:

Assume Audit and Deny effects are interchangeable for enforcement. This would address a different situation, such as: A platform team thinks an Azure Policy Audit effect blocks deployment of unencrypted storage, but noncompliant accounts continue being created. In the present case, the most directly relevant unsafe shortcut is: Commit complete Terraform state including secrets into a public Git repository. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

C:

Ignore the drift and force-apply without reviewing effective permissions. This would address a different situation, such as: Operators modify a production firewall directly, but the Terraform plan assumes its prior values remain in place. In the present case, the most directly relevant unsafe shortcut is: Commit complete Terraform state including secrets into a public Git repository. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

D:

Declare compliant because a configuration file exists even though nodes never report. This would address a different situation, such as: A legacy fleet uses Azure Automation State Configuration but receives no reliable reports of drift or node registration. In the present case, the most directly relevant unsafe shortcut is: Commit complete Terraform state including secrets into a public Git repository. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

Question 610

A Microsoft DevOps team is addressing: Two production deployments target the same App Service slot simultaneously and the earlier one overwrites the newer release. Which TWO complementary actions should be taken? Select TWO answers.

  1. Review pipeline execution settings, resource locks and deployment timestamps.
  2. Optimize test partitions and concurrency to fit approved parallel job capacity.
  3. Configure appropriate exclusive locks or deployment concurrency controls per environment.
  4. Include explicit succeeded dependencies in the custom promotion condition.
  5. Deploy a governed self-hosted Azure Pipelines agent with controlled network connectivity.

Explanation

Correct Answers

A:

Review pipeline execution settings, resource locks and deployment timestamps. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Configure appropriate exclusive locks or deployment concurrency controls per environment. Together they address: Concurrent deployments require serialization or controlled exclusive access to shared environments.

C:

Configure appropriate exclusive locks or deployment concurrency controls per environment. This supplies the controlled implementation needed for the scenario. Its complementary step is: Review pipeline execution settings, resource locks and deployment timestamps. Together they address: Concurrent deployments require serialization or controlled exclusive access to shared environments.

Incorrect Answers

B:

Optimize test partitions and concurrency to fit approved parallel job capacity. This concerns a different DevOps situation: A large repository launches 100 independent test jobs though the organization owns only 10 paid parallel agent slots. This case instead requires both a targeted investigation (Review pipeline execution settings, resource locks and deployment timestamps.) and a controlled change (Configure appropriate exclusive locks or deployment concurrency controls per environment.).

D:

Include explicit succeeded dependencies in the custom promotion condition. This concerns a different DevOps situation: A post-deployment verification job runs even when staging tests fail because its condition overrides the default dependency check. This case instead requires both a targeted investigation (Review pipeline execution settings, resource locks and deployment timestamps.) and a controlled change (Configure appropriate exclusive locks or deployment concurrency controls per environment.).

E:

Deploy a governed self-hosted Azure Pipelines agent with controlled network connectivity. This concerns a different DevOps situation: A build must reach private package infrastructure inaccessible from Microsoft-hosted agents. This case instead requires both a targeted investigation (Review pipeline execution settings, resource locks and deployment timestamps.) and a controlled change (Configure appropriate exclusive locks or deployment concurrency controls per environment.).

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