Microsoft AZ-400 Practice Test 69
Question 680
Before changing the pipeline or service, engineers find: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. Which evidence should the engineer inspect FIRST?
- Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.
- Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration.
- Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics.
- Inspect GitHub Actions run history, job timing, failure causes and usage trends.
Explanation
Correct Answer
A:Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. This directly checks the uncertain behavior or control before changing production. Operational monitoring should route significant pipeline failures to accountable responders. The resulting targeted action is: Configure monitored failure notifications and an actionable operations escalation path.
Incorrect Answers
B:Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration. This would address a different situation, such as: A shopping application logs HTTP failures but does not show which downstream payment call caused the response delay. In the present case, the most directly relevant evidence is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
C:Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. This would address a different situation, such as: A VM sends no logs to Log Analytics because its Azure Monitor Agent data collection rule targets another resource group. In the present case, the most directly relevant evidence is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
D:Inspect GitHub Actions run history, job timing, failure causes and usage trends. This would address a different situation, such as: A GitHub project has rising CI failures, but maintainers monitor only total completed workflow counts. In the present case, the most directly relevant evidence is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
Question 681
Before changing the pipeline or service, engineers find: Two user interface variants are shown, but the team changes both pricing logic and checkout latency simultaneously and cannot attribute outcomes. Which evidence should the engineer inspect FIRST?
- Inspect load balancer deregistration delay, pod termination and request lifetimes.
- Inspect slot settings, storage connection strings, function enablement and queue ownership.
- Inspect targeting rules, conversion events, experiment durations and uncontrolled changes.
- Inspect schema migration history, transaction boundaries, retry logs and object existence.
Explanation
Correct Answer
C:Inspect targeting rules, conversion events, experiment durations and uncontrolled changes. This directly checks the uncertain behavior or control before changing production. A/B evaluations require stable cohorts and measurable objective-specific differences. The resulting targeted action is: Isolate the tested change and instrument comparable outcome metrics across randomized cohorts.
Incorrect Answers
A:Inspect load balancer deregistration delay, pod termination and request lifetimes. 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 evidence is: Inspect targeting rules, conversion events, experiment durations and uncontrolled changes. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.
B:Inspect slot settings, storage connection strings, function enablement and queue ownership. This would address a different situation, such as: An Azure Functions staging slot unexpectedly processes production queue messages before its swap because a trigger configuration was not isolated. In the present case, the most directly relevant evidence is: Inspect targeting rules, conversion events, experiment durations and uncontrolled changes. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.
D:Inspect schema migration history, transaction boundaries, retry logs and object existence. This would address a different situation, such as: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. In the present case, the most directly relevant evidence is: Inspect targeting rules, conversion events, experiment durations and uncontrolled changes. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.
Question 682
Before changing the pipeline or service, engineers find: An AKS Helm upgrade fails after rendering a misconfigured resource, leaving pods partially updated. Which evidence should the engineer inspect FIRST?
- Inspect slot configuration, sticky settings, warmup endpoints and swap history.
- Inspect Helm release history, rendered manifests, readiness probes and errors.
- Inspect Key Vault references, version transitions, rotation timing and runtime caches.
- Inspect incident severity, release branch plan, mandatory checks and approver availability.
Explanation
Correct Answer
B:Inspect Helm release history, rendered manifests, readiness probes and errors. This directly checks the uncertain behavior or control before changing production. Helm release operations need validated charts and controlled rollback behavior. The resulting targeted action is: Use chart lint/templates, guarded upgrade behavior and supported rollback to a tested revision.
Incorrect Answers
A:Inspect slot configuration, sticky settings, warmup endpoints and swap history. This would address a different situation, such as: A web application must deploy without interruption, but direct production updates restart every active instance. In the present case, the most directly relevant evidence is: Inspect Helm release history, rendered manifests, readiness probes and errors. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.
C:Inspect Key Vault references, version transitions, rotation timing and runtime caches. This would address a different situation, such as: A production release references an unversioned shared secret and breaks when a different team rotates it mid-deployment. In the present case, the most directly relevant evidence is: Inspect Helm release history, rendered manifests, readiness probes and errors. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.
D:Inspect incident severity, release branch plan, mandatory checks and approver availability. 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 evidence is: Inspect Helm release history, rendered manifests, readiness probes and errors. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.
Question 683
Before changing the pipeline or service, engineers find: A deployment downloads a private configuration file from a public blob URL before replacing placeholders. Which evidence should the engineer inspect FIRST?
- Inspect blob access, SAS lifetime, logs and secret-bearing file handling.
- Review workflow job ordering, environment references, OIDC identity claims and Azure role scope.
- Inspect Key Vault version stages, runtime cache, rotation timeline and access policy.
- Review certificate exposure, pipeline YAML, secure-file permissions and task usage.
Explanation
Correct Answer
A:Inspect blob access, SAS lifetime, logs and secret-bearing file handling. This directly checks the uncertain behavior or control before changing production. Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. The resulting targeted action is: Use restricted secure file or private storage access with controlled cleanup.
Incorrect Answers
B:Review workflow job ordering, environment references, OIDC identity claims and Azure role scope. This would address a different situation, such as: A GitHub environment is protected, but the deployment job obtains Azure credentials in an earlier unprotected build step. In the present case, the most directly relevant evidence is: Inspect blob access, SAS lifetime, logs and secret-bearing file handling. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
C:Inspect Key Vault version stages, runtime cache, rotation timeline and access policy. 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 evidence is: Inspect blob access, SAS lifetime, logs and secret-bearing file handling. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
D:Review certificate exposure, pipeline YAML, secure-file permissions and task usage. This would address a different situation, such as: A mobile signing certificate is embedded as Base64 directly in a public pipeline YAML file. In the present case, the most directly relevant evidence is: Inspect blob access, SAS lifetime, logs and secret-bearing file handling. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
Question 684
The DevOps team must resolve this situation: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. Which engineering action is MOST appropriate?
- Build service-segmented queries and complementary stability metrics.
- Define and enforce meaningful Active and Done transitions in the team's process.
- Build aging and SLA queries for critical findings with owner and disposition fields.
- Publish excluded and flaky test counts with test trends and actionable owner assignments.
Explanation
Correct Answer
B:Define and enforce meaningful Active and Done transitions in the team's process. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Sample completed stories show realistic cycle times that match actual engineering work. Flow metrics depend on consistent state-transition definitions and truthful process data.
Incorrect Answers
A:Build service-segmented queries and complementary stability metrics. This would address a different situation, such as: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. In the present case, the most directly relevant engineering action is: Define and enforce meaningful Active and Done transitions in the team's process. The crucial distinction is: Flow metrics depend on consistent state-transition definitions and truthful process data.
C:Build aging and SLA queries for critical findings with owner and disposition fields. This would address a different situation, such as: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. In the present case, the most directly relevant engineering action is: Define and enforce meaningful Active and Done transitions in the team's process. The crucial distinction is: Flow metrics depend on consistent state-transition definitions and truthful process data.
D:Publish excluded and flaky test counts with test trends and actionable owner assignments. 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 engineering action is: Define and enforce meaningful Active and Done transitions in the team's process. The crucial distinction is: Flow metrics depend on consistent state-transition definitions and truthful process data.
Question 685
The DevOps team must resolve this situation: An internal library ships monthly but its changelog omits breaking changes unless one maintainer remembers to edit it. Which engineering action is MOST appropriate?
- Route deployment and failure events to the approved Microsoft Teams operations channel.
- Configure the authorized Azure Boards-GitHub integration and linking conventions.
- Maintain a reviewed Mermaid diagram generated or updated alongside pipeline changes.
- Generate draft release notes from structured commits and require review of breaking changes.
Explanation
Correct Answer
D:Generate draft release notes from structured commits and require review of breaking changes. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test breaking change appears in reviewed notes before publishing the library. Release documentation should reconcile source changes with versioning and consumer impact.
Incorrect Answers
A:Route deployment and failure events to the approved Microsoft Teams operations channel. 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 engineering action is: Generate draft release notes from structured commits and require review of breaking changes. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.
B:Configure the authorized Azure Boards-GitHub integration and linking conventions. 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 engineering action is: Generate draft release notes from structured commits and require review of breaking changes. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.
C:Maintain a reviewed Mermaid diagram generated or updated alongside pipeline changes. 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 engineering action is: Generate draft release notes from structured commits and require review of breaking changes. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.
Question 686
Before changing the pipeline or service, engineers find: A release adds a non-null column while old and new application versions temporarily operate together. Which evidence should the engineer inspect FIRST?
- Inspect schema migration scripts, live app versions, default values and rollback plans.
- Inspect coverage details, assertions, mutation results and test cases.
- Inspect task arguments, secret masking, logs, scope and token issuance.
- Inspect YAML dependsOn, resource approvals, migration job outcomes and test order.
Explanation
Correct Answer
A:Inspect schema migration scripts, live app versions, default values and rollback plans. This directly checks the uncertain behavior or control before changing production. Database deployment tests should validate backward compatibility throughout rollout. The resulting targeted action is: Test expand-and-contract schema changes against concurrent old and new application instances.
Incorrect Answers
B:Inspect coverage details, assertions, mutation results and test cases. 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 evidence is: Inspect schema migration scripts, live app versions, default values and rollback plans. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
C:Inspect task arguments, secret masking, logs, scope and token issuance. This would address a different situation, such as: A test task writes its service principal secret into verbose logs on every failing run. In the present case, the most directly relevant evidence is: Inspect schema migration scripts, live app versions, default values and rollback plans. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
D:Inspect YAML dependsOn, resource approvals, migration job outcomes and test order. 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 evidence is: Inspect schema migration scripts, live app versions, default values and rollback plans. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
Question 687
An Azure DevOps engineering team evaluates this condition: A deployment downloads a private configuration file from a public blob URL before replacing placeholders. Which DevOps principle BEST explains the underlying weakness?
- Certificate deployment must match required private-key access and target service configuration.
- Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
- Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
- Credential issuance should occur only after the protected environment gate and trust checks.
Explanation
Correct Answer
B:Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect blob access, SAS lifetime, logs and secret-bearing file handling. An appropriate controlled response is: Use restricted secure file or private storage access with controlled cleanup.
Incorrect Answers
A:Certificate deployment must match required private-key access and target service configuration. This would address a different situation, such as: An Azure service uses a TLS certificate uploaded to Key Vault, but the deployment copies only the public certificate without the private-key binding. In the present case, the most directly relevant principle is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
C:Pipeline secrets should be retrieved from controlled stores and kept out of source and logs. This would address a different situation, such as: A pipeline prints a database password stored in a plain YAML variable during environment deployment. In the present case, the most directly relevant principle is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
D:Credential issuance should occur only after the protected environment gate and trust checks. This would address a different situation, such as: A GitHub environment is protected, but the deployment job obtains Azure credentials in an earlier unprotected build step. In the present case, the most directly relevant principle is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. The crucial distinction is: Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
Question 688
The DevOps team must resolve this situation: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. Which engineering action is MOST appropriate?
- Remove serial bottlenecks or right-size jobs before purchasing concurrency.
- Track flaky test metrics and assign root-cause fixes rather than unconditional retries.
- Use dependency-aware cache keys and safe restore fallback behavior.
- Report approval wait separately and optimize only the relevant bottleneck.
Explanation
Correct Answer
C:Use dependency-aware cache keys and safe restore fallback behavior. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Changing the dependency lockfile triggers a new compatible cache. Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.
Incorrect Answers
A:Remove serial bottlenecks or right-size jobs before purchasing concurrency. This would address a different situation, such as: A pipeline team wants 50 more hosted agent slots even though bottlenecks are serial manual approvals and limited integration environments. In the present case, the most directly relevant engineering action is: Use dependency-aware cache keys and safe restore fallback behavior. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.
B:Track flaky test metrics and assign root-cause fixes rather than unconditional retries. This would address a different situation, such as: Pipeline duration grows because a flaky test is retried eight times but the dashboard still shows every build as green. In the present case, the most directly relevant engineering action is: Use dependency-aware cache keys and safe restore fallback behavior. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.
D:Report approval wait separately and optimize only the relevant bottleneck. 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 engineering action is: Use dependency-aware cache keys and safe restore fallback behavior. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.
Question 689
An engineering design review identifies: A platform team thinks an Azure Policy Audit effect blocks deployment of unencrypted storage, but noncompliant accounts continue being created. Which shortcut should the team MOST specifically avoid for this case?
- Assume Audit and Deny effects are interchangeable for enforcement.
- Delete the provider lockfile in every automated run.
- Disable the entire subscription policy assignment to allow one exception.
- Rely on engineers remembering to delete resources at the end of each quarter.
Explanation
Correct Answer
A:Assume Audit and Deny effects are interchangeable for enforcement. This shortcut directly undermines the stated control or workflow. A safer action is: Use a reviewed Deny policy where prevention is required and remediate existing noncompliance separately. Explanation: Policy effects differ between reporting and preventive enforcement.
Incorrect Answers
B:Delete the provider lockfile in every automated run. 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 unsafe shortcut is: Assume Audit and Deny effects are interchangeable for enforcement. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.
C:Disable the entire subscription policy assignment to allow one exception. This would address a different situation, such as: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. In the present case, the most directly relevant unsafe shortcut is: Assume Audit and Deny effects are interchangeable for enforcement. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.
D:Rely on engineers remembering to delete resources at the end of each quarter. 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 unsafe shortcut is: Assume Audit and Deny effects are interchangeable for enforcement. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.
Question 690
Before changing the pipeline or service, engineers find: Six teams manually create nearly identical VNets with inconsistent NSG defaults and missing diagnostics. Which evidence should the engineer inspect FIRST?
- Inspect existing VNet templates, module interfaces, policy results and configuration drift.
- Inspect Azure what-if operations, storage data dependency, naming constraints and resource references.
- Inspect environment provisioning logs, resource tags, TTL and cleanup policies.
- Inspect environment definitions, project catalog, role assignments and teardown process.
Explanation
Correct Answer
A:Inspect existing VNet templates, module interfaces, policy results and configuration drift. This directly checks the uncertain behavior or control before changing production. IaC modules should centralize approved reusable infrastructure patterns. The resulting targeted action is: Publish a versioned Bicep networking module with secure defaults and reviewed parameters.
Incorrect Answers
B:Inspect Azure what-if operations, storage data dependency, naming constraints and resource references. 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 evidence is: Inspect existing VNet templates, module interfaces, policy results and configuration drift. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.
C: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: Inspect existing VNet templates, module interfaces, policy results and configuration drift. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.
D:Inspect environment definitions, project catalog, role assignments and teardown process. This would address a different situation, such as: Developers need consistent temporary test environments, but each manually provisions expensive subscriptions and forgets cleanup. In the present case, the most directly relevant evidence is: Inspect existing VNet templates, module interfaces, policy results and configuration drift. The crucial distinction is: IaC modules should centralize approved reusable infrastructure patterns.