Microsoft AZ-400 Practice Test 71
Question 700
After implementing the change, the team verifies: Release notes are composed from memory and routinely omit merged security improvements. Which result would BEST demonstrate that the issue is corrected?
- The shared platform dependency appears before downstream releases in an integrated plan.
- A sampled production report has an owner and traces to a tested correction.
- A sampled escaped defect traces to an added regression test and successful validation.
- A sample release note lists the actual included fixes without unrelated pending changes.
Explanation
Correct Answer
D:A sample release note lists the actual included fixes without unrelated pending changes. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Generate reviewed release notes from the changes between immutable release references. Release summaries should be derived from verified source and work-item changes.
Incorrect Answers
A:The shared platform dependency appears before downstream releases in an integrated plan. 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 verification is: A sample release note lists the actual included fixes without unrelated pending changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.
B:A sampled production report has an owner and traces to a tested correction. 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 verification is: A sample release note lists the actual included fixes without unrelated pending changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.
C:A sampled escaped defect traces to an added regression test and successful validation. 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 verification is: A sample release note lists the actual included fixes without unrelated pending changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.
Question 701
An Azure DevOps engineering team evaluates this condition: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. Which DevOps principle BEST explains the underlying weakness?
- Security metrics should track severity, exposure, accountable ownership and aging.
- DevOps metrics require precise event definitions and consistent populations.
- Process metrics should disclose sampling limitations and actionable qualitative context.
- Delivery optimization needs separate measurements for queue, execution and waiting stages.
Explanation
Correct Answer
A:Security metrics should track severity, exposure, accountable ownership and aging. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence. An appropriate controlled response is: Build aging and SLA queries for critical findings with owner and disposition fields.
Incorrect Answers
B:DevOps metrics require precise event definitions and consistent populations. This would address a different situation, such as: A dashboard measures deployment frequency but calculates lead time from the first commit in an unrelated repository. In the present case, the most directly relevant principle is: Security metrics should track severity, exposure, accountable ownership and aging. The crucial distinction is: Security metrics should track severity, exposure, accountable ownership and aging.
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: Security metrics should track severity, exposure, accountable ownership and aging. The crucial distinction is: Security metrics should track severity, exposure, accountable ownership and aging.
D:Delivery optimization needs separate measurements for queue, execution and waiting stages. This would address a different situation, such as: A pipeline takes 50 minutes, but dashboard owners cannot distinguish runner queue delays from actual build execution. In the present case, the most directly relevant principle is: Security metrics should track severity, exposure, accountable ownership and aging. The crucial distinction is: Security metrics should track severity, exposure, accountable ownership and aging.
Question 702
After implementing the change, the team verifies: Production VMs are configured by manual shell changes and new replacement VMs lack required OS baselines. Which result would BEST demonstrate that the issue is corrected?
- Repeated plans use the same provider version and give consistent changes.
- A destructive replacement fails the gate unless explicitly approved with recovery arrangements.
- The app starts with authorized secret access after an entirely fresh deployment.
- A newly provisioned VM reports accurate guest configuration compliance.
Explanation
Correct Answer
D:A newly provisioned VM reports accurate guest configuration compliance. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Apply an approved Azure Machine Configuration baseline with compliance evaluation. Guest desired-state policy should be measurable and enforceable across managed VMs.
Incorrect Answers
A:Repeated plans use the same provider version and give consistent changes. This would address a different situation, such as: The same Terraform source yields changed resource behavior because local users and CI select different provider versions. In the present case, the most directly relevant verification is: A newly provisioned VM reports accurate guest configuration compliance. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
B:A destructive replacement fails the gate unless explicitly approved with recovery arrangements. 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 verification is: A newly provisioned VM reports accurate guest configuration compliance. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
C:The app starts with authorized secret access after an entirely fresh deployment. 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 verification is: A newly provisioned VM reports accurate guest configuration compliance. The crucial distinction is: Guest desired-state policy should be measurable and enforceable across managed VMs.
Question 703
An Azure DevOps engineering team evaluates this condition: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. Which DevOps principle BEST explains the underlying weakness?
- Package feed roles should separate consumer, publisher and administrative permissions.
- Cross-project feeds require authorized build-service identities and scope settings.
- SemVer major versions communicate incompatible public API changes.
- Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
Explanation
Correct Answer
D:Versioned universal packages provide reproducible distribution of nonlanguage build outputs. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect delivery channels, artifact checksums, user installs and release approvals. An appropriate controlled response is: Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.
Incorrect Answers
A:Package feed roles should separate consumer, publisher and administrative permissions. This would address a different situation, such as: Every developer can delete the versions of a private production library that other teams depend on. In the present case, the most directly relevant principle is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
B:Cross-project feeds require authorized build-service identities and scope settings. 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 principle is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
C:SemVer major versions communicate incompatible public API changes. This would address a different situation, such as: An internal SDK removes a public method yet publishes the next build as a patch release, breaking consumers. In the present case, the most directly relevant principle is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs. The crucial distinction is: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
Question 704
A Microsoft DevOps team is addressing: A build pipeline uploads a ZIP under a stable filename and a later build overwrites it before deployment. Which TWO complementary actions should be taken? Select TWO answers.
- Publish an appropriate major version with migration guidance and compatibility gates.
- Inspect artifact store versioning, write policy, source SHA and release logs.
- Use unique versioned paths and verify digest before deployment.
- Inspect package-lock metadata, dependency tree, registry provenance and update policy.
- Grant the consuming build service read access at the appropriate feed scope.
Explanation
Correct Answers
B:Inspect artifact store versioning, write policy, source SHA and release logs. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use unique versioned paths and verify digest before deployment. Together they address: Artifact integrity requires immutable identity and reliable build-to-release linkage.
C:Use unique versioned paths and verify digest before deployment. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect artifact store versioning, write policy, source SHA and release logs. Together they address: Artifact integrity requires immutable identity and reliable build-to-release linkage.
Incorrect Answers
A:Publish an appropriate major version with migration guidance and compatibility gates. This concerns a different DevOps situation: An internal SDK removes a public method yet publishes the next build as a patch release, breaking consumers. This case instead requires both a targeted investigation (Inspect artifact store versioning, write policy, source SHA and release logs.) and a controlled change (Use unique versioned paths and verify digest before deployment.).
D:Inspect package-lock metadata, dependency tree, registry provenance and update policy. 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 artifact store versioning, write policy, source SHA and release logs.) and a controlled change (Use unique versioned paths and verify digest before deployment.).
E:Grant the consuming build service read access at the appropriate feed scope. This concerns a different DevOps situation: A central deployment pipeline cannot restore a package from another Azure DevOps project although the feed works locally. This case instead requires both a targeted investigation (Inspect artifact store versioning, write policy, source SHA and release logs.) and a controlled change (Use unique versioned paths and verify digest before deployment.).
Question 705
An engineering design review identifies: A release manifest references an ACR latest tag that was replaced after QA approval. Which shortcut should the team MOST specifically avoid for this case?
- Run terraform apply -auto-approve for every production pull request.
- Bypass all testing and never record the emergency change rationale.
- Trust the most recently pushed latest image to match the reviewed build.
- Deploy arbitrary component order and assume green builds prove integrated availability.
Explanation
Correct Answer
C:Trust the most recently pushed latest image to match the reviewed build. This shortcut directly undermines the stated control or workflow. A safer action is: Pin the approved image digest in deployment configuration and retain rollback versions. Explanation: Deployments should reference the exact verified image digest or protected immutable tag.
Incorrect Answers
A:Run terraform apply -auto-approve for every production pull request. This would address a different situation, such as: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. In the present case, the most directly relevant unsafe shortcut is: Trust the most recently pushed latest image to match the reviewed build. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
B:Bypass all testing and never record the emergency change rationale. This would address a different situation, such as: A security vulnerability needs same-day correction but the organization’s normal three-week release train blocks all fixes. In the present case, the most directly relevant unsafe shortcut is: Trust the most recently pushed latest image to match the reviewed build. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
D:Deploy arbitrary component order and assume green builds prove integrated availability. This would address a different situation, such as: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. In the present case, the most directly relevant unsafe shortcut is: Trust the most recently pushed latest image to match the reviewed build. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
Question 706
The DevOps team must resolve this situation: An API's new release increases CPU costs by 60%, but the load test reports green because no baseline exists. Which engineering action is MOST appropriate?
- Implement repeatable baseline comparison gates for resource consumption and latency.
- Give parallel tests isolated data and synchronize genuine shared dependencies.
- Add guarded end-to-end UI tests for checkout and payment confirmation.
- Require verified unit test checks as part of protected pull request policy.
Explanation
Correct Answer
A:Implement repeatable baseline comparison gates for resource consumption and latency. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test release exceeding the approved regression allowance fails the gate. Performance testing should compare measured changes against approved regression budgets.
Incorrect Answers
B:Give parallel tests isolated data and synchronize genuine shared dependencies. This would address a different situation, such as: A nightly integration suite fails intermittently because test data is shared between parallel jobs. In the present case, the most directly relevant engineering action is: Implement repeatable baseline comparison gates for resource consumption and latency. The crucial distinction is: Performance testing should compare measured changes against approved regression budgets.
C:Add guarded end-to-end UI tests for checkout and payment confirmation. This would address a different situation, such as: A payment workflow completes an HTTP health check but fails after users submit the checkout form. In the present case, the most directly relevant engineering action is: Implement repeatable baseline comparison gates for resource consumption and latency. The crucial distinction is: Performance testing should compare measured changes against approved regression budgets.
D:Require verified unit test checks as part of protected pull request policy. This would address a different situation, such as: A protected mainline accepts pull requests before a required unit test suite finishes, causing broken packages. In the present case, the most directly relevant engineering action is: Implement repeatable baseline comparison gates for resource consumption and latency. The crucial distinction is: Performance testing should compare measured changes against approved regression budgets.
Question 707
The DevOps team must resolve this situation: Teams each copy a deployment YAML template and security fixes reach only some repositories. Which engineering action is MOST appropriate?
- Migrate the service connection to supported workload identity federation with scoped access.
- Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.
- Emit a named output variable and consume it through the appropriate dependency expression.
- Move common steps into approved reusable templates with pinned or governed references.
Explanation
Correct Answer
D:Move common steps into approved reusable templates with pinned or governed references. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A shared security fix is adopted through a reviewed template update in each consumer. Shared templates should be centrally governed and versioned for compatible consumers.
Incorrect Answers
A:Migrate the service connection to supported workload identity federation with scoped access. This would address a different situation, such as: An Azure DevOps pipeline's Azure Resource Manager service connection fails each quarter when its client secret expires. In the present case, the most directly relevant engineering action is: Move common steps into approved reusable templates with pinned or governed references. The crucial distinction is: Shared templates should be centrally governed and versioned for compatible consumers.
B:Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs. This would address a different situation, such as: A GitHub self-hosted runner accepts workflows from untrusted forks and shares its workspace with production credentials. In the present case, the most directly relevant engineering action is: Move common steps into approved reusable templates with pinned or governed references. The crucial distinction is: Shared templates should be centrally governed and versioned for compatible consumers.
C:Emit a named output variable and consume it through the appropriate dependency expression. This would address a different situation, such as: A downstream stage cannot determine the storage endpoint created by an infrastructure provisioning stage. In the present case, the most directly relevant engineering action is: Move common steps into approved reusable templates with pinned or governed references. The crucial distinction is: Shared templates should be centrally governed and versioned for compatible consumers.
Question 708
After implementing the change, the team verifies: A development team uses a package with licensing obligations incompatible with a proprietary distribution without checking the transitive tree. Which result would BEST demonstrate that the issue is corrected?
- A clean CI installation resolves the audited transitive versions.
- Existing consumers continue to work and new clients opt into the feature.
- A newly built wheel no longer includes the vulnerable dependency and tests pass.
- A policy-prohibited dependency blocks promotion with a reviewable report.
Explanation
Correct Answer
D:A policy-prohibited dependency blocks promotion with a reviewable report. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Integrate license policy checks into feed promotion and release approval. Package approval must consider legal and licensing obligations alongside technical vulnerabilities.
Incorrect Answers
A:A clean CI installation resolves the audited transitive versions. 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 verification is: A policy-prohibited dependency blocks promotion with a reviewable report. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.
B:Existing consumers continue to work and new clients opt into the feature. 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 verification is: A policy-prohibited dependency blocks promotion with a reviewable report. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.
C:A newly built wheel no longer includes the vulnerable dependency and tests pass. 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 verification is: A policy-prohibited dependency blocks promotion with a reviewable report. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.
Question 709
The DevOps team must resolve this situation: An Azure DevOps deployment service connection is authorized for all pipelines, including untrusted test definitions. Which engineering action is MOST appropriate?
- Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution.
- Separate pipeline authors from release-approval administrators and audit exceptions.
- Disable broad access and explicitly authorize the approved production pipelines.
- Attach an approved user-assigned managed identity to the participating compute resources.
Explanation
Correct Answer
C:Disable broad access and explicitly authorize the approved production pipelines. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An untrusted pipeline cannot use the production connection while approved release works. Service connection authorization must be limited to approved pipelines and resource scope.
Incorrect Answers
A:Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution. This would address a different situation, such as: A GitHub Actions test workflow with untrusted input has contents:write even though it only runs tests. In the present case, the most directly relevant engineering action is: Disable broad access and explicitly authorize the approved production pipelines. The crucial distinction is: Service connection authorization must be limited to approved pipelines and resource scope.
B:Separate pipeline authors from release-approval administrators and audit exceptions. This would address a different situation, such as: Developers can edit protected deployment environments and approve their own releases because one group owns all project settings. In the present case, the most directly relevant engineering action is: Disable broad access and explicitly authorize the approved production pipelines. The crucial distinction is: Service connection authorization must be limited to approved pipelines and resource scope.
D:Attach an approved user-assigned managed identity to the participating compute resources. This would address a different situation, such as: An autoscaled deployment needs consistent identity across short-lived Azure compute instances that are replaced frequently. In the present case, the most directly relevant engineering action is: Disable broad access and explicitly authorize the approved production pipelines. The crucial distinction is: Service connection authorization must be limited to approved pipelines and resource scope.
Question 710
An engineering design review identifies: An Azure service uses a TLS certificate uploaded to Key Vault, but the deployment copies only the public certificate without the private-key binding. Which shortcut should the team MOST specifically avoid for this case?
- Trust every branch and fork workflow to make experimentation easier.
- Delete the active secret version before dependent services refresh credentials.
- Make the configuration container public so all build agents can retrieve it.
- Commit a PFX and plaintext password to repository source so deployment always works.
Explanation
Correct Answer
D:Commit a PFX and plaintext password to repository source so deployment always works. This shortcut directly undermines the stated control or workflow. A safer action is: Deploy the appropriately authorized certificate material through supported bindings and managed access. Explanation: Certificate deployment must match required private-key access and target service configuration.
Incorrect Answers
A:Trust every branch and fork workflow to make experimentation easier. 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 unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.
B:Delete the active secret version before dependent services refresh credentials. 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 unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.
C:Make the configuration container public so all build agents can retrieve it. 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 unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.