Microsoft AZ-400 Practice Test 44
Question 430
A Microsoft DevOps team is addressing: An operations dashboard reports recovery time ending when a VM restarts, although customer transactions remain unavailable. Which TWO complementary actions should be taken? Select TWO answers.
- Review pipeline test publications, excluded suites, flaky test logs and quality thresholds.
- Review service classifications, deployment events, reliability targets and cohort selection.
- Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence.
- Define recovery completion using service-level restoration and compute the metric accordingly.
- Review incident start, synthetic transaction recovery, customer impact and closure events.
Explanation
Correct Answers
D:Define recovery completion using service-level restoration and compute the metric accordingly. This supplies the controlled implementation needed for the scenario. Its complementary step is: Review incident start, synthetic transaction recovery, customer impact and closure events. Together they address: Time to restore service should reflect verified business-service recovery.
E:Review incident start, synthetic transaction recovery, customer impact and closure events. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Define recovery completion using service-level restoration and compute the metric accordingly. Together they address: Time to restore service should reflect verified business-service recovery.
Incorrect Answers
A:Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. This concerns a different DevOps situation: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. This case instead requires both a targeted investigation (Review incident start, synthetic transaction recovery, customer impact and closure events.) and a controlled change (Define recovery completion using service-level restoration and compute the metric accordingly.).
B:Review service classifications, deployment events, reliability targets and cohort selection. This concerns a different DevOps situation: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. This case instead requires both a targeted investigation (Review incident start, synthetic transaction recovery, customer impact and closure events.) and a controlled change (Define recovery completion using service-level restoration and compute the metric accordingly.).
C:Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence. This concerns a different DevOps situation: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. This case instead requires both a targeted investigation (Review incident start, synthetic transaction recovery, customer impact and closure events.) and a controlled change (Define recovery completion using service-level restoration and compute the metric accordingly.).
Question 431
A Microsoft DevOps team is addressing: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. Which TWO complementary actions should be taken? Select TWO answers.
- Grant read, publish and administration only to the appropriate separate identities.
- Inspect artifact store versioning, write policy, source SHA and release logs.
- Inspect delivery channels, artifact checksums, user installs and release approvals.
- Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.
- Authorize the consuming repository and assign minimum packages:read access.
Explanation
Correct Answers
C:Inspect delivery channels, artifact checksums, user installs and release approvals. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access. Together they address: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
D:Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect delivery channels, artifact checksums, user installs and release approvals. Together they address: Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
Incorrect Answers
A:Grant read, publish and administration only to the appropriate separate identities. This concerns a different DevOps situation: Every developer can delete the versions of a private production library that other teams depend on. This case instead requires both a targeted investigation (Inspect delivery channels, artifact checksums, user installs and release approvals.) and a controlled change (Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.).
B:Inspect artifact store versioning, write policy, source SHA and release logs. This concerns a different DevOps situation: A build pipeline uploads a ZIP under a stable filename and a later build overwrites it before deployment. This case instead requires both a targeted investigation (Inspect delivery channels, artifact checksums, user installs and release approvals.) and a controlled change (Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.).
E:Authorize the consuming repository and assign minimum packages:read access. This concerns a different DevOps situation: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. This case instead requires both a targeted investigation (Inspect delivery channels, artifact checksums, user installs and release approvals.) and a controlled change (Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.).
Question 432
The DevOps team must resolve this situation: Each team's pipeline provisions Azure Container Apps independently, with inconsistent health probes and identity. Which engineering action is MOST appropriate?
- Run governed drift detection and reconcile approved changes through IaC.
- Publish approved reusable templates with governed versioning and service-specific parameters.
- Use secured remote state with least-privilege identity and locking support.
- Require reviewed what-if output and controlled data-preserving migration before deployment.
Explanation
Correct Answer
B:Publish approved reusable templates with governed versioning and service-specific parameters. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test service deployment inherits baseline health and identity configuration. Infrastructure templates should codify consistent application platform controls.
Incorrect Answers
A:Run governed drift detection and reconcile approved changes through IaC. This would address a different situation, such as: Operators modify a production firewall directly, but the Terraform plan assumes its prior values remain in place. In the present case, the most directly relevant engineering action is: Publish approved reusable templates with governed versioning and service-specific parameters. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
C:Use secured remote state with least-privilege identity and locking support. This would address a different situation, such as: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. In the present case, the most directly relevant engineering action is: Publish approved reusable templates with governed versioning and service-specific parameters. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
D:Require reviewed what-if output and controlled data-preserving migration before deployment. 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 engineering action is: Publish approved reusable templates with governed versioning and service-specific parameters. The crucial distinction is: Infrastructure templates should codify consistent application platform controls.
Question 433
The DevOps team must resolve this situation: A GitHub Actions test workflow with untrusted input has contents:write even though it only runs tests. Which engineering action is MOST appropriate?
- Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution.
- Use a GitHub App with minimal repository permissions for the workflow.
- Enable system-assigned managed identity and grant narrow storage data-plane roles.
- Attach an approved user-assigned managed identity to the participating compute resources.
Explanation
Correct Answer
A:Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test job cannot push code while an authorized publishing job retains needed access. Workflow tokens should default to read-only and be elevated only where necessary.
Incorrect Answers
B:Use a GitHub App with minimal repository permissions for the workflow. 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 engineering action is: Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution. The crucial distinction is: Workflow tokens should default to read-only and be elevated only where necessary.
C:Enable system-assigned managed identity and grant narrow storage data-plane roles. 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 engineering action is: Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution. The crucial distinction is: Workflow tokens should default to read-only and be elevated only where necessary.
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: Set minimum GITHUB_TOKEN permissions for each job and restrict untrusted execution. The crucial distinction is: Workflow tokens should default to read-only and be elevated only where necessary.
Question 434
After implementing the change, the team verifies: A product manager needs to view Azure Boards and submit work items but is given full build administration permissions. Which result would BEST demonstrate that the issue is corrected?
- The app accesses its authorized container after the account key is revoked.
- A test job cannot push code while an authorized publishing job retains needed access.
- A replacement instance uses the same authorized identity without sharing passwords.
- The manager can create permitted work items but cannot change release environments.
Explanation
Correct Answer
D:The manager can create permitted work items but cannot change release environments. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use suitable Stakeholder access and restrict code/pipeline administration. Azure DevOps access levels and security groups should reflect actual job duties.
Incorrect Answers
A:The app accesses its authorized container after the account key is revoked. 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 verification is: The manager can create permitted work items but cannot change release environments. The crucial distinction is: Azure DevOps access levels and security groups should reflect actual job duties.
B:A test job cannot push code while an authorized publishing job retains needed access. 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 verification is: The manager can create permitted work items but cannot change release environments. The crucial distinction is: Azure DevOps access levels and security groups should reflect actual job duties.
C:A replacement instance uses the same authorized identity without sharing passwords. 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 verification is: The manager can create permitted work items but cannot change release environments. The crucial distinction is: Azure DevOps access levels and security groups should reflect actual job duties.
Question 435
Before changing the pipeline or service, engineers find: A pipeline publishes Python wheels from a feed after an advisory identifies a vulnerable indirect dependency. Which evidence should the engineer inspect FIRST?
- Inspect dependency resolution reports, advisory scope, wheel metadata and test outcomes.
- Inspect artifact store versioning, write policy, source SHA and release logs.
- Inspect feed view membership, promotion permissions, consumer package sources and versions.
- Inspect build timestamps, package versions, artifact digests and update metadata.
Explanation
Correct Answer
A:Inspect dependency resolution reports, advisory scope, wheel metadata and test outcomes. This directly checks the uncertain behavior or control before changing production. Dependency governance needs timely security updates while preserving compatibility testing. The resulting targeted action is: Update to an approved secure dependency version and rerun integration and compatibility checks.
Incorrect Answers
B:Inspect artifact store versioning, write policy, source SHA and release logs. This would address a different situation, such as: A build pipeline uploads a ZIP under a stable filename and a later build overwrites it before deployment. In the present case, the most directly relevant evidence is: Inspect dependency resolution reports, advisory scope, wheel metadata and test outcomes. The crucial distinction is: Dependency governance needs timely security updates while preserving compatibility testing.
C: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 dependency resolution reports, advisory scope, wheel metadata and test outcomes. The crucial distinction is: Dependency governance needs timely security updates while preserving compatibility testing.
D:Inspect build timestamps, package versions, artifact digests and update metadata. 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 evidence is: Inspect dependency resolution reports, advisory scope, wheel metadata and test outcomes. The crucial distinction is: Dependency governance needs timely security updates while preserving compatibility testing.
Question 436
Before changing the pipeline or service, engineers find: The same Git commit restores different NuGet package versions one week apart and intermittently fails tests. Which evidence should the engineer inspect FIRST?
- Inspect ACR manifests, tag mutation rights, deployment records and source mapping.
- Inspect source run IDs, artifact digests, release manifests and download task inputs.
- Compare project version ranges, lockfiles, feed updates and restore output.
- Inspect package visibility, repository grant, GITHUB_TOKEN permissions and workflow context.
Explanation
Correct Answer
C:Compare project version ranges, lockfiles, feed updates and restore output. This directly checks the uncertain behavior or control before changing production. Reproducible builds require controlled package versions and lockfile inputs. The resulting targeted action is: Pin approved package ranges with lockfiles and deterministic restore settings.
Incorrect Answers
A: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: Compare project version ranges, lockfiles, feed updates and restore output. The crucial distinction is: Reproducible builds require controlled package versions and lockfile inputs.
B:Inspect source run IDs, artifact digests, release manifests and download task inputs. This would address a different situation, such as: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. In the present case, the most directly relevant evidence is: Compare project version ranges, lockfiles, feed updates and restore output. The crucial distinction is: Reproducible builds require controlled package versions and lockfile inputs.
D:Inspect package visibility, repository grant, GITHUB_TOKEN permissions and workflow context. This would address a different situation, such as: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. In the present case, the most directly relevant evidence is: Compare project version ranges, lockfiles, feed updates and restore output. The crucial distinction is: Reproducible builds require controlled package versions and lockfile inputs.
Question 437
Before changing the pipeline or service, engineers find: Verbose diagnostic logging starts printing deployment tokens after a new task version update. Which evidence should the engineer inspect FIRST?
- Inspect output variables, task logs, masking controls and newly added debug flags.
- Review cache key configuration, lockfile hash, package restore logs and unexpected results.
- Review queue latency, pool capacity, concurrent jobs and utilization.
- Inspect run timelines, environment approval events and task durations.
Explanation
Correct Answer
A:Inspect output variables, task logs, masking controls and newly added debug flags. This directly checks the uncertain behavior or control before changing production. Pipeline monitoring must detect credential disclosure while retaining useful logs. The resulting targeted action is: Remove token emission and enforce safe logging with secret scanning of pipeline output.
Incorrect Answers
B:Review cache key configuration, lockfile hash, package restore logs and unexpected results. This would address a different situation, such as: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. In the present case, the most directly relevant evidence is: Inspect output variables, task logs, masking controls and newly added debug flags. The crucial distinction is: Pipeline monitoring must detect credential disclosure while retaining useful logs.
C:Review queue latency, pool capacity, concurrent jobs and utilization. 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 evidence is: Inspect output variables, task logs, masking controls and newly added debug flags. The crucial distinction is: Pipeline monitoring must detect credential disclosure while retaining useful logs.
D:Inspect run timelines, environment approval events and task durations. This would address a different situation, such as: An approval gate makes a release appear to take two hours, but actual deployment work takes five minutes. In the present case, the most directly relevant evidence is: Inspect output variables, task logs, masking controls and newly added debug flags. The crucial distinction is: Pipeline monitoring must detect credential disclosure while retaining useful logs.
Question 438
The DevOps team must resolve this situation: An API dashboard shows acceptable average response time even though the slowest 5% of requests exceed the customer SLA. Which engineering action is MOST appropriate?
- Remediate the verified disk bottleneck and validate end-to-end service performance.
- Create a missing-heartbeat query or alert with appropriate response ownership.
- Build KQL queries with identity dimensions and appropriate anomaly thresholds.
- Measure and alert on relevant latency percentiles with suitable dimensions.
Explanation
Correct Answer
D:Measure and alert on relevant latency percentiles with suitable dimensions. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A regression affecting tail latency breaches its gate despite unchanged mean. Performance analysis should include tail latency percentiles rather than mean alone.
Incorrect Answers
A:Remediate the verified disk bottleneck and validate end-to-end service performance. This would address a different situation, such as: An application slows while CPU is low but disk I/O is saturated; operators conclude more vCPUs are needed. In the present case, the most directly relevant engineering action is: Measure and alert on relevant latency percentiles with suitable dimensions. The crucial distinction is: Performance analysis should include tail latency percentiles rather than mean alone.
B:Create a missing-heartbeat query or alert with appropriate response ownership. 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 engineering action is: Measure and alert on relevant latency percentiles with suitable dimensions. The crucial distinction is: Performance analysis should include tail latency percentiles rather than mean alone.
C:Build KQL queries with identity dimensions and appropriate anomaly thresholds. 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 engineering action is: Measure and alert on relevant latency percentiles with suitable dimensions. The crucial distinction is: Performance analysis should include tail latency percentiles rather than mean alone.
Question 439
An Azure DevOps engineering team evaluates this condition: An application slows while CPU is low but disk I/O is saturated; operators conclude more vCPUs are needed. Which DevOps principle BEST explains the underlying weakness?
- Missing data must not be interpreted as proof of a healthy resource.
- Performance analysis should include tail latency percentiles rather than mean alone.
- Correlated tracing requires joining telemetry using compatible operation identifiers.
- Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network.
Explanation
Correct Answer
D:Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect disk queue/latency, CPU utilization, memory pressure and workload profile. An appropriate controlled response is: Remediate the verified disk bottleneck and validate end-to-end service performance.
Incorrect Answers
A:Missing data must not be interpreted as proof of a healthy resource. 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 principle is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network. The crucial distinction is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network.
B:Performance analysis should include tail latency percentiles rather than mean alone. This would address a different situation, such as: An API dashboard shows acceptable average response time even though the slowest 5% of requests exceed the customer SLA. In the present case, the most directly relevant principle is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network. The crucial distinction is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network.
C:Correlated tracing requires joining telemetry using compatible operation identifiers. This would address a different situation, such as: Application requests and dependency spans share an operation ID but engineers compare two unrelated totals instead of correlating affected calls. In the present case, the most directly relevant principle is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network. The crucial distinction is: Performance diagnoses must compare the actual constrained resource across CPU, memory, disk and network.
Question 440
An Azure DevOps engineering team evaluates this condition: A web application must deploy without interruption, but direct production updates restart every active instance. Which DevOps principle BEST explains the underlying weakness?
- Deployment slots support staged verification and controlled production swaps where supported.
- Blue-green rollout must preserve shared database compatibility during transition.
- Targeting filters can control feature exposure by cohort or percentage.
- Rolling update policies should preserve minimum ready capacity during replacement.
Explanation
Correct Answer
A:Deployment slots support staged verification and controlled production swaps where supported. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect slot configuration, sticky settings, warmup endpoints and swap history. An appropriate controlled response is: Deploy the candidate to a staging slot, validate health, then perform a controlled swap.
Incorrect Answers
B:Blue-green rollout must preserve shared database compatibility during transition. This would address a different situation, such as: An App Service slot swap puts new code online while old instances still write to a shared Azure SQL schema. In the present case, the most directly relevant principle is: Deployment slots support staged verification and controlled production swaps where supported. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.
C:Targeting filters can control feature exposure by cohort or percentage. This would address a different situation, such as: A retailer wants to expose a new checkout feature to 5% of customers but its current flag is on or off for everyone. In the present case, the most directly relevant principle is: Deployment slots support staged verification and controlled production swaps where supported. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.
D:Rolling update policies should preserve minimum ready capacity during replacement. This would address a different situation, such as: An AKS update removes every API pod simultaneously because maxUnavailable equals the full replica count. In the present case, the most directly relevant principle is: Deployment slots support staged verification and controlled production swaps where supported. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.