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 49

Question 480

A Microsoft DevOps team is addressing: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. Which TWO complementary actions should be taken? Select TWO answers.

  1. Implement staged deployment rings with explicit gates and pause criteria.
  2. Review schema changes, client versions, deployment order and rollback requirements.
  3. Use backward-compatible API rollout and explicit dependent stage ordering.
  4. Review component versions, release dependencies, API contracts and pipeline stage graph.
  5. Inspect schema migration history, transaction boundaries, retry logs and object existence.

Explanation

Correct Answers

C:

Use backward-compatible API rollout and explicit dependent stage ordering. This supplies the controlled implementation needed for the scenario. Its complementary step is: Review component versions, release dependencies, API contracts and pipeline stage graph. Together they address: Cross-service deployment order must respect compatibility and dependency contracts.

D:

Review component versions, release dependencies, API contracts and pipeline stage graph. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use backward-compatible API rollout and explicit dependent stage ordering. Together they address: Cross-service deployment order must respect compatibility and dependency contracts.

Incorrect Answers

A:

Implement staged deployment rings with explicit gates and pause criteria. This concerns a different DevOps situation: A desktop client update is rolled out to every employee globally at the same moment, causing a widespread outage. This case instead requires both a targeted investigation (Review component versions, release dependencies, API contracts and pipeline stage graph.) and a controlled change (Use backward-compatible API rollout and explicit dependent stage ordering.).

B:

Review schema changes, client versions, deployment order and rollback requirements. This concerns a different DevOps situation: An App Service slot swap puts new code online while old instances still write to a shared Azure SQL schema. This case instead requires both a targeted investigation (Review component versions, release dependencies, API contracts and pipeline stage graph.) and a controlled change (Use backward-compatible API rollout and explicit dependent stage ordering.).

E:

Inspect schema migration history, transaction boundaries, retry logs and object existence. This concerns a different DevOps situation: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. This case instead requires both a targeted investigation (Review component versions, release dependencies, API contracts and pipeline stage graph.) and a controlled change (Use backward-compatible API rollout and explicit dependent stage ordering.).

Question 481

The DevOps team must resolve this situation: A compatible optional SDK feature is added, but release automation increments the major version for every change. Which engineering action is MOST appropriate?

  1. Pin the release to the verified pipeline run and immutable artifact identifier.
  2. Commit a reviewed lockfile and run reproducible installation with dependency scanning.
  3. Classify the nonbreaking feature under an appropriate minor release with validation.
  4. Configure an approved upstream source and appropriate package permissions in Azure Artifacts.

Explanation

Correct Answer

C:

Classify the nonbreaking feature under an appropriate minor release with validation. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Existing consumers continue to work and new clients opt into the feature. Semantic versioning should reflect compatibility impact rather than commit count.

Incorrect Answers

A:

Pin the release to the verified pipeline run and immutable artifact identifier. This would address a different situation, such as: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. In the present case, the most directly relevant engineering action is: Classify the nonbreaking feature under an appropriate minor release with validation. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

B:

Commit a reviewed lockfile and run reproducible installation with dependency scanning. This would address a different situation, such as: A Node application pins a top-level package but a transitive dependency introduces an unreviewed major behavior change. In the present case, the most directly relevant engineering action is: Classify the nonbreaking feature under an appropriate minor release with validation. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

D:

Configure an approved upstream source and appropriate package permissions in Azure Artifacts. This would address a different situation, such as: A package feed cannot install vetted public dependencies during a disconnected corporate build unless developers manually copy files. In the present case, the most directly relevant engineering action is: Classify the nonbreaking feature under an appropriate minor release with validation. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

Question 482

Before changing the pipeline or service, engineers find: A VM sends no logs to Log Analytics because its Azure Monitor Agent data collection rule targets another resource group. Which evidence should the engineer inspect FIRST?

  1. Inspect Azure Monitor Container Insights, pod events, collection coverage and retention.
  2. Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration.
  3. Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.
  4. Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics.

Explanation

Correct Answer

D:

Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. This directly checks the uncertain behavior or control before changing production. Telemetry collection depends on correct agent, rule association and destination permissions. The resulting targeted action is: Associate the approved data collection rule and validate required log flow to the workspace.

Incorrect Answers

A:

Inspect Azure Monitor Container Insights, pod events, collection coverage and retention. This would address a different situation, such as: AKS pods restart frequently but the team captures only the last running pod's console output. In the present case, the most directly relevant evidence is: Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. The crucial distinction is: Telemetry collection depends on correct agent, rule association and destination permissions.

B:

Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration. This would address a different situation, such as: A shopping application logs HTTP failures but does not show which downstream payment call caused the response delay. In the present case, the most directly relevant evidence is: Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. The crucial distinction is: Telemetry collection depends on correct agent, rule association and destination permissions.

C:

Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. This would address a different situation, such as: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. In the present case, the most directly relevant evidence is: Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. The crucial distinction is: Telemetry collection depends on correct agent, rule association and destination permissions.

Question 483

An Azure DevOps engineering team evaluates this condition: A database credential is removed from the latest Git commit but remains visible in old revisions. Which DevOps principle BEST explains the underlying weakness?

  1. Large binary artifacts need purpose-built storage to avoid expanding ordinary Git history.
  2. Repository hygiene needs tracked-artifact policy and planned history repair when necessary.
  3. Git reflog can help recover recent local reference movements before garbage collection.
  4. Removing a secret from the latest tree does not revoke credentials or erase history.

Explanation

Correct Answer

D:

Removing a secret from the latest tree does not revoke credentials or erase history. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect repository history, leaked secret versions, access logs and rotation status. An appropriate controlled response is: Revoke or rotate the credential, restrict exposure and perform controlled history remediation if necessary.

Incorrect Answers

A:

Large binary artifacts need purpose-built storage to avoid expanding ordinary Git history. This would address a different situation, such as: Designers repeatedly commit multi-gigabyte video assets as normal Git blobs and cloning takes hours. In the present case, the most directly relevant principle is: Removing a secret from the latest tree does not revoke credentials or erase history. The crucial distinction is: Removing a secret from the latest tree does not revoke credentials or erase history.

B:

Repository hygiene needs tracked-artifact policy and planned history repair when necessary. This would address a different situation, such as: A project accidentally committed generated build outputs and its repository history grew by several gigabytes. In the present case, the most directly relevant principle is: Removing a secret from the latest tree does not revoke credentials or erase history. The crucial distinction is: Removing a secret from the latest tree does not revoke credentials or erase history.

C:

Git reflog can help recover recent local reference movements before garbage collection. This would address a different situation, such as: A developer accidentally removes an important local commit during an interactive rebase, but it is still reachable from Git reflog. In the present case, the most directly relevant principle is: Removing a secret from the latest tree does not revoke credentials or erase history. The crucial distinction is: Removing a secret from the latest tree does not revoke credentials or erase history.

Question 484

A Microsoft DevOps team is addressing: A central deployment pipeline cannot restore a package from another Azure DevOps project although the feed works locally. Which TWO complementary actions should be taken? Select TWO answers.

  1. Grant read, publish and administration only to the appropriate separate identities.
  2. Grant the consuming build service read access at the appropriate feed scope.
  3. Inspect package visibility, repository grant, GITHUB_TOKEN permissions and workflow context.
  4. Commit a reviewed lockfile and run reproducible installation with dependency scanning.
  5. Inspect feed/project scope, pipeline identity, role assignment and error logs.

Explanation

Correct Answers

B:

Grant the consuming build service read access at the appropriate feed scope. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect feed/project scope, pipeline identity, role assignment and error logs. Together they address: Cross-project feeds require authorized build-service identities and scope settings.

E:

Inspect feed/project scope, pipeline identity, role assignment and error logs. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Grant the consuming build service read access at the appropriate feed scope. Together they address: Cross-project feeds require authorized build-service identities and scope settings.

Incorrect Answers

A:

Grant read, publish and administration only to the appropriate separate identities. This concerns a different DevOps situation: Every developer can delete the versions of a private production library that other teams depend on. This case instead requires both a targeted investigation (Inspect feed/project scope, pipeline identity, role assignment and error logs.) and a controlled change (Grant the consuming build service read access at the appropriate feed scope.).

C:

Inspect package visibility, repository grant, GITHUB_TOKEN permissions and workflow context. This concerns a different DevOps situation: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. This case instead requires both a targeted investigation (Inspect feed/project scope, pipeline identity, role assignment and error logs.) and a controlled change (Grant the consuming build service read access at the appropriate feed scope.).

D:

Commit a reviewed lockfile and run reproducible installation with dependency scanning. This concerns a different DevOps situation: A Node application pins a top-level package but a transitive dependency introduces an unreviewed major behavior change. This case instead requires both a targeted investigation (Inspect feed/project scope, pipeline identity, role assignment and error logs.) and a controlled change (Grant the consuming build service read access at the appropriate feed scope.).

Question 485

An Azure DevOps engineering team evaluates this condition: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. Which DevOps principle BEST explains the underlying weakness?

  1. Branch conventions and immutable release references should uniquely identify deployable versions.
  2. Sensitive paths should have enforced review by designated accountable owners.
  3. Maintenance branching should match support windows and preserve immutable release history.
  4. Traceability after squash merges needs durable pull request and resulting commit identifiers.

Explanation

Correct Answer

D:

Traceability after squash merges needs durable pull request and resulting commit identifiers. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect merge strategy, generated commit IDs, pull request metadata and release manifest. An appropriate controlled response is: Record the final mainline commit and linked PR/work item in deployment provenance.

Incorrect Answers

A:

Branch conventions and immutable release references should uniquely identify deployable versions. 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 principle is: Traceability after squash merges needs durable pull request and resulting commit identifiers. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

B:

Sensitive paths should have enforced review by designated accountable owners. This would address a different situation, such as: Payment processing files require security review, but code owner review is only advisory. In the present case, the most directly relevant principle is: Traceability after squash merges needs durable pull request and resulting commit identifiers. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

C:

Maintenance branching should match support windows and preserve immutable release history. This would address a different situation, such as: Old supported product versions receive urgent fixes but the team deletes prior release references after every mainline update. In the present case, the most directly relevant principle is: Traceability after squash merges needs durable pull request and resulting commit identifiers. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

Question 486

After implementing the change, the team verifies: A GitHub environment is protected, but the deployment job obtains Azure credentials in an earlier unprotected build step. Which result would BEST demonstrate that the issue is corrected?

  1. The deployment succeeds while secret values never appear in repository or logs.
  2. Only an approved signing job downloads the file and output contains no key material.
  3. Untrusted branch tokens cannot acquire production credentials.
  4. A rejected environment approval prevents the run from obtaining production credentials.

Explanation

Correct Answer

D:

A rejected environment approval prevents the run from obtaining production credentials. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Move cloud credential issuance into the guarded deployment job with scoped federation. Credential issuance should occur only after the protected environment gate and trust checks.

Incorrect Answers

A:

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 rejected environment approval prevents the run from obtaining production credentials. The crucial distinction is: Credential issuance should occur only after the protected environment gate and trust checks.

B:

Only an approved signing job downloads the file and output contains no key material. This would address a different situation, such as: A mobile signing certificate is embedded as Base64 directly in a public pipeline YAML file. In the present case, the most directly relevant verification is: A rejected environment approval prevents the run from obtaining production credentials. The crucial distinction is: Credential issuance should occur only after the protected environment gate and trust checks.

C:

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 rejected environment approval prevents the run from obtaining production credentials. The crucial distinction is: Credential issuance should occur only after the protected environment gate and trust checks.

Question 487

Before changing the pipeline or service, engineers find: Release notes are composed from memory and routinely omit merged security improvements. Which evidence should the engineer inspect FIRST?

  1. Review parent features, dependency links, delivery plans and blocked work items.
  2. Compare release tags, merged pull requests, linked work items and note generation rules.
  3. Review workflow run identities, issue references, failure events and notification rules.
  4. Inspect production incident links, bug work items, affected commits and test case mappings.

Explanation

Correct Answer

B:

Compare release tags, merged pull requests, linked work items and note generation rules. This directly checks the uncertain behavior or control before changing production. Release summaries should be derived from verified source and work-item changes. The resulting targeted action is: Generate reviewed release notes from the changes between immutable release references.

Incorrect Answers

A:

Review parent features, dependency links, delivery plans and blocked work items. This would address a different situation, such as: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. In the present case, the most directly relevant evidence is: Compare release tags, merged pull requests, linked work items and note generation rules. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

C:

Review workflow run identities, issue references, failure events and notification rules. This would address a different situation, such as: A deployment job fails but the failure is not associated with the GitHub issue that requested the release. In the present case, the most directly relevant evidence is: Compare release tags, merged pull requests, linked work items and note generation rules. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

D:

Inspect production incident links, bug work items, affected commits and test case mappings. This would address a different situation, such as: Several production defects were fixed, but QA cannot determine which automated test gaps allowed them to escape. In the present case, the most directly relevant evidence is: Compare release tags, merged pull requests, linked work items and note generation rules. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

Question 488

After implementing the change, the team verifies: A team uses GitHub for code and Azure Boards for planning, but pull requests never appear in its work items. Which result would BEST demonstrate that the issue is corrected?

  1. A fresh contributor follows the current documented build without obsolete steps.
  2. A new test pull request is visible from its related Azure Boards work item.
  3. A pipeline stage change triggers corresponding diagram review and accurate dependency display.
  4. An intentionally failed test deployment alerts the responsible team with release identity.

Explanation

Correct Answer

B:

A new test pull request is visible from its related Azure Boards work item. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure the authorized Azure Boards-GitHub integration and linking conventions. Cross-platform collaboration requires configured repository and work-item integration.

Incorrect Answers

A:

A fresh contributor follows the current documented build without obsolete steps. This would address a different situation, such as: A repository wiki describes a build script that was removed six months ago and breaks onboarding. In the present case, the most directly relevant verification is: A new test pull request is visible from its related Azure Boards work item. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

C:

A pipeline stage change triggers corresponding diagram review and accurate dependency display. This would address a different situation, such as: New engineers misread a multi-stage release dependency diagram because process documentation uses an obsolete screenshot. In the present case, the most directly relevant verification is: A new test pull request is visible from its related Azure Boards work item. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

D:

An intentionally failed test deployment alerts the responsible team with release identity. This would address a different situation, such as: Critical production deployment failures send only email to an unattended shared mailbox. In the present case, the most directly relevant verification is: A new test pull request is visible from its related Azure Boards work item. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

Question 489

After implementing the change, the team verifies: A Node application pins a top-level package but a transitive dependency introduces an unreviewed major behavior change. Which result would BEST demonstrate that the issue is corrected?

  1. A clean hosted agent resolves the approved package without a developer workstation.
  2. A fresh workflow installs the private package without a long-lived personal token.
  3. The cross-project build restores packages without a global administrator token.
  4. A clean CI installation resolves the audited transitive versions.

Explanation

Correct Answer

D:

A clean CI installation resolves the audited transitive versions. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Commit a reviewed lockfile and run reproducible installation with dependency scanning. Transitive dependency resolution must be reproducible and security-reviewed.

Incorrect Answers

A:

A clean hosted agent resolves the approved package without a developer workstation. This would address a different situation, such as: A.NET service pulls internal NuGet libraries from a developer laptop because no shared feed exists. In the present case, the most directly relevant verification is: A clean CI installation resolves the audited transitive versions. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.

B:

A fresh workflow installs the private package without a long-lived personal token. 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 verification is: A clean CI installation resolves the audited transitive versions. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.

C:

The cross-project build restores packages without a global administrator token. This would address a different situation, such as: A central deployment pipeline cannot restore a package from another Azure DevOps project although the feed works locally. In the present case, the most directly relevant verification is: A clean CI installation resolves the audited transitive versions. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.

Question 490

After implementing the change, the team verifies: Teams use dozens of release branches with ambiguous names, and automation often deploys the wrong branch. Which result would BEST demonstrate that the issue is corrected?

  1. A release process selects the exact approved commit instead of a similarly named branch.
  2. The corrected test fails before and passes after the fix on both maintained lines.
  3. A collaborator can still resolve the original commit history after the next integration.
  4. A sample outside contribution requires approved checks before entering protected mainline.

Explanation

Correct Answer

A:

A release process selects the exact approved commit instead of a similarly named branch. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Define clear branch purposes and deploy from approved immutable tagged or hashed revisions. Branch conventions and immutable release references should uniquely identify deployable versions.

Incorrect Answers

B:

The corrected test fails before and passes after the fix on both maintained lines. This would address a different situation, such as: A critical production fix is committed to an old release branch and never reaches the mainline, so the bug returns next month. In the present case, the most directly relevant verification is: A release process selects the exact approved commit instead of a similarly named branch. The crucial distinction is: Branch conventions and immutable release references should uniquely identify deployable versions.

C:

A collaborator can still resolve the original commit history after the next integration. This would address a different situation, such as: A maintainer rebases a shared release branch and force pushes, invalidating teammates' commit references. In the present case, the most directly relevant verification is: A release process selects the exact approved commit instead of a similarly named branch. The crucial distinction is: Branch conventions and immutable release references should uniquely identify deployable versions.

D:

A sample outside contribution requires approved checks before entering protected mainline. This would address a different situation, such as: External contributors can directly edit protected organization branches rather than submitting reviewed fork-based changes. In the present case, the most directly relevant verification is: A release process selects the exact approved commit instead of a similarly named branch. The crucial distinction is: Branch conventions and immutable release references should uniquely identify deployable versions.

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