Microsoft AZ-400 Practice Test 80
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.
Question 791
Before changing the pipeline or service, engineers find: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. Which evidence should the engineer inspect FIRST?
- Inspect feed view membership, promotion permissions, consumer package sources and versions.
- Compare project version ranges, lockfiles, feed updates and restore output.
- Inspect delivery channels, artifact checksums, user installs and release approvals.
- Review dependency SBOM, licensing metadata, commercial distribution rights and exceptions.
Explanation
Correct Answer
C:Inspect delivery channels, artifact checksums, user installs and release approvals. This directly checks the uncertain behavior or control before changing production. Versioned universal packages provide reproducible distribution of nonlanguage build outputs. The resulting targeted action is: Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.
Incorrect Answers
A:Inspect feed view membership, promotion permissions, consumer package sources and versions. This would address a different situation, such as: A library's prerelease build appears in the same feed view consumed by production services and breaks compatibility. In the present case, the most directly relevant evidence is: Inspect delivery channels, artifact checksums, user installs and release approvals. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
B:Compare project version ranges, lockfiles, feed updates and restore output. 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 evidence is: Inspect delivery channels, artifact checksums, user installs and release approvals. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
D: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 delivery channels, artifact checksums, user installs and release approvals. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
Question 792
After implementing the change, the team verifies: External contributors can directly edit protected organization branches rather than submitting reviewed fork-based changes. Which result would BEST demonstrate that the issue is corrected?
- The new code merges and deploys disabled until the approved rollout cohort is enabled.
- A squashed change can be traced from release to approved PR and tests.
- An added failing commit invalidates prior green status until retested.
- A sample outside contribution requires approved checks before entering protected mainline.
Explanation
Correct Answer
D:A sample outside contribution requires approved checks before entering protected mainline. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use fork-and-pull-request contributions with least-privilege branch access. External contributions should use constrained write scope and enforced review.
Incorrect Answers
A:The new code merges and deploys disabled until the approved rollout cohort is enabled. This would address a different situation, such as: A feature needs gradual rollout, but the team maintains a year-long divergent branch to hide unfinished functionality. In the present case, the most directly relevant verification is: A sample outside contribution requires approved checks before entering protected mainline. The crucial distinction is: External contributions should use constrained write scope and enforced review.
B:A squashed change can be traced from release to approved PR and tests. This would address a different situation, such as: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. In the present case, the most directly relevant verification is: A sample outside contribution requires approved checks before entering protected mainline. The crucial distinction is: External contributions should use constrained write scope and enforced review.
C: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: A sample outside contribution requires approved checks before entering protected mainline. The crucial distinction is: External contributions should use constrained write scope and enforced review.
Question 793
An Azure DevOps engineering team evaluates this condition: An operations dashboard reports recovery time ending when a VM restarts, although customer transactions remain unavailable. Which DevOps principle BEST explains the underlying weakness?
- Time to restore service should reflect verified business-service recovery.
- Flow metrics depend on consistent state-transition definitions and truthful process data.
- Process metrics should disclose sampling limitations and actionable qualitative context.
- Quality dashboards should show scope, omissions and relevant risk alongside pass rates.
Explanation
Correct Answer
A:Time to restore service should reflect verified business-service recovery. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review incident start, synthetic transaction recovery, customer impact and closure events. An appropriate controlled response is: Define recovery completion using service-level restoration and compute the metric accordingly.
Incorrect Answers
B:Flow metrics depend on consistent state-transition definitions and truthful process data. This would address a different situation, such as: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. In the present case, the most directly relevant principle is: Time to restore service should reflect verified business-service recovery. The crucial distinction is: Time to restore service should reflect verified business-service recovery.
C:Process metrics should disclose sampling limitations and actionable qualitative context. This would address a different situation, such as: A team reports excellent developer experience based only on responses from its three most active maintainers. In the present case, the most directly relevant principle is: Time to restore service should reflect verified business-service recovery. The crucial distinction is: Time to restore service should reflect verified business-service recovery.
D:Quality dashboards should show scope, omissions and relevant risk alongside pass rates. This would address a different situation, such as: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. In the present case, the most directly relevant principle is: Time to restore service should reflect verified business-service recovery. The crucial distinction is: Time to restore service should reflect verified business-service recovery.
Question 794
After implementing the change, the team verifies: An Azure DevOps webhook creates duplicate change tickets whenever the receiving service retries a timeout. Which result would BEST demonstrate that the issue is corrected?
- An intentionally failed test deployment alerts the responsible team with release identity.
- A new test pull request is visible from its related Azure Boards work item.
- A pipeline stage change triggers corresponding diagram review and accurate dependency display.
- Repeated delivery of the same event results in one linked change ticket.
Explanation
Correct Answer
D:Repeated delivery of the same event results in one linked change ticket. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use stable event IDs and idempotent ticket creation with failure monitoring. Cross-tool event integrations need idempotent handling and observability.
Incorrect Answers
A: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: Repeated delivery of the same event results in one linked change ticket. The crucial distinction is: Cross-tool event integrations need idempotent handling and observability.
B:A new test pull request is visible from its related Azure Boards work item. 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 verification is: Repeated delivery of the same event results in one linked change ticket. The crucial distinction is: Cross-tool event integrations need idempotent handling and observability.
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: Repeated delivery of the same event results in one linked change ticket. The crucial distinction is: Cross-tool event integrations need idempotent handling and observability.
Question 795
The DevOps team must resolve this situation: A pull request passes security tests, then receives new commits but can merge without rerunning required checks. Which engineering action is MOST appropriate?
- Require reviewed back-merges or cherry-picks of hotfixes into active branches.
- Integrate incomplete code safely behind governed feature flags and short-lived branches.
- Require fresh passing checks after updates to the protected pull request.
- Enforce code owner approval for sensitive path changes in protected branches.
Explanation
Correct Answer
C:Require fresh passing checks after updates to the protected pull request. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An added failing commit invalidates prior green status until retested. Required checks must apply to the head commit actually being merged.
Incorrect Answers
A:Require reviewed back-merges or cherry-picks of hotfixes into active branches. 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 engineering action is: Require fresh passing checks after updates to the protected pull request. The crucial distinction is: Required checks must apply to the head commit actually being merged.
B:Integrate incomplete code safely behind governed feature flags and short-lived branches. This would address a different situation, such as: A feature needs gradual rollout, but the team maintains a year-long divergent branch to hide unfinished functionality. In the present case, the most directly relevant engineering action is: Require fresh passing checks after updates to the protected pull request. The crucial distinction is: Required checks must apply to the head commit actually being merged.
D:Enforce code owner approval for sensitive path changes in protected branches. 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 engineering action is: Require fresh passing checks after updates to the protected pull request. The crucial distinction is: Required checks must apply to the head commit actually being merged.
Question 796
Before changing the pipeline or service, engineers find: Each team's pipeline provisions Azure Container Apps independently, with inconsistent health probes and identity. Which evidence should the engineer inspect FIRST?
- Inspect policy assignment parameters, effect, scope and compliance states.
- Inspect environment provisioning logs, resource tags, TTL and cleanup policies.
- Compare YAML and Bicep modules, probes, managed identity choices and review history.
- Inspect template deployment mode, resource group contents, what-if output and retention requirements.
Explanation
Correct Answer
C:Compare YAML and Bicep modules, probes, managed identity choices and review history. This directly checks the uncertain behavior or control before changing production. Infrastructure templates should codify consistent application platform controls. The resulting targeted action is: Publish approved reusable templates with governed versioning and service-specific parameters.
Incorrect Answers
A:Inspect policy assignment parameters, effect, scope and compliance states. 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 evidence is: Compare YAML and Bicep modules, probes, managed identity choices and review history. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
B:Inspect environment provisioning logs, resource tags, TTL and cleanup policies. This would address a different situation, such as: Engineers create temporary load-test environments manually but never remove costly public IP addresses. In the present case, the most directly relevant evidence is: Compare YAML and Bicep modules, probes, managed identity choices and review history. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
D:Inspect template deployment mode, resource group contents, what-if output and retention requirements. 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 evidence is: Compare YAML and Bicep modules, probes, managed identity choices and review history. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
Question 797
Before changing the pipeline or service, engineers find: Developers can edit protected deployment environments and approve their own releases because one group owns all project settings. Which evidence should the engineer inspect FIRST?
- Inspect token scope, audit events, bot responsibilities and repository installation.
- Inspect project memberships, access level, team role and pipeline permissions.
- Inspect security groups, environment approvers, service connection owners and bypass rights.
- Inspect App Service identity settings, storage RBAC and credential history.
Explanation
Correct Answer
C:Inspect security groups, environment approvers, service connection owners and bypass rights. This directly checks the uncertain behavior or control before changing production. Administrative and approval authority should be segregated for sensitive deployments. The resulting targeted action is: Separate pipeline authors from release-approval administrators and audit exceptions.
Incorrect Answers
A:Inspect token scope, audit events, bot responsibilities and repository installation. This would address a different situation, such as: An automation bot uses a maintainer's all-repository personal access token to comment on pull requests. In the present case, the most directly relevant evidence is: Inspect security groups, environment approvers, service connection owners and bypass rights. The crucial distinction is: Administrative and approval authority should be segregated for sensitive deployments.
B:Inspect project memberships, access level, team role and pipeline permissions. This would address a different situation, such as: A product manager needs to view Azure Boards and submit work items but is given full build administration permissions. In the present case, the most directly relevant evidence is: Inspect security groups, environment approvers, service connection owners and bypass rights. The crucial distinction is: Administrative and approval authority should be segregated for sensitive deployments.
D:Inspect App Service identity settings, storage RBAC and credential history. This would address a different situation, such as: An App Service accesses Azure Storage using a connection string containing an account key in source control. In the present case, the most directly relevant evidence is: Inspect security groups, environment approvers, service connection owners and bypass rights. The crucial distinction is: Administrative and approval authority should be segregated for sensitive deployments.
Question 798
An Azure DevOps engineering team evaluates this condition: A public repository uses a vulnerable transitive NPM package but Dependabot alerts are disabled. Which DevOps principle BEST explains the underlying weakness?
- DevOps security posture can be integrated into centralized cloud risk monitoring.
- Different scanning methods cover different classes of weakness and require complementary controls.
- Dependency monitoring should detect vulnerable package versions with actionable updates.
- Automated security/compliance scanning should retain dependency provenance and approved package sources.
Explanation
Correct Answer
C:Dependency monitoring should detect vulnerable package versions with actionable updates. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect repository dependency graph, advisory alerts and update policy. An appropriate controlled response is: Enable Dependabot alerts and governed security updates with CI checks.
Incorrect Answers
A:DevOps security posture can be integrated into centralized cloud risk monitoring. This would address a different situation, such as: Security findings in Azure DevOps repositories never appear in the organization's central Defender for Cloud dashboard. In the present case, the most directly relevant principle is: Dependency monitoring should detect vulnerable package versions with actionable updates. The crucial distinction is: Dependency monitoring should detect vulnerable package versions with actionable updates.
B:Different scanning methods cover different classes of weakness and require complementary controls. This would address a different situation, such as: A project relies entirely on container image vulnerability scanning while application source contains an authorization flaw. In the present case, the most directly relevant principle is: Dependency monitoring should detect vulnerable package versions with actionable updates. The crucial distinction is: Dependency monitoring should detect vulnerable package versions with actionable updates.
D:Automated security/compliance scanning should retain dependency provenance and approved package sources. 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 principle is: Dependency monitoring should detect vulnerable package versions with actionable updates. The crucial distinction is: Dependency monitoring should detect vulnerable package versions with actionable updates.
Question 799
The DevOps team must resolve this situation: A microservice changes a JSON field name while a downstream consumer still relies on the old name. Which engineering action is MOST appropriate?
- Run automated producer-consumer contract checks with backward-compatible staging.
- Add an Azure Load Testing stage with approved throughput and latency pass criteria.
- Improve boundary-value assertions and use mutation or targeted fault tests as appropriate.
- Make integration testing depend on successful migration and test environment readiness.
Explanation
Correct Answer
A:Run automated producer-consumer contract checks with backward-compatible staging. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An incompatible field removal fails pipeline validation before production use. Consumer contract tests should detect interface-breaking changes before coordinated release.
Incorrect Answers
B:Add an Azure Load Testing stage with approved throughput and latency pass criteria. 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 engineering action is: Run automated producer-consumer contract checks with backward-compatible staging. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.
C:Improve boundary-value assertions and use mutation or targeted fault tests as appropriate. This would address a different situation, such as: A business rule has 100% line coverage, but tests still pass when its comparison operator is reversed. In the present case, the most directly relevant engineering action is: Run automated producer-consumer contract checks with backward-compatible staging. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.
D:Make integration testing depend on successful migration and test environment readiness. This would address a different situation, such as: A pipeline starts integration tests before deploying the dependent database migration, causing intermittent failures. In the present case, the most directly relevant engineering action is: Run automated producer-consumer contract checks with backward-compatible staging. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.
Question 800
Before changing the pipeline or service, engineers find: A Bicep deployment creates an application before the required Key Vault access is effective, causing startup failures. Which evidence should the engineer inspect FIRST?
- Review image digest provenance, deployment parameters and environment history.
- Inspect resource references, role assignments, provisioning order and propagation behavior.
- Inspect policy assignment parameters, effect, scope and compliance states.
- Inspect template inputs, source history, Key Vault access and deployment output.
Explanation
Correct Answer
B:Inspect resource references, role assignments, provisioning order and propagation behavior. This directly checks the uncertain behavior or control before changing production. IaC dependency design must express when required resources and authorization are ready. The resulting targeted action is: Add explicit dependency and readiness checks where Azure role propagation needs validation.
Incorrect Answers
A:Review image digest provenance, deployment parameters and environment history. 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 evidence is: Inspect resource references, role assignments, provisioning order and propagation behavior. The crucial distinction is: IaC dependency design must express when required resources and authorization are ready.
C:Inspect policy assignment parameters, effect, scope and compliance states. 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 evidence is: Inspect resource references, role assignments, provisioning order and propagation behavior. The crucial distinction is: IaC dependency design must express when required resources and authorization are ready.
D: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 resource references, role assignments, provisioning order and propagation behavior. The crucial distinction is: IaC dependency design must express when required resources and authorization are ready.