
Answer-first summary for fast verification
Answer: Create a project named 'devops1', enable the necessary APIs, and assign the project creator role to the service account. Then, use the command `gcloud deployment-manager deployments create -project devops1`.
The optimal approach involves creating a project named 'devops1', enabling the required APIs, and granting the project creator role (not the owner role) to the service account. The command syntax provided is correct for this scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with creating multiple projects for various teams within a folder named 'devops1' using Cloud Deployment Manager (DM). What is the most appropriate action to take? (Select One)
A
Create a project named 'devops1', enable the necessary APIs, and assign the project owner role to the service account. Then, use the command gcloud deployment-manager deployment create -project devops1.
B
This task cannot be accomplished with Cloud Deployment Manager. Consider using Terraform for better team support.
C
Create a project named 'devops1', enable the necessary APIs, and assign the organization role to the service account. Then, use the command gcloud deployment-manager deployments create new -project devops1.
D
Create a project named 'devops1', enable the necessary APIs, and assign the project creator role to the service account. Then, use the command gcloud deployment-manager deployments create -project devops1.
No comments yet.