Microsoft AZ-400 Practice Test 79
Question 780
The DevOps team must resolve this situation: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. Which engineering action is MOST appropriate?
- Pin the release to the verified pipeline run and immutable artifact identifier.
- Add a consistent unique build identifier to the approved CalVer scheme.
- Pin approved package ranges with lockfiles and deterministic restore settings.
- Commit a reviewed lockfile and run reproducible installation with dependency scanning.
Explanation
Correct Answer
A:Pin the release to the verified pipeline run and immutable artifact identifier. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: The production artifact SHA matches the artifact that completed staging verification. Artifact promotion must bind deployment to the exact tested build.
Incorrect Answers
B:Add a consistent unique build identifier to the approved CalVer scheme. This would address a different situation, such as: An organization uses calendar-versioned nightly internal tools but deployments cannot distinguish two builds made on the same day. In the present case, the most directly relevant engineering action is: Pin the release to the verified pipeline run and immutable artifact identifier. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
C:Pin approved package ranges with lockfiles and deterministic restore settings. This would address a different situation, such as: The same Git commit restores different NuGet package versions one week apart and intermittently fails tests. In the present case, the most directly relevant engineering action is: Pin the release to the verified pipeline run and immutable artifact identifier. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
D: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: Pin the release to the verified pipeline run and immutable artifact identifier. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
Question 781
After implementing the change, the team verifies: A legacy classic Azure Release pipeline hides deployment steps in the UI and new teams cannot peer-review changes. Which result would BEST demonstrate that the issue is corrected?
- An equivalent deployment passes all required approval and functional checks after migration.
- The same full test suite finishes faster without skipped checks.
- Maintained releases build correctly after old feed access is withdrawn.
- An intentionally failed release reaches the active on-call group with diagnostic context.
Explanation
Correct Answer
A:An equivalent deployment passes all required approval and functional checks after migration. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Migrate release steps to reviewed YAML with protected environment checks and verified parity. Moving deployment logic to versioned YAML can improve consistency and review.
Incorrect Answers
B:The same full test suite finishes faster without skipped checks. This would address a different situation, such as: A large build spends most of its time serially running three independent test suites. In the present case, the most directly relevant verification is: An equivalent deployment passes all required approval and functional checks after migration. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
C:Maintained releases build correctly after old feed access is withdrawn. This would address a different situation, such as: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. In the present case, the most directly relevant verification is: An equivalent deployment passes all required approval and functional checks after migration. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
D:An intentionally failed release reaches the active on-call group with diagnostic context. 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 verification is: An equivalent deployment passes all required approval and functional checks after migration. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
Question 782
Before changing the pipeline or service, engineers find: A Node application pins a top-level package but a transitive dependency introduces an unreviewed major behavior change. Which evidence should the engineer inspect FIRST?
- Review dependency SBOM, licensing metadata, commercial distribution rights and exceptions.
- Inspect package-lock metadata, dependency tree, registry provenance and update policy.
- Review API surface change, dependency constraints, version bump rules and changelog.
- Inspect ACR manifests, tag mutation rights, deployment records and source mapping.
Explanation
Correct Answer
B:Inspect package-lock metadata, dependency tree, registry provenance and update policy. This directly checks the uncertain behavior or control before changing production. Transitive dependency resolution must be reproducible and security-reviewed. The resulting targeted action is: Commit a reviewed lockfile and run reproducible installation with dependency scanning.
Incorrect Answers
A:Review dependency SBOM, licensing metadata, commercial distribution rights and exceptions. This would address a different situation, such as: A development team uses a package with licensing obligations incompatible with a proprietary distribution without checking the transitive tree. In the present case, the most directly relevant evidence is: Inspect package-lock metadata, dependency tree, registry provenance and update policy. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.
C:Review API surface change, dependency constraints, version bump rules and changelog. This would address a different situation, such as: A compatible optional SDK feature is added, but release automation increments the major version for every change. In the present case, the most directly relevant evidence is: Inspect package-lock metadata, dependency tree, registry provenance and update policy. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.
D:Inspect ACR manifests, tag mutation rights, deployment records and source mapping. This would address a different situation, such as: A team overwrites the same image tag in Azure Container Registry for every build and loses reproducible deployment history. In the present case, the most directly relevant evidence is: Inspect package-lock metadata, dependency tree, registry provenance and update policy. The crucial distinction is: Transitive dependency resolution must be reproducible and security-reviewed.
Question 783
Before changing the pipeline or service, engineers find: Several production defects were fixed, but QA cannot determine which automated test gaps allowed them to escape. Which evidence should the engineer inspect FIRST?
- Compare support messages, GitHub Issues labels, assignees and issue closure history.
- Compare branch ages, pull request histories, work-item links and release tags.
- Inspect production incident links, bug work items, affected commits and test case mappings.
- Inspect Azure Boards development links, commit conventions and pipeline release metadata.
Explanation
Correct Answer
C:Inspect production incident links, bug work items, affected commits and test case mappings. This directly checks the uncertain behavior or control before changing production. Defect traceability should connect incidents to code, test coverage and prevention work. The resulting targeted action is: Relate production bugs to failing or missing tests and preventive backlog work.
Incorrect Answers
A:Compare support messages, GitHub Issues labels, assignees and issue closure history. This would address a different situation, such as: Customer-reported bugs arrive in chat messages and are never consistently recorded for the development team. In the present case, the most directly relevant evidence is: Inspect production incident links, bug work items, affected commits and test case mappings. The crucial distinction is: Defect traceability should connect incidents to code, test coverage and prevention work.
B:Compare branch ages, pull request histories, work-item links and release tags. This would address a different situation, such as: An engineering organization uses long-lived feature branches, and its hotfixes regularly miss previously merged changes. In the present case, the most directly relevant evidence is: Inspect production incident links, bug work items, affected commits and test case mappings. The crucial distinction is: Defect traceability should connect incidents to code, test coverage and prevention work.
D:Inspect Azure Boards development links, commit conventions and pipeline release metadata. This would address a different situation, such as: Azure Boards shows completed user stories, but there is no way to identify the commits and deployments delivering each story. In the present case, the most directly relevant evidence is: Inspect production incident links, bug work items, affected commits and test case mappings. The crucial distinction is: Defect traceability should connect incidents to code, test coverage and prevention work.
Question 784
Before changing the pipeline or service, engineers find: A pipeline starts integration tests before deploying the dependent database migration, causing intermittent failures. Which evidence should the engineer inspect FIRST?
- Review coverage collection filters, included assemblies and security-sensitive modules.
- Inspect global.json, agent image capabilities, use-dotnet steps and restore failures.
- Inspect YAML dependsOn, resource approvals, migration job outcomes and test order.
- Review load profile, Azure Load Testing results, request percentiles and capacity metrics.
Explanation
Correct Answer
C:Inspect YAML dependsOn, resource approvals, migration job outcomes and test order. This directly checks the uncertain behavior or control before changing production. Test stages must declare prerequisite environment and schema dependencies explicitly. The resulting targeted action is: Make integration testing depend on successful migration and test environment readiness.
Incorrect Answers
A:Review coverage collection filters, included assemblies and security-sensitive modules. This would address a different situation, such as: A team's claimed 90% code coverage includes only generated code and excludes its core authorization module. In the present case, the most directly relevant evidence is: Inspect YAML dependsOn, resource approvals, migration job outcomes and test order. The crucial distinction is: Test stages must declare prerequisite environment and schema dependencies explicitly.
B:Inspect global.json, agent image capabilities, use-dotnet steps and restore failures. This would address a different situation, such as: An Azure Pipeline fails only on hosted agents because tests require an uninstalled legacy.NET SDK. In the present case, the most directly relevant evidence is: Inspect YAML dependsOn, resource approvals, migration job outcomes and test order. The crucial distinction is: Test stages must declare prerequisite environment and schema dependencies explicitly.
D:Review load profile, Azure Load Testing results, request percentiles and capacity metrics. This would address a different situation, such as: An API passes functional tests for one user but violates latency objectives under 1,000 concurrent clients. In the present case, the most directly relevant evidence is: Inspect YAML dependsOn, resource approvals, migration job outcomes and test order. The crucial distinction is: Test stages must declare prerequisite environment and schema dependencies explicitly.
Question 785
An Azure DevOps engineering team evaluates this condition: Production VMs are configured by manual shell changes and new replacement VMs lack required OS baselines. Which DevOps principle BEST explains the underlying weakness?
- Infrastructure and application delivery need traceable version handoff without mutable assumptions.
- Policy exemptions need justified owner approval, scope and expiration.
- Guest desired-state policy should be measurable and enforceable across managed VMs.
- Policy effects differ between reporting and preventive enforcement.
Explanation
Correct Answer
C:Guest desired-state policy should be measurable and enforceable across managed VMs. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect guest baseline compliance, configuration assignments and VM identities. An appropriate controlled response is: Apply an approved Azure Machine Configuration baseline with compliance evaluation.
Incorrect Answers
A:Infrastructure and application delivery need traceable version handoff without mutable assumptions. This would address a different situation, such as: Application images are deployed manually after infra provisioning and the deployed image tag is not recorded in Bicep or the release pipeline. In the present case, the most directly relevant principle is: Guest desired-state policy should be measurable and enforceable across managed VMs. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
B:Policy exemptions need justified owner approval, scope and expiration. This would address a different situation, such as: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. In the present case, the most directly relevant principle is: Guest desired-state policy should be measurable and enforceable across managed VMs. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
D:Policy effects differ between reporting and preventive 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 principle is: Guest desired-state policy should be measurable and enforceable across managed VMs. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
Question 786
The DevOps team must resolve this situation: A pipeline prints a database password stored in a plain YAML variable during environment deployment. Which engineering action is MOST appropriate?
- Use an authorized Azure Key Vault-backed secret reference with protected variable handling.
- Move cloud credential issuance into the guarded deployment job with scoped federation.
- Limit trust to an approved protected repository environment and least-privilege scope.
- Adopt a tested version-management and rotation workflow with rollback compatibility.
Explanation
Correct Answer
A:Use an authorized Azure Key Vault-backed secret reference with protected variable handling. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: The deployment succeeds while secret values never appear in repository or logs. Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
Incorrect Answers
B:Move cloud credential issuance into the guarded deployment job with scoped federation. 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 engineering action is: Use an authorized Azure Key Vault-backed secret reference with protected variable handling. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
C:Limit trust to an approved protected repository environment and least-privilege scope. 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 engineering action is: Use an authorized Azure Key Vault-backed secret reference with protected variable handling. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
D:Adopt a tested version-management and rotation workflow with rollback compatibility. This would address a different situation, such as: An application release references a database secret version that was deleted during automatic rotation, causing downtime. In the present case, the most directly relevant engineering action is: Use an authorized Azure Key Vault-backed secret reference with protected variable handling. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
Question 787
The DevOps team must resolve this situation: An ACR pipeline pushes vulnerable base images and deploys without considering scan results. Which engineering action is MOST appropriate?
- Use risk-based triage with owners, remediation SLAs and documented waivers.
- Integrate image vulnerability scanning and a reviewed enforcement gate before production.
- Require reviewed package source, SBOM and policy gates before accepting dependency updates.
- Enforce independently controlled scanning status and immutable required checks on protected branches.
Explanation
Correct Answer
B:Integrate image vulnerability scanning and a reviewed enforcement gate before production. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A known critical test image is blocked while a remediated digest deploys. Container security assessment should map findings to immutable images and release risk.
Incorrect Answers
A:Use risk-based triage with owners, remediation SLAs and documented waivers. This would address a different situation, such as: Hundreds of low-severity dependency alerts crowd out a critical exploitable issue in production. In the present case, the most directly relevant engineering action is: Integrate image vulnerability scanning and a reviewed enforcement gate before production. The crucial distinction is: Container security assessment should map findings to immutable images and release risk.
C:Require reviewed package source, SBOM and policy gates before accepting dependency updates. This would address a different situation, such as: A dependency update workflow proposes a new package version but its artifact origin is not recorded, weakening supply-chain review. In the present case, the most directly relevant engineering action is: Integrate image vulnerability scanning and a reviewed enforcement gate before production. The crucial distinction is: Container security assessment should map findings to immutable images and release risk.
D:Enforce independently controlled scanning status and immutable required checks on protected branches. This would address a different situation, such as: An untrusted pull request can modify the secret-scanning workflow and disable scanning in its own run. In the present case, the most directly relevant engineering action is: Integrate image vulnerability scanning and a reviewed enforcement gate before production. The crucial distinction is: Container security assessment should map findings to immutable images and release risk.
Question 788
An Azure DevOps engineering team evaluates this condition: An application release references a database secret version that was deleted during automatic rotation, causing downtime. Which DevOps principle BEST explains the underlying weakness?
- Secret rotation must coordinate client update, version retention and recovery.
- Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
- Sensitive binary signing files need protected storage and controlled access.
- Credential issuance should occur only after the protected environment gate and trust checks.
Explanation
Correct Answer
A:Secret rotation must coordinate client update, version retention and recovery. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Key Vault version stages, runtime cache, rotation timeline and access policy. An appropriate controlled response is: Adopt a tested version-management and rotation workflow with rollback compatibility.
Incorrect Answers
B:Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. This would address a different situation, such as: A deployment downloads a private configuration file from a public blob URL before replacing placeholders. In the present case, the most directly relevant principle is: Secret rotation must coordinate client update, version retention and recovery. The crucial distinction is: Secret rotation must coordinate client update, version retention and recovery.
C:Sensitive binary signing files need protected storage and controlled access. 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 principle is: Secret rotation must coordinate client update, version retention and recovery. The crucial distinction is: Secret rotation must coordinate client update, version retention and recovery.
D:Credential issuance should occur only after the protected environment gate and trust checks. 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 principle is: Secret rotation must coordinate client update, version retention and recovery. The crucial distinction is: Secret rotation must coordinate client update, version retention and recovery.
Question 789
After implementing the change, the team verifies: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. Which result would BEST demonstrate that the issue is corrected?
- A hotfix reaches the protected mainline through review with all intended prior changes intact.
- A failed sample release leaves the linked issue open and alerts its responsible team.
- The shared platform dependency appears before downstream releases in an integrated plan.
- A sample release note lists the actual included fixes without unrelated pending changes.
Explanation
Correct Answer
C:The shared platform dependency appears before downstream releases in an integrated plan. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Link dependent work items across teams and use delivery plans to visualize blockers. Shared delivery dependencies must be visible across team backlogs with responsible ownership.
Incorrect Answers
A:A hotfix reaches the protected mainline through review with all intended prior changes intact. This would address a different situation, such as: An engineering organization uses long-lived feature branches, and its hotfixes regularly miss previously merged changes. In the present case, the most directly relevant verification is: The shared platform dependency appears before downstream releases in an integrated plan. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
B:A failed sample release leaves the linked issue open and alerts its responsible team. 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 verification is: The shared platform dependency appears before downstream releases in an integrated plan. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
D:A sample release note lists the actual included fixes without unrelated pending changes. This would address a different situation, such as: Release notes are composed from memory and routinely omit merged security improvements. In the present case, the most directly relevant verification is: The shared platform dependency appears before downstream releases in an integrated plan. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
Question 790
After implementing the change, the team verifies: Six teams manually create nearly identical VNets with inconsistent NSG defaults and missing diagnostics. Which result would BEST demonstrate that the issue is corrected?
- A test service deployment inherits baseline health and identity configuration.
- A deliberately altered setting triggers the intended compliance detection and correction process.
- Two new applications deploy consistent approved network controls from the shared module.
- Production uses the approved digest recorded in the associated pipeline run.
Explanation
Correct Answer
C:Two new applications deploy consistent approved network controls from the shared module. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Publish a versioned Bicep networking module with secure defaults and reviewed parameters. IaC modules should centralize approved reusable infrastructure patterns.
Incorrect Answers
A:A test service deployment inherits baseline health and identity configuration. This would address a different situation, such as: Each team's pipeline provisions Azure Container Apps independently, with inconsistent health probes and identity. In the present case, the most directly relevant verification is: Two new applications deploy consistent approved network controls from the shared module. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.
B:A deliberately altered setting triggers the intended compliance detection and correction process. 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 verification is: Two new applications deploy consistent approved network controls from the shared module. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.
D:Production uses the approved digest recorded in the associated pipeline run. This would address a different situation, such as: Application images are deployed manually after infra provisioning and the deployed image tag is not recorded in Bicep or the release pipeline. In the present case, the most directly relevant verification is: Two new applications deploy consistent approved network controls from the shared module. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.