You have a development project with appropriate IAM roles defined. You are creating a production project and want to have the same IAM roles on the new project, using the fewest possible steps.
What should you do?
A . Use gcloud iam roles copy and specify the production project as the destination project.
B . Use gcloud iam roles copy and specify your organization as the destination organization.
C . In the Google Cloud Platform Console, use the ‘create role from role’ functionality.
D . In the Google Cloud Platform Console, use the ‘create role’ functionality and select all applicable
permissions.
Answer: A
Explanation:
Reference: https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy
To create a copy of an existing role spanner.databaseAdmin into a project with PROJECT_ID, run: gcloud iam roles copy –source="roles/spanner.databaseAdmin" — destination=CustomSpannerDbAdmin –dest-project=PROJECT_ID
Latest Associate Cloud Engineer Dumps Valid Version with 181 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund