Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 10 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 10
Topic #: 1
[All Associate Cloud Engineer Questions]

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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
coldpar
Highly Voted 4 years, 8 months ago
Correct Answer is A not B
upvoted 43 times
...
Agents89
Highly Voted 4 years, 6 months ago
Correct answer is A
upvoted 24 times
...
ChristN
Most Recent 2 months ago
Selected Answer: A
A could be possible if we were talking about organization in the question, But here, it's clearly specified "*project*" "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." from google doc: https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy EXAMPLES To create a copy of an existing role spanner.databaseAdmin into an organization with 1234567, run: gcloud iam roles copy --source="roles/spanner.databaseAdmin" --destination=CustomViewer --dest-organization=1234567 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
upvoted 4 times
...
Selected Answer: A
The correct answer is Option A. To create the same IAM roles in a production project as in a development project, using the fewest possible steps, you can use the gcloud iam roles copy command and specify the production project as the destination project. The `gcloud iam roles copy` command allows you to copy IAM roles between projects or organizations. By specifying the production project as the destination project, you can copy the IAM roles from the development project to the production project. Option B is incorrect because specifying your organization as the destination organization will copy the IAM roles to all projects within the organization, which is not what you want.
upvoted 9 times
...
YourCloudGuru
2 months ago
Selected Answer: A
The correct answer is A. Use gcloud iam roles copy and specify the production project as the destination project. The gcloud iam roles copy command copies a role from one project to another. To use this command, you will need to know the name of the role that you want to copy and the name of the destination project. For example, to copy the role roles/compute.instanceAdmin from the project my-dev-project to the project my-prod-project, you would run the following command: gcloud iam roles copy roles/compute.instanceAdmin my-dev-project my-prod-project This command will copy the role roles/compute.instanceAdmin to the project my-prod-project. The role will have the same permissions in the production project as it does in the development project.
upvoted 7 times
...
Amolbhombe
5 months, 2 weeks ago
Selected Answer: A
Correct answer is A
upvoted 3 times
...
sidobill
5 months, 2 weeks ago
Selected Answer: A
A is right. B will propagate for all projects, not desired as per case description
upvoted 2 times
...
subha.elumalai
6 months ago
Correct Answer: B Reference: https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy
upvoted 1 times
sidobill
5 months, 2 weeks ago
the exact same link shows A as right one. If you set dest org for it, it will inherint for all other projects.
upvoted 1 times
...
...
Tavi_14
10 months, 1 week ago
Selected Answer: A
A is correct answer
upvoted 1 times
...
qubrat
10 months, 2 weeks ago
Selected Answer: A
it's A
upvoted 1 times
...
nudiiiir
11 months ago
Selected Answer: A
A true
upvoted 1 times
...
thewalker
1 year ago
Selected Answer: A
A As per, https://cloud.google.com/sdk/gcloud/reference/iam/roles/copy
upvoted 2 times
...
BAofBK
1 year ago
The correct answer is A
upvoted 1 times
...
gsmasad
1 year ago
Selected Answer: A
Because the roles to be copied to a new project in the same organization
upvoted 1 times
...
guicane
1 year, 1 month ago
Selected Answer: A
A is correct
upvoted 2 times
...
Acielana
1 year, 1 month ago
Selected Answer: A
Correct answer is A
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Yes, A is the right answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...