AZ400-Q: prevent temporary environment cost leakage

On-demand test environments are created from templates but are rarely deleted. Cloud cost is increasing. What is the best improvement?

  • A) Stop using infrastructure as code.
  • B) Add ownership, expiration/automatic cleanup, cost tags/budgets, and lifecycle checks to the environment provisioning process. ✓
  • C) Give every developer subscription Owner.
  • D) Hide the cost reports.

Answer: B. Self-service environments need explicit lifecycle governance so their convenience does not become unmanaged spend.

Why not the others: Removing IaC/broadening privileges/hiding data does not solve orphaned resources.

azure-deployment-environments · infrastructure-as-code · azure-cost-management