Question 190
A VM deployment succeeds but its Custom Script Extension reports failed status. The script downloads from a private endpoint that the VM cannot resolve. What should be investigated?
Explanation
Correct Answer
Extension execution occurs in the guest and depends on its network and permissions. A successful VM resource creation does not guarantee the bootstrap task succeeded.
Incorrect Answers
A longer timeout cannot resolve a private endpoint hostname that the guest cannot resolve. VM-side DNS and network access should be checked.
Template validation and resource creation do not prove the extension can resolve and reach its private endpoint in the guest OS.
Resource-group placement does not correct guest DNS or routing for a custom script download.