0
0
GCPcloud~20 mins

Boot disk images in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Boot Disk Image Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
Boot Disk Image Selection Behavior

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?

AThe VM boots using the latest non-deprecated image from the specified image family.
BThe VM boots using the oldest image available in the image family.
CThe VM fails to boot because a specific image version is required.
DThe VM boots using a random image from the image family.
Attempts:
2 left
💡 Hint

Think about how GCP manages image families to keep instances updated.

Architecture
intermediate
2:00remaining
Custom Boot Disk Image Usage

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?

AUse the default public image and run a startup script to install software on each VM.
BManually install the software on each new VM after creation.
CCreate a custom image from a configured VM and specify this image as the boot disk for all new instances.
DCreate snapshots of the boot disk after each VM is created.
Attempts:
2 left
💡 Hint

Consider how to reuse a configured disk image efficiently across multiple VMs.

security
advanced
2:00remaining
Securing Boot Disk Images

Which practice best enhances security when using boot disk images in Google Cloud Platform?

AUse only public images without modification to avoid configuration errors.
BRegularly update custom images with security patches before creating new instances.
CDisable encryption on boot disks to improve performance.
DShare boot disk images publicly to allow community review.
Attempts:
2 left
💡 Hint

Think about how to keep your VM images safe from vulnerabilities.

Configuration
advanced
2:00remaining
Boot Disk Encryption Configuration

You want to create a VM instance with a boot disk encrypted using a customer-managed encryption key (CMEK). Which configuration step is required?

ASpecify the CMEK key resource in the disk encryption key field when creating the boot disk.
BEncrypt the boot disk manually after the VM instance is created.
CUse the default Google-managed encryption key and then switch to CMEK later.
DCreate the VM instance without encryption and enable CMEK in the instance settings.
Attempts:
2 left
💡 Hint

Consider how encryption keys are applied during disk creation.

Best Practice
expert
3:00remaining
Optimizing Boot Disk Image Management at Scale

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?

ACreate custom images separately in each project to avoid cross-project dependencies.
BUse only public images and configure each VM with startup scripts for software installation.
CManually update each VM instance's boot disk image individually when needed.
DMaintain a centralized custom image repository in a shared project and reference these images in all projects.
Attempts:
2 left
💡 Hint

Think about centralizing resources to improve consistency and ease management.