CV0-002 · Question #285
A cloud deployment engineer is modifying versions of the existing template image to instantiate new VMs. The engineer accomplishes this through the cloud self-service portal. After the version is chan
The correct answer is D. Assign new IPs to the newly created VMs by changing and running the deployment template; and. The problem indicates a newly started VM from a modified template lacks network connectivity, suggesting an issue with its IP configuration derived from the deployment process.
Question
A cloud deployment engineer is modifying versions of the existing template image to instantiate new VMs. The engineer accomplishes this through the cloud self-service portal. After the version is changed and a new VM is successfully started, it does not have any connectivity, and all ping tests to other VMs fail. Which of the following would be the BEST approach to solve the problem?
Options
- AStart the console session to the VM; check network static routes; test the ping to default gateway
- BDelete the VM; create a new flavor; turn on network service; add the new image to the template
- CDelete the VM; check the IP assignment and planning; modify configuration in the deployment
- DAssign new IPs to the newly created VMs by changing and running the deployment template; and
How the community answered
(61 responses)- A15% (9)
- B8% (5)
- C30% (18)
- D48% (29)
Why each option
The problem indicates a newly started VM from a modified template lacks network connectivity, suggesting an issue with its IP configuration derived from the deployment process.
Checking static routes and pinging the default gateway are troubleshooting steps performed on an existing VM, but they do not address the underlying issue of why the VM received faulty or no IP configuration during its creation from the modified template.
Deleting the VM, creating a new flavor, turning on network service (which should be on), and adding a new image to the template does not specifically target the IP assignment problem that caused the lack of connectivity.
While deleting the VM and checking IP assignment planning is a good diagnostic step, 'modify configuration in the deployment' is too vague and doesn't specify how the IP issue will be resolved, unlike explicitly modifying the deployment template to assign new IPs.
Assigning new IPs by modifying and running the deployment template is the most direct solution, as it addresses the root cause of network connectivity issues that arise when new VMs are provisioned from a modified image without proper IP configuration. If the template was modified, the IP assignment mechanism might be broken for new deployments, requiring a template update to correctly configure networking.
Concept tested: VM network configuration and template management
Source: https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview
Topics
Community Discussion
No community discussion yet for this question.