A cloud engineer is configuring an automated script using the Google Cloud CLI (gcloud) to provision worker virtual machines on Compute Engine for batch data processing. The deployment must fulfill three strict technical requirements:
1. The VM instances must be provisioned as Spot VMs to optimize infrastructure cost.
2. The instances must execute a startup script stored in a Cloud Storage bucket at gs://prod-initializer-bucket/setup.sh upon initial boot.
3. The instances must be configured with a user-managed service account named [email protected] without relying on legacy default compute service account permissions.
Which TWO gcloud compute instances create flag options must be included in the command to correctly satisfy these requirements?
- --provisioning-model=SPOT --instance-termination-action=STOPCevap
- --metadata=startup-script-url=gs://prod-initializer-bucket/setup.shCevap
- C--scopes=roles/editor [email protected]
- D--startup-script=gs://prod-initializer-bucket/setup.sh --maintenance-policy=MIGRATE