Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with flashcards and multiple choice questions. Each question includes hints and explanations to help you study effectively. Get ready to pass your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


You've setup and tested several custom roles in your development project. What is the fastest way to create the same roles for your new production project?

  1. Recreate them in the new project.

  2. Use the gcloud iam copy roles command and set the destination project.

  3. In the UI, select the roles and click the Export button.

  4. Use the gcloud iam roles copy command and set the destination project.

The correct answer is: Use the gcloud iam roles copy command and set the destination project.

The fastest way to create the same custom roles for a new production project would be to use the gcloud iam roles copy command and set the destination project. This option avoids the need to manually recreate each individual custom role and ensures that they are accurately replicated in the new project. Option A requires re-doing all the work from scratch, while option B is a gcloud command that copies the predefined roles, not the custom roles that have been specifically created for the development project. Option C, using the UI's export button, may only work for predefined roles and will not be an efficient method for copying custom roles.