You create a new Compute Engine VM instance in Google Cloud Platform and specify a boot disk image family instead of a specific image version. What happens when the instance boots?
Think about how GCP manages image families to keep instances updated.
When you specify an image family, GCP automatically selects the latest non-deprecated image from that family to boot the VM. This ensures your VM uses the most recent stable image.
You want to create multiple VM instances with a custom boot disk image that includes pre-installed software. Which approach is best to ensure all instances use this custom image?
Consider how to reuse a configured disk image efficiently across multiple VMs.
Creating a custom image from a configured VM allows you to reuse that image as the boot disk for multiple instances, ensuring consistency and saving setup time.
Which practice best enhances security when using boot disk images in Google Cloud Platform?
Think about how to keep your VM images safe from vulnerabilities.
Regularly updating custom images with security patches ensures that new instances start with the latest protections, reducing exposure to known vulnerabilities.
You want to create a VM instance with a boot disk encrypted using a customer-managed encryption key (CMEK). Which configuration step is required?
Consider how encryption keys are applied during disk creation.
To use CMEK for a boot disk, you must specify the customer-managed key during the disk creation process. This ensures the disk is encrypted with your key from the start.
Your organization manages hundreds of VM instances across multiple projects. You want to maintain consistent boot disk images and simplify updates. Which strategy best achieves this?
Think about centralizing resources to improve consistency and ease management.
Centralizing custom images in a shared project allows all projects to use the same trusted images, simplifying updates and ensuring consistency across the organization.