Microsoft AZ-400 Practice Test 83
Question 820
After implementing the change, the team verifies: A release adds a non-null column while old and new application versions temporarily operate together. Which result would BEST demonstrate that the issue is corrected?
- A fresh clean agent runs the same test suite with a reproducible toolchain.
- A destructive test cannot modify the protected production storage account.
- Both app versions write correctly during transition and a rollback stays feasible.
- The authorization module appears in coverage results and reduced testing is detected.
Explanation
Correct Answer
C:Both app versions write correctly during transition and a rollback stays feasible. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Test expand-and-contract schema changes against concurrent old and new application instances. Database deployment tests should validate backward compatibility throughout rollout.
Incorrect Answers
A:A fresh clean agent runs the same test suite with a reproducible toolchain. This would address a different situation, such as: An Azure Pipeline fails only on hosted agents because tests require an uninstalled legacy.NET SDK. In the present case, the most directly relevant verification is: Both app versions write correctly during transition and a rollback stays feasible. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
B:A destructive test cannot modify the protected production storage account. This would address a different situation, such as: A test pipeline reuses a production storage account and occasionally deletes customer fixtures. In the present case, the most directly relevant verification is: Both app versions write correctly during transition and a rollback stays feasible. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
D:The authorization module appears in coverage results and reduced testing is detected. This would address a different situation, such as: A team's claimed 90% code coverage includes only generated code and excludes its core authorization module. In the present case, the most directly relevant verification is: Both app versions write correctly during transition and a rollback stays feasible. The crucial distinction is: Database deployment tests should validate backward compatibility throughout rollout.
Question 821
The DevOps team must resolve this situation: A large repository launches 100 independent test jobs though the organization owns only 10 paid parallel agent slots. Which engineering action is MOST appropriate?
- Optimize test partitions and concurrency to fit approved parallel job capacity.
- Use protected secret variables or Key Vault integration and suppress credential output.
- Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.
- Include explicit succeeded dependencies in the custom promotion condition.
Explanation
Correct Answer
A:Optimize test partitions and concurrency to fit approved parallel job capacity. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test run completes faster without exceeding the owned concurrency budget. Pipeline parallelism should match resource quotas and job critical paths.
Incorrect Answers
B:Use protected secret variables or Key Vault integration and suppress credential output. This would address a different situation, such as: An Azure Pipelines task group exposes a deployment secret as a plain variable and prints it during release. In the present case, the most directly relevant engineering action is: Optimize test partitions and concurrency to fit approved parallel job capacity. The crucial distinction is: Pipeline parallelism should match resource quotas and job critical paths.
C: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: Optimize test partitions and concurrency to fit approved parallel job capacity. The crucial distinction is: Pipeline parallelism should match resource quotas and job critical paths.
D:Include explicit succeeded dependencies in the custom promotion condition. This would address a different situation, such as: A post-deployment verification job runs even when staging tests fail because its condition overrides the default dependency check. In the present case, the most directly relevant engineering action is: Optimize test partitions and concurrency to fit approved parallel job capacity. The crucial distinction is: Pipeline parallelism should match resource quotas and job critical paths.
Question 822
The DevOps team must resolve this situation: Developers need consistent temporary test environments, but each manually provisions expensive subscriptions and forgets cleanup. Which engineering action is MOST appropriate?
- Run Bicep validation and reviewed security rules with blocking policy for critical findings.
- Create a governed scoped exemption with an owner and expiry or redesign for compliance.
- Publish approved Azure Deployment Environments definitions with scoped self-service and expiration.
- Use deterministic names and scope-aware existing resource references.
Explanation
Correct Answer
C:Publish approved Azure Deployment Environments definitions with scoped self-service and expiration. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A test environment creates approved resources and deprovisions under the policy. Self-service environment catalogs can standardize provisioning and lifecycle governance.
Incorrect Answers
A:Run Bicep validation and reviewed security rules with blocking policy for critical findings. This would address a different situation, such as: A Bicep pipeline deploys wildcard role assignments despite a known rule requiring narrowly scoped access. In the present case, the most directly relevant engineering action is: Publish approved Azure Deployment Environments definitions with scoped self-service and expiration. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.
B:Create a governed scoped exemption with an owner and expiry or redesign for compliance. 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 engineering action is: Publish approved Azure Deployment Environments definitions with scoped self-service and expiration. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.
D:Use deterministic names and scope-aware existing resource references. This would address a different situation, such as: A shared Bicep deployment creates a new Log Analytics workspace on each run due to non-deterministic resource names. In the present case, the most directly relevant engineering action is: Publish approved Azure Deployment Environments definitions with scoped self-service and expiration. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.
Question 823
The DevOps team must resolve this situation: A release manifest references an ACR latest tag that was replaced after QA approval. Which engineering action is MOST appropriate?
- Retain a protected previous release and automate monitored rollback upon failure.
- Use governed secret reference/rotation patterns with staged compatibility testing.
- Pin the approved image digest in deployment configuration and retain rollback versions.
- Deploy behind a disabled flag and enable for an approved targeted cohort after validation.
Explanation
Correct Answer
C:Pin the approved image digest in deployment configuration and retain rollback versions. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A later tag overwrite cannot change the image selected for this release. Deployments should reference the exact verified image digest or protected immutable tag.
Incorrect Answers
A:Retain a protected previous release and automate monitored rollback upon failure. This would address a different situation, such as: A release detects elevated errors but cannot roll back because the prior verified package was deleted. In the present case, the most directly relevant engineering action is: Pin the approved image digest in deployment configuration and retain rollback versions. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
B:Use governed secret reference/rotation patterns with staged compatibility testing. 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 engineering action is: Pin the approved image digest in deployment configuration and retain rollback versions. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
D:Deploy behind a disabled flag and enable for an approved targeted cohort after validation. This would address a different situation, such as: A half-finished payment feature accidentally activates immediately when its code merges into main. In the present case, the most directly relevant engineering action is: Pin the approved image digest in deployment configuration and retain rollback versions. The crucial distinction is: Deployments should reference the exact verified image digest or protected immutable tag.
Question 824
Before changing the pipeline or service, engineers find: Payment processing files require security review, but code owner review is only advisory. Which evidence should the engineer inspect FIRST?
- Inspect merge conflicts, feature activation requirements and current flag controls.
- Compare branch naming, workflow filters, release tags and production deployment records.
- Inspect merge strategy, generated commit IDs, pull request metadata and release manifest.
- Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges.
Explanation
Correct Answer
D:Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges. This directly checks the uncertain behavior or control before changing production. Sensitive paths should have enforced review by designated accountable owners. The resulting targeted action is: Enforce code owner approval for sensitive path changes in protected branches.
Incorrect Answers
A:Inspect merge conflicts, feature activation requirements and current flag controls. This would address a different situation, such as: A feature needs gradual rollout, but the team maintains a year-long divergent branch to hide unfinished functionality. In the present case, the most directly relevant evidence is: Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.
B:Compare branch naming, workflow filters, release tags and production deployment records. This would address a different situation, such as: Teams use dozens of release branches with ambiguous names, and automation often deploys the wrong branch. In the present case, the most directly relevant evidence is: Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.
C:Inspect merge strategy, generated commit IDs, pull request metadata and release manifest. This would address a different situation, such as: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. In the present case, the most directly relevant evidence is: Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.
Question 825
After implementing the change, the team verifies: AKS pods restart frequently but the team captures only the last running pod's console output. Which result would BEST demonstrate that the issue is corrected?
- A terminated pod's prior error and restart reason remain searchable.
- A slow payment request appears as a correlated downstream dependency span.
- A generated test event is queryable with the correct source and timestamp.
- A simulated failed blob operation is visible despite unchanged storage capacity.
Explanation
Correct Answer
A:A terminated pod's prior error and restart reason remain searchable. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Enable supported AKS container telemetry with resource labels and actionable alerts. Container observability should preserve workload logs and restart context centrally.
Incorrect Answers
B:A slow payment request appears as a correlated downstream dependency span. 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 verification is: A terminated pod's prior error and restart reason remain searchable. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.
C:A generated test event is queryable with the correct source and timestamp. 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 verification is: A terminated pod's prior error and restart reason remain searchable. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.
D:A simulated failed blob operation is visible despite unchanged storage capacity. This would address a different situation, such as: Blob transaction failures increase, but dashboards track only storage account capacity in bytes. In the present case, the most directly relevant verification is: A terminated pod's prior error and restart reason remain searchable. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.
Question 826
After implementing the change, the team verifies: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. Which result would BEST demonstrate that the issue is corrected?
- A controlled path disruption is visible with source/destination context.
- A slow payment request appears as a correlated downstream dependency span.
- An intentionally failed deployment reaches the active on-call team with run identity.
- A terminated pod's prior error and restart reason remain searchable.
Explanation
Correct Answer
C:An intentionally failed deployment reaches the active on-call team with run identity. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure monitored failure notifications and an actionable operations escalation path. Operational monitoring should route significant pipeline failures to accountable responders.
Incorrect Answers
A:A controlled path disruption is visible with source/destination context. 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 verification is: An intentionally failed deployment reaches the active on-call team with run identity. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
B:A slow payment request appears as a correlated downstream dependency span. 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 verification is: An intentionally failed deployment reaches the active on-call team with run identity. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
D:A terminated pod's prior error and restart reason remain searchable. 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 verification is: An intentionally failed deployment reaches the active on-call team with run identity. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.
Question 827
An Azure DevOps engineering team evaluates this condition: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. Which DevOps principle BEST explains the underlying weakness?
- Upstream sources can cache approved public dependencies through controlled feeds.
- Package feed roles should separate consumer, publisher and administrative permissions.
- Artifact promotion must bind deployment to the exact tested build.
- Artifact integrity requires immutable identity and reliable build-to-release linkage.
Explanation
Correct Answer
C:Artifact promotion must bind deployment to the exact tested build. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect source run IDs, artifact digests, release manifests and download task inputs. An appropriate controlled response is: Pin the release to the verified pipeline run and immutable artifact identifier.
Incorrect Answers
A:Upstream sources can cache approved public dependencies through controlled feeds. This would address a different situation, such as: A package feed cannot install vetted public dependencies during a disconnected corporate build unless developers manually copy files. In the present case, the most directly relevant principle is: Artifact promotion must bind deployment to the exact tested build. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
B: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: Artifact promotion must bind deployment to the exact tested build. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
D:Artifact integrity requires immutable identity and reliable build-to-release linkage. 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 principle is: Artifact promotion must bind deployment to the exact tested build. The crucial distinction is: Artifact promotion must bind deployment to the exact tested build.
Question 828
The DevOps team must resolve this situation: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. Which engineering action is MOST appropriate?
- Reference protected secrets via governed Key Vault/identity patterns without logging values.
- Provision short-lived sandbox environments through approved IaC with automatic expiration.
- Run governed drift detection and reconcile approved changes through IaC.
- Create a governed scoped exemption with an owner and expiry or redesign for compliance.
Explanation
Correct Answer
D:Create a governed scoped exemption with an owner and expiry or redesign for compliance. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Expired exemptions are surfaced and prohibited deployments resume enforcement. Policy exemptions need justified owner approval, scope and expiration.
Incorrect Answers
A:Reference protected secrets via governed Key Vault/identity patterns without logging values. This would address a different situation, such as: A Bicep parameter file stores database administrator passwords in plaintext committed to Git. In the present case, the most directly relevant engineering action is: Create a governed scoped exemption with an owner and expiry or redesign for compliance. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.
B:Provision short-lived sandbox environments through approved IaC with automatic expiration. 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 engineering action is: Create a governed scoped exemption with an owner and expiry or redesign for compliance. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.
C: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: Create a governed scoped exemption with an owner and expiry or redesign for compliance. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.
Question 829
Before changing the pipeline or service, engineers find: An Azure Pipelines task group exposes a deployment secret as a plain variable and prints it during release. Which evidence should the engineer inspect FIRST?
- Inspect YAML trigger filters, branch protections and deployment conditions.
- Review folder ownership, trigger patterns, dependency graph and missed commits.
- Inspect deployment jobs, environment references, resource checks and service connection access.
- Inspect task group inputs, variable classifications, log output and service permissions.
Explanation
Correct Answer
D:Inspect task group inputs, variable classifications, log output and service permissions. This directly checks the uncertain behavior or control before changing production. Reusable pipeline elements must preserve secret scoping and masking. The resulting targeted action is: Use protected secret variables or Key Vault integration and suppress credential output.
Incorrect Answers
A:Inspect YAML trigger filters, branch protections and deployment conditions. This would address a different situation, such as: A deployment pipeline runs on feature-branch pushes despite a policy requiring releases only from protected main. In the present case, the most directly relevant evidence is: Inspect task group inputs, variable classifications, log output and service permissions. The crucial distinction is: Reusable pipeline elements must preserve secret scoping and masking.
B:Review folder ownership, trigger patterns, dependency graph and missed commits. This would address a different situation, such as: A monorepo pipeline skips tests for a common authentication library because its paths filter only includes one service folder. In the present case, the most directly relevant evidence is: Inspect task group inputs, variable classifications, log output and service permissions. The crucial distinction is: Reusable pipeline elements must preserve secret scoping and masking.
C:Inspect deployment jobs, environment references, resource checks and service connection access. This would address a different situation, such as: A YAML pipeline references a production environment but deploys through an unprotected job that never uses the environment resource. In the present case, the most directly relevant evidence is: Inspect task group inputs, variable classifications, log output and service permissions. The crucial distinction is: Reusable pipeline elements must preserve secret scoping and masking.
Question 830
A Microsoft DevOps team is addressing: A low-volume payment failure disappears from diagnostic traces because sampling drops all relevant requests. Which TWO complementary actions should be taken? Select TWO answers.
- Adjust sampling and critical-event retention within approved performance and cost limits.
- Use a Kusto summarize query grouped by deployment version and appropriate time bins.
- Inspect sign-in records, principal IDs, resource IDs, times and failure causes.
- Inspect requests, dependencies, operation_Id values and time range.
- Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.
Explanation
Correct Answers
A:Adjust sampling and critical-event retention within approved performance and cost limits. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes. Together they address: Telemetry sampling strategy must preserve adequate signal for critical failures.
E:Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Adjust sampling and critical-event retention within approved performance and cost limits. Together they address: Telemetry sampling strategy must preserve adequate signal for critical failures.
Incorrect Answers
B:Use a Kusto summarize query grouped by deployment version and appropriate time bins. 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 (Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).
C:Inspect sign-in records, principal IDs, resource IDs, times and failure causes. 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 (Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).
D:Inspect requests, dependencies, operation_Id values and time range. This concerns a different DevOps situation: Application requests and dependency spans share an operation ID but engineers compare two unrelated totals instead of correlating affected calls. This case instead requires both a targeted investigation (Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).