Question 330
During an operational security assessment at a public-sector technology agency, the team documents this issue: An application works locally but its managed identity cannot access the downstream dependency. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Add integration tests against representative isolated service dependencies before release promotion, with predictable data setup and teardown. The action targets the recorded failure (An application works locally but its managed identity cannot access the downstream dependency), and is intended to reduce the corresponding risk: Unit tests can pass while service contracts, permissions and database compatibility fail in deployed environments.
Correct verification. A deliberately invalid service contract fails the integration gate and blocks production promotion. The measurement or controlled test provides evidence for the issue (An application works locally but its managed identity cannot access the downstream dependency) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Run required unit tests in Azure Pipelines before artifact publishing and propagate nonzero failure status to the pipeline result. The paired controls concern integration tests with controlled dependencies, not that measure.
Publish code coverage results from the test runner and enforce a focused policy for critical code without treating high percentages as proof of quality. The integration tests with controlled dependencies implementation and safeguard are still missing.
A representative peak workload crosses the agreed threshold and the release gate prevents promotion with measured evidence. The two-part integration tests with controlled dependencies control remains unsatisfied.