An enterprise database team plans to execute a long-running, non-fault-tolerant database schema migration on Google Cloud Compute Engine. The job requires 12 hours of uninterrupted processing and cannot withstand instance termination or preemption mid-execution. Additionally, administrative access for the operational team responsible for starting, stopping, and maintaining these instances must adhere strictly to the principle of least privilege. Which configuration strategy should the Cloud Engineer implement to meet these requirements following Google-recommended best practices?
- Provision the workload using standard (non-Spot) Compute Engine VM instances, and assign the administrative team the predefined Compute Instance Admin (v1) role (roles/compute.instanceAdmin.v1) on the target project.Cevap
- BProvision the workload using Spot Compute Engine VM instances with automatic restart enabled, and assign the administrative team the predefined Compute Instance Admin (v1) role (roles/compute.instanceAdmin.v1) on the target project.
- CProvision the workload using standard (non-Spot) Compute Engine VM instances, and assign the administrative team the primitive Editor role (roles/editor) on the target project.
- DProvision the workload using Spot Compute Engine VM instances across multiple regions simultaneously to bypass regional quota limitations, and assign the administrative team the primitive Owner role (roles/owner).
Cevap
Provision the workload using standard (non-Spot) Compute Engine VM instances, and assign the administrative team the predefined Compute Instance Admin (v1) role (roles/compute.instanceAdmin.v1) on the target project.
Standard Compute Engine VM instances guarantee uninterrupted execution required for non-fault-tolerant, long-running database migrations. Pairing standard instances with the predefined Compute Instance Admin (v1) role (`roles/compute.instanceAdmin.v1`) ensures that operators possess all necessary instance management permissions without exposing unrelated project services.
Adım Adım Çözüm
Anahtar Kavram
Compute Engine Lifecycle Management and IAM Least Privilege
Tahmini Süre:2m 0s