
Explanation:
The optimal approach involves assigning the project creator role (not owner) to a service account. The command syntax provided is accurate for this scenario.
Ultimate access to all questions.
No comments yet.
You are tasked with creating multiple projects for various teams using Cloud Deployment Manager (DM) within a folder named 'devops1'. What is the most appropriate action to take?
A
This task cannot be accomplished with Cloud Deployment Manager. Consider using Terraform for better team support.
B
Initialize a project titled 'devops1', activate the necessary APIs, assign the project owner role to the service account, and execute the command gcloud deployment-manager deployment create -project devops1.
C
Set up a project named 'devops1', enable the required APIs, grant the organization role to the service account, and use the command gcloud deployment-manager deployments create new -project devops1.
D
Establish a project called 'devops1', enable the relevant APIs, provide the project creator role to the service account, and run the command gcloud deployment-manager.