Microsoft AZ-400 Practice Test 28
Question 270
The DevOps team must resolve this situation: A library's prerelease build appears in the same feed view consumed by production services and breaks compatibility. Which engineering action is MOST appropriate?
- Promote and deploy verified image digests with approved version labels.
- Publish versioned internal packages to Azure Artifacts and grant scoped pipeline feed access.
- Publish an appropriate major version with migration guidance and compatibility gates.
- Use reviewed package promotion into stable feed views before production consumption.
Explanation
Correct Answer
D:Use reviewed package promotion into stable feed views before production consumption. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Production restores an approved stable version while prerelease candidates stay isolated. Package views can separate promoted stable packages from unapproved candidates.
Incorrect Answers
A:Promote and deploy verified image digests with approved version labels. 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 engineering action is: Use reviewed package promotion into stable feed views before production consumption. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.
B:Publish versioned internal packages to Azure Artifacts and grant scoped pipeline feed access. 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 engineering action is: Use reviewed package promotion into stable feed views before production consumption. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.
C:Publish an appropriate major version with migration guidance and compatibility gates. 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 engineering action is: Use reviewed package promotion into stable feed views before production consumption. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.
Question 271
A Microsoft DevOps team is addressing: A binary distribution uses open-source dependencies but its release process does not check license obligations. Which TWO complementary actions should be taken? Select TWO answers.
- Add software composition/license policy checks and reviewed exceptions to CI.
- Configure approved CodeQL analysis and risk-based remediation gates.
- Inspect image digests, scan results, base packages and policy thresholds.
- Review SAST, dependency, image and integration security test coverage.
- Review SBOM, open-source license records, distribution type and exception approvals.
Explanation
Correct Answers
A:Add software composition/license policy checks and reviewed exceptions to CI. This supplies the controlled implementation needed for the scenario. Its complementary step is: Review SBOM, open-source license records, distribution type and exception approvals. Together they address: Compliance scanning should identify licensing constraints before external software distribution.
E:Review SBOM, open-source license records, distribution type and exception approvals. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Add software composition/license policy checks and reviewed exceptions to CI. Together they address: Compliance scanning should identify licensing constraints before external software distribution.
Incorrect Answers
B:Configure approved CodeQL analysis and risk-based remediation gates. This concerns a different DevOps situation: A C# API has risky SQL construction patterns, but pipeline checks only verify compilation. This case instead requires both a targeted investigation (Review SBOM, open-source license records, distribution type and exception approvals.) and a controlled change (Add software composition/license policy checks and reviewed exceptions to CI.).
C:Inspect image digests, scan results, base packages and policy thresholds. This concerns a different DevOps situation: An ACR pipeline pushes vulnerable base images and deploys without considering scan results. This case instead requires both a targeted investigation (Review SBOM, open-source license records, distribution type and exception approvals.) and a controlled change (Add software composition/license policy checks and reviewed exceptions to CI.).
D:Review SAST, dependency, image and integration security test coverage. This concerns a different DevOps situation: A project relies entirely on container image vulnerability scanning while application source contains an authorization flaw. This case instead requires both a targeted investigation (Review SBOM, open-source license records, distribution type and exception approvals.) and a controlled change (Add software composition/license policy checks and reviewed exceptions to CI.).
Question 272
Before changing the pipeline or service, engineers find: Blob transaction failures increase, but dashboards track only storage account capacity in bytes. Which evidence should the engineer inspect FIRST?
- Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs.
- Review Azure Monitor Storage transaction metrics, response codes and client diagnostics.
- Inspect Azure Network Watcher/Monitor network metrics, connection monitoring and path diagnostics.
- Inspect Azure Monitor Container Insights, pod events, collection coverage and retention.
Explanation
Correct Answer
B:Review Azure Monitor Storage transaction metrics, response codes and client diagnostics. This directly checks the uncertain behavior or control before changing production. Operational monitoring must include service request errors, latency and availability, not just capacity. The resulting targeted action is: Configure storage request/error monitoring with service-specific thresholds.
Incorrect Answers
A:Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. This would address a different situation, such as: A production VM experiences OOM kills while CPU remains normal and default platform graphs show no guest memory usage. In the present case, the most directly relevant evidence is: Review Azure Monitor Storage transaction metrics, response codes and client diagnostics. The crucial distinction is: Operational monitoring must include service request errors, latency and availability, not just capacity.
C:Inspect Azure Network Watcher/Monitor network metrics, connection monitoring and path diagnostics. This would address a different situation, such as: Intermittent API failures occur across a private network, but monitoring uses only application exception counts. In the present case, the most directly relevant evidence is: Review Azure Monitor Storage transaction metrics, response codes and client diagnostics. The crucial distinction is: Operational monitoring must include service request errors, latency and availability, not just capacity.
D: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: Review Azure Monitor Storage transaction metrics, response codes and client diagnostics. The crucial distinction is: Operational monitoring must include service request errors, latency and availability, not just capacity.
Question 273
After implementing the change, the team verifies: A production release references an unversioned shared secret and breaks when a different team rotates it mid-deployment. Which result would BEST demonstrate that the issue is corrected?
- A rotation rehearsal preserves authorization and active service availability.
- An in-flight checkout completes during a controlled target replacement.
- A faulty canary triggers rollback while most production traffic remains on healthy pods.
- A later tag overwrite cannot change the image selected for this release.
Explanation
Correct Answer
A:A rotation rehearsal preserves authorization and active service availability. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use governed secret reference/rotation patterns with staged compatibility testing. Secret deployment should coordinate version lifecycle and client refresh behavior.
Incorrect Answers
B:An in-flight checkout completes during a controlled target replacement. This would address a different situation, such as: A deployment removes an application instance while it has open customer sessions, causing dropped purchases. In the present case, the most directly relevant verification is: A rotation rehearsal preserves authorization and active service availability. The crucial distinction is: Secret deployment should coordinate version lifecycle and client refresh behavior.
C:A faulty canary triggers rollback while most production traffic remains on healthy pods. This would address a different situation, such as: A new AKS container image may affect payments, but the team wants to limit customer exposure during rollout. In the present case, the most directly relevant verification is: A rotation rehearsal preserves authorization and active service availability. The crucial distinction is: Secret deployment should coordinate version lifecycle and client refresh behavior.
D:A later tag overwrite cannot change the image selected for this release. This would address a different situation, such as: A release manifest references an ACR latest tag that was replaced after QA approval. In the present case, the most directly relevant verification is: A rotation rehearsal preserves authorization and active service availability. The crucial distinction is: Secret deployment should coordinate version lifecycle and client refresh behavior.
Question 274
The DevOps team must resolve this situation: Security findings in Azure DevOps repositories never appear in the organization's central Defender for Cloud dashboard. Which engineering action is MOST appropriate?
- Enable supported secret, dependency and code scanning for target Azure Repos repositories.
- Use risk-based triage with owners, remediation SLAs and documented waivers.
- Enable authorized secret scanning and push protection, then rotate exposed credentials.
- Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security.
Explanation
Correct Answer
D:Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A sample repository finding is visible to authorized central security analysts. DevOps security posture can be integrated into centralized cloud risk monitoring.
Incorrect Answers
A:Enable supported secret, dependency and code scanning for target Azure Repos repositories. This would address a different situation, such as: An Azure Repos project has GitHub Advanced Security licensed but required code and secret scanning were never enabled for key repos. In the present case, the most directly relevant engineering action is: Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.
B: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: Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.
C:Enable authorized secret scanning and push protection, then rotate exposed credentials. This would address a different situation, such as: A developer accidentally commits a cloud token, but the repository has no automated alerting on leaked credentials. In the present case, the most directly relevant engineering action is: Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.
Question 275
Before changing the pipeline or service, engineers find: Application requests and dependency spans share an operation ID but engineers compare two unrelated totals instead of correlating affected calls. Which evidence should the engineer inspect FIRST?
- Inspect Heartbeat records, ingestion timestamps, agent status and alert behavior.
- Inspect requests, dependencies, operation_Id values and time range.
- Compare application failures, deployment annotations, version IDs and request telemetry.
- Inspect sign-in records, principal IDs, resource IDs, times and failure causes.
Explanation
Correct Answer
B:Inspect requests, dependencies, operation_Id values and time range. This directly checks the uncertain behavior or control before changing production. Correlated tracing requires joining telemetry using compatible operation identifiers. The resulting targeted action is: Join relevant telemetry tables by operation identifiers to isolate failed dependency calls.
Incorrect Answers
A:Inspect Heartbeat records, ingestion timestamps, agent status and alert behavior. This would address a different situation, such as: A VM's monitoring dashboard reports no errors because its telemetry agent stopped sending data three days ago. In the present case, the most directly relevant evidence is: Inspect requests, dependencies, operation_Id values and time range. The crucial distinction is: Correlated tracing requires joining telemetry using compatible operation identifiers.
C:Compare application failures, deployment annotations, version IDs and request telemetry. This would address a different situation, such as: A new release increases HTTP 500s, but the team cannot match failures to deployment timestamps. In the present case, the most directly relevant evidence is: Inspect requests, dependencies, operation_Id values and time range. The crucial distinction is: Correlated tracing requires joining telemetry using compatible operation identifiers.
D:Inspect sign-in records, principal IDs, resource IDs, times and failure causes. This would address a different situation, such as: Azure resource logs show unusual production service principal sign-ins, but a dashboard aggregates all identities together. In the present case, the most directly relevant evidence is: Inspect requests, dependencies, operation_Id values and time range. The crucial distinction is: Correlated tracing requires joining telemetry using compatible operation identifiers.
Question 276
The DevOps team must resolve this situation: A legacy classic Azure Release pipeline hides deployment steps in the UI and new teams cannot peer-review changes. Which engineering action is MOST appropriate?
- Right-size authorized agent capacity and prioritize critical release jobs.
- Migrate release steps to reviewed YAML with protected environment checks and verified parity.
- Pin or govern the consumed artifact to the approved pipeline run and branch.
- Configure differentiated retention for required pipelines and audit artifacts.
Explanation
Correct Answer
B:Migrate release steps to reviewed YAML with protected environment checks and verified parity. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An equivalent deployment passes all required approval and functional checks after migration. Moving deployment logic to versioned YAML can improve consistency and review.
Incorrect Answers
A:Right-size authorized agent capacity and prioritize critical release jobs. This would address a different situation, such as: A pipeline runs quickly on an agent but waits 70 minutes in queue due to a limited self-hosted pool. In the present case, the most directly relevant engineering action is: Migrate release steps to reviewed YAML with protected environment checks and verified parity. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
C:Pin or govern the consumed artifact to the approved pipeline run and branch. This would address a different situation, such as: A production stage sometimes downloads an artifact from a different branch due to an ambiguous pipeline resource definition. In the present case, the most directly relevant engineering action is: Migrate release steps to reviewed YAML with protected environment checks and verified parity. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
D:Configure differentiated retention for required pipelines and audit artifacts. This would address a different situation, such as: An organization deletes pipeline logs within a day even though deployment approvals must be auditable for a year. In the present case, the most directly relevant engineering action is: Migrate release steps to reviewed YAML with protected environment checks and verified parity. The crucial distinction is: Moving deployment logic to versioned YAML can improve consistency and review.
Question 277
Before changing the pipeline or service, engineers find: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. Which evidence should the engineer inspect FIRST?
- Review parent features, dependency links, delivery plans and blocked work items.
- Inspect production incident links, bug work items, affected commits and test case mappings.
- Review workflow run identities, issue references, failure events and notification rules.
- Compare support messages, GitHub Issues labels, assignees and issue closure history.
Explanation
Correct Answer
A:Review parent features, dependency links, delivery plans and blocked work items. This directly checks the uncertain behavior or control before changing production. Shared delivery dependencies must be visible across team backlogs with responsible ownership. The resulting targeted action is: Link dependent work items across teams and use delivery plans to visualize blockers.
Incorrect Answers
B: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: Review parent features, dependency links, delivery plans and blocked work items. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
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: Review parent features, dependency links, delivery plans and blocked work items. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
D: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: Review parent features, dependency links, delivery plans and blocked work items. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.
Question 278
A Microsoft DevOps team is addressing: Hundreds of low-severity dependency alerts crowd out a critical exploitable issue in production. Which TWO complementary actions should be taken? Select TWO answers.
- Inspect workflow PR permissions, required checks and protected branch policy.
- Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security.
- Inspect alert severity, exploitability, exposure, service criticality and exceptions.
- Use risk-based triage with owners, remediation SLAs and documented waivers.
- Add software composition/license policy checks and reviewed exceptions to CI.
Explanation
Correct Answers
C:Inspect alert severity, exploitability, exposure, service criticality and exceptions. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use risk-based triage with owners, remediation SLAs and documented waivers. Together they address: Security scanning should prioritize relevant risk and accountable remediation.
D:Use risk-based triage with owners, remediation SLAs and documented waivers. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect alert severity, exploitability, exposure, service criticality and exceptions. Together they address: Security scanning should prioritize relevant risk and accountable remediation.
Incorrect Answers
A:Inspect workflow PR permissions, required checks and protected branch policy. This concerns a different DevOps situation: An untrusted pull request can modify the secret-scanning workflow and disable scanning in its own run. This case instead requires both a targeted investigation (Inspect alert severity, exploitability, exposure, service criticality and exceptions.) and a controlled change (Use risk-based triage with owners, remediation SLAs and documented waivers.).
B:Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. This concerns a different DevOps situation: Security findings in Azure DevOps repositories never appear in the organization's central Defender for Cloud dashboard. This case instead requires both a targeted investigation (Inspect alert severity, exploitability, exposure, service criticality and exceptions.) and a controlled change (Use risk-based triage with owners, remediation SLAs and documented waivers.).
E:Add software composition/license policy checks and reviewed exceptions to CI. This concerns a different DevOps situation: A binary distribution uses open-source dependencies but its release process does not check license obligations. This case instead requires both a targeted investigation (Inspect alert severity, exploitability, exposure, service criticality and exceptions.) and a controlled change (Use risk-based triage with owners, remediation SLAs and documented waivers.).
Question 279
Before changing the pipeline or service, engineers find: An archived security-sensitive repository remains writable by former project members and receives unreviewed commits. Which evidence should the engineer inspect FIRST?
- Inspect superproject gitlinks, submodule branch settings and build input records.
- Review code duplication, package provenance, semver constraints and release history.
- Inspect archive settings, organization memberships, permissions and recent pushes.
- Inspect file types, object sizes, clone profiles and LFS availability.
Explanation
Correct Answer
C:Inspect archive settings, organization memberships, permissions and recent pushes. This directly checks the uncertain behavior or control before changing production. Repository lifecycle controls should remove stale rights and enforce appropriate archival state. The resulting targeted action is: Archive the repository or lock write access with audited exception handling.
Incorrect Answers
A:Inspect superproject gitlinks, submodule branch settings and build input records. This would address a different situation, such as: A build references a Git submodule by moving branch and occasionally acquires incompatible dependency changes. In the present case, the most directly relevant evidence is: Inspect archive settings, organization memberships, permissions and recent pushes. The crucial distinction is: Repository lifecycle controls should remove stale rights and enforce appropriate archival state.
B:Review code duplication, package provenance, semver constraints and release history. This would address a different situation, such as: Two separate repositories copy and edit a common authentication library independently, producing inconsistent fixes. In the present case, the most directly relevant evidence is: Inspect archive settings, organization memberships, permissions and recent pushes. The crucial distinction is: Repository lifecycle controls should remove stale rights and enforce appropriate archival state.
D:Inspect file types, object sizes, clone profiles and LFS availability. 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 evidence is: Inspect archive settings, organization memberships, permissions and recent pushes. The crucial distinction is: Repository lifecycle controls should remove stale rights and enforce appropriate archival state.
Question 280
A Microsoft DevOps team is addressing: A new release increases HTTP 500s, but the team cannot match failures to deployment timestamps. Which TWO complementary actions should be taken? Select TWO answers.
- Build KQL queries with identity dimensions and appropriate anomaly thresholds.
- Inspect request duration distribution, service cohorts, and p95/p99 KQL queries.
- Compare application failures, deployment annotations, version IDs and request telemetry.
- Inspect customDimensions, timestamp, role name and exception records.
- Add release annotations and traceable version properties to Application Insights.
Explanation
Correct Answers
C:Compare application failures, deployment annotations, version IDs and request telemetry. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Add release annotations and traceable version properties to Application Insights. Together they address: Operational telemetry should correlate errors with release markers and change events.
E:Add release annotations and traceable version properties to Application Insights. This supplies the controlled implementation needed for the scenario. Its complementary step is: Compare application failures, deployment annotations, version IDs and request telemetry. Together they address: Operational telemetry should correlate errors with release markers and change events.
Incorrect Answers
A:Build KQL queries with identity dimensions and appropriate anomaly thresholds. This concerns a different DevOps situation: Azure resource logs show unusual production service principal sign-ins, but a dashboard aggregates all identities together. This case instead requires both a targeted investigation (Compare application failures, deployment annotations, version IDs and request telemetry.) and a controlled change (Add release annotations and traceable version properties to Application Insights.).
B:Inspect request duration distribution, service cohorts, and p95/p99 KQL queries. This concerns a different DevOps situation: An API dashboard shows acceptable average response time even though the slowest 5% of requests exceed the customer SLA. This case instead requires both a targeted investigation (Compare application failures, deployment annotations, version IDs and request telemetry.) and a controlled change (Add release annotations and traceable version properties to Application Insights.).
D:Inspect customDimensions, timestamp, role name and exception records. This concerns a different DevOps situation: A Log Analytics workspace stores application exceptions, but engineers cannot identify which deployment revision triggered a spike. This case instead requires both a targeted investigation (Compare application failures, deployment annotations, version IDs and request telemetry.) and a controlled change (Add release annotations and traceable version properties to Application Insights.).