AZ104-Q: install software during VM deployment
An ARM/Bicep deployment must install and run a bootstrap script on a new VM. Which feature should it use?
- A) A resource lock.
- B) A storage lifecycle rule.
- C) An Azure Policy tag effect.
- D) A supported VM extension such as Custom Script Extension. ✓ Answer: D. VM extensions perform post-deployment configuration on a VM. Why not the others: The other features govern resources or data, not guest configuration.