C or D depends on what exactly you mean by "verify users and roles". If you just want to see what custom roles exist, D works, but if the question means checking which users have which roles assigned (memberships), that's C. Are we talking about checking assignments or just listing available roles?
My pick: definitely A. gcloud iam roles copy is purpose-built for this and saves a ton of manual work, especially compared to clicking around the console. Pretty sure that's what Google expects for "fewest steps". Disagree?
I've seen practice questions suggest using the Console's 'create role from role' to quickly duplicate IAM roles. Most study guides mention this as a common method, though maybe not the absolute fewest steps. Anyone else use the exam guide for this?
Just to clarify, is the requirement specifically to move the existing app and its data, or just to deploy the same code in asia-northeast1? If actual migration is needed, that could impact whether D is still the best solution or if additional steps would be required.
Had something like this in a mock before and chose A. I thought custom roles were better for security since you can specifically control what permissions are granted, even if just view-only. Might be overthinking it but custom seems safer to me than default roles. Anyone else prefer option A?
Honestly wish Google made these roles less confusing. I picked A since I thought a custom view-only role would be safer, but it’s probably overkill for basic audit needs. Let me know if I’m missing something obvious.
I’m not sure C is correct here. gsutil doesn’t manage compute, so B is out. D seems manual, and C just says “go to Cloud Shell” but doesn’t specify listing by project or automation. I think A is better since you can script switching projects with gcloud configs, but maybe I’m missing something?
Pretty sure it's C. You need to allow ingress not egress for the clients to reach the server, and a firewall rule tied to a network tag is the way to go. Anyone else seen this setup in GCP docs?
roles/accessapproval.approver is exactly what lets SREs approve support access requests, so putting them in a group and assigning that role matches best practice. Pretty sure that's the safest route.