ASSOCIATE-CLOUD-ENGINEER · Question #3
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…
The correct answer is A. Use gcloud iam roles copy and specify the production project as the destination project. Cloud SDK gcloud iam roles copy can be used to copy the roles to different organization or project.Refer GCP documentation - Cloud SDK IAM Copy Rolegcloud iam roles copy - create a role from an existing role--dest-organization=DEST_ORGANIZATION (The organization of the…
Question
Options
- AUse gcloud iam roles copy and specify the production project as the destination project.
- BUse gcloud iam roles copy and specify your organization as the destination organization.
- CIn the Google Cloud Platform Console, use the `create role from role' functionality.
- DIn the Google Cloud Platform Console, use the `create role' functionality and select all applicable
How the community answered
(26 responses)- A88% (23)
- C4% (1)
- D8% (2)
Explanation
Cloud SDK gcloud iam roles copy can be used to copy the roles to different organization or project.Refer GCP documentation - Cloud SDK IAM Copy Rolegcloud iam roles copy - create a role from an existing role--dest-organization=DEST_ORGANIZATION (The organization of the destination role)--dest-project=DEST_PROJECT (The project of the destination role).
Topics
Community Discussion
No community discussion yet for this question.