Question 640
During an operational security assessment at a public-sector technology agency, the team documents this issue: Two applications maintain duplicate resource templates that diverge after a security change. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Select TWO: one corrective action and one test that confirms its effectiveness. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Use source-controlled Bicep modules with parameterized environments, static validation and a reviewed deployment preview before applying resources. The action targets the recorded failure (Two applications maintain duplicate resource templates that diverge after a security change), and is intended to reduce the corresponding risk: Manual portal edits and copy-pasted templates cause unpredictable configuration across subscriptions and regions.
Correct verification. The same reviewed Bicep commit produces intended resource configurations in test and production with documented parameter differences. The measurement or controlled test provides evidence for the issue (Two applications maintain duplicate resource templates that diverge after a security change) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Publish reusable Bicep modules in a controlled registry and pin reviewed versions in consuming infrastructure definitions. The bicep declarative resource templates implementation and safeguard are still missing.
The preview identifies a deliberately destructive resource change and the protected promotion gate prevents unapproved execution. It is not the complementary risk control for bicep declarative resource templates.
Separate resource provisioning from guest-configuration management using appropriate Bicep or ARM resources and Azure Machine Configuration or equivalent tools. The two-part bicep declarative resource templates control remains unsatisfied.